Cov txheej txheem:
- Kauj Ruam 1: Cov Ntsiab Lus Teev Npe rau HackerBox 0043
- Kauj Ruam 2: Mus Txoj Cai Los Ntawm Falken's Maze
- Kauj Ruam 3: ESP32-CAM Wiring Modes
- Kauj Ruam 4: ESP32-CAM Webcam Streaming Server
- Kauj Ruam 5: Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 6: Cov Khoom Siv WOPR Cov Ntawv Cim
- Kauj Ruam 7: Cov Khoom Siv WOPR Cov Ntawv Cim
- Kauj Ruam 8: Micro Servo Pan-Tilt Assembly
- Kauj Ruam 9: Livin 'HackLife
Video: HackerBox 0043: Falken's Maze: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txais tos rau HackerBox Hackers thoob ntiaj teb! HackerBox 0043 coj peb tso rau hauv webcam streaming, cov khoom siv hluav taws xob, micro servo pan-tilt sib dhos, thiab ntau ntxiv. Cov Lus Qhia no muaj cov ntaub ntawv txhawm rau pib nrog HackerBox 0043, uas tuaj yeem yuav ntawm no thaum cov khoom siv kawg. Yog tias koj xav tau txais HackerBox zoo li txoj cai no hauv koj lub mailbox txhua lub hlis, thov sau npe ntawm HackerBoxes.com thiab koom nrog kev hloov pauv!
Cov Ntsiab Lus thiab Kawm Lub Hom Phiaj rau HackerBox 0043:
- Kho ESP32-CAM rau Arduino IDE
- Program Webcam Demo rau ESP32-CAM
- Ntsuas Cov Khoom Siv Hluav Taws Xob
- Sib sau ib qho Analog LED Cycling Badge
- Tshawb Micro Servos thiab Pan-Tilt Assemblies
HackerBoxes yog lub npov pabcuam txhua hli rau kev txaus siab rau cov khoom siv hluav taws xob thiab khoos phis tawj thev naus laus zis - Cov Khoom Siv Hluav Taws Xob - Cov neeg npau suav npau suav.
HACK THE PLANET
Kauj Ruam 1: Cov Ntsiab Lus Teev Npe rau HackerBox 0043
- ESP32-CAM Module
- Arduino Nano 5V 16Mhz
- Pan-Tilt Assembly nrog Dual Micro Servos
- FT232RL USB Serial Adapter Module
- USB 5V thiab 3.3V Power Module
- Cov Khoom Siv Hluav Taws Xob
- WOPR Cov Ntawv Cim - Cov Khoom Siv Solder
- Ob CR2032 Lithium Npib Cells
- Cov Me Nyuam Me Me Tsis Taus Breadboard
- Poj Niam-Poj Niam DuPont Jumpers
- MiniUSB Cable
- Java Decal
- Tshwj xeeb HackerBoxes Falken's Maze Game
- Tshwj xeeb WarGames Inspired Decal
Qee qhov lwm yam uas yuav pab tau:
- Soldering hlau, cov laug, thiab cov cuab yeej siv yooj yim
- Khoos phis tawj rau khiav cov cuab yeej software
Qhov tseem ceeb tshaj plaws, koj yuav xav tau kev nkag siab ntawm kev taug txuj kev nyuaj, hacker lub siab, ua siab ntev, thiab xav paub ntxiv. Tsim thiab sim nrog cov khoom siv hluav taws xob, thaum muaj txiaj ntsig zoo, tuaj yeem ua qhov nyuaj, nyuaj, thiab txawm tias ua rau lub sijhawm nyuaj. Lub hom phiaj yog kev vam meej, tsis yog kev ua tiav. Thaum koj mob siab rau thiab txaus siab rau txoj kev taug txuj kev nyuaj, kev txaus siab ntau tuaj yeem muab los ntawm txoj haujlwm no. Ua txhua kauj ruam qeeb, mloog cov ntsiab lus, thiab tsis txhob ntshai thov kev pab.
Muaj cov ntaub ntawv muaj txiaj ntsig zoo rau cov tswv cuab tam sim no thiab yav tom ntej hauv HackerBoxes FAQ. Yuav luag txhua qhov tsis yog-kev txhawb nqa email uas peb tau txais twb tau teb rau ntawd, yog li peb zoo siab heev uas koj tau siv ob peb feeb los nyeem FAQ.
Kauj Ruam 2: Mus Txoj Cai Los Ntawm Falken's Maze
Falken's Maze: Game Theory, Computer Science, thiab Cold War Inspirations for WarGames
"Ib qho kev ua si coj txawv txawv. Tsuas yog kev txav mus los tsis yog ua si. Yuav ua li cas txog kev ua si zoo ntawm chess?"
-1983 Movie WarGames
Kauj Ruam 3: ESP32-CAM Wiring Modes
ESP32-CAM module sib xyaw ESP32-S Module, lub koob yees duab OV2640, daim npav microSD daim npav, LED nyem, thiab ntau I/O pins. ESP32-CAM tso cai rau koj teeb tsa cov vis dis aus wireless, muab lub vev xaib sib cuam tshuam rau server, sib txuas lub koob yees duab wireless rau hauv koj lub tsev siv tshuab, ua lub ntsej muag pom/paub, thiab ntau ntxiv.
Txhim Kho Lub Koob Yees Duab: Lub koob yees duab txuas ntawm ESP32 yog lub qhov dawb nrog lub ntsej muag xim av lossis xim dub nyob ntawm ntug. Qhov tsaus nti hinges nqis deb ntawm PCB mus rau qhov dawb ntawm qhov txuas. Thaum qhib, qhov txuas txuas tau ntxig rau hauv lub qhov dawb nrog lub lens tig tawm. Thaum kawg, qhov tsaus nti tau nyem rov qab rau hauv qhov txuas. Nco ntsoov tias lub lens muaj daim ntawv npog tiv thaiv tshaj li tuaj yeem tev tawm ua ntej siv.
PROGRAMMING MODE
Txhawm rau ua haujlwm ESP32-CAM, xaim FT232RL USB Serial Adapter raws li qhia. Nco ntsoov teeb lub hwj chim jumper ntawm FT232RL USB Serial Adapter rau 3.3V. Qhov luv ntawm IO0 thiab GND pins tau siv los tso ESP32 rau hauv hom haujlwm. Cov hlau no tuaj yeem raug tshem tawm kom tso cai rau ESP32 kom khau raj rau hauv hom kev ua tiav.
WEBCAM MODE
Ib zaug ua haujlwm, ESP32-CAM tsuas yog xav kom muaj 5V thiab GND txuas nrog. USB Lub Hwj Huam Siv Hluav Taws Xob tuaj yeem siv lossis lwm yam 5V cov khoom siv muaj peev xwm muab tam sim no txaus.
KEV SIB THAM SIB THAM
Txhawm rau khiav ESP32-CAM thaum tseem txuas nrog USB (piv txwv li, txhawm rau saib cov ntawv tso tawm saib) tsuas yog txuas ob qho ntawm cov qauv raws li pom ntawm no tib lub sijhawm, tab sis tom qab ntawd tshem IO0 hauv av thaum kev ua haujlwm tiav. Qhov no yuav tso cai rau ESP32 kom ua tiav thiab siv USB/txuas txuas nrog thaum tseem muab tam sim no txaus los ntawm 5V tus pin kom muaj zog ESP32. Yog tsis muaj 5V muab, 3.3V cov zis ntawm FT232RL yuav tsis muaj zog ESP32 thiab "brownout" tsis ua tiav cov lus nrog tshwm sim.
Kauj Ruam 4: ESP32-CAM Webcam Streaming Server
- Xyuas kom tseeb FT232RL module lub hwj chim jumper tau teeb tsa rau 3.3V
- Yog tias tsis tau teeb tsa, rub Arduino IDE
- Ua raws li Cov Lus Qhia Txhim Kho rau ESP32 Arduino IDE Pawg Txhawb Nqa Pob
- Hauv IDE Cov Cuab Yeej, teeb tsa Pawg Thawj Coj rau ESP32 Wrover Module
- Hauv IDE Cov Cuab Yeej, teeb tsa Txoj Haujlwm Muab faib rau Loj APP
- Hauv IDE Cov Cuab Yeej, teeb Chaw Nkag mus rau FT232RL USB Serial Adapter
- Hauv IDE Cov Ntaub Ntawv, qhib Piv txwv> ESP32> Lub Koob Yees Duab> CameraWebServer
- Hloov lub koob yees duab qauv #define rau "CAMERA_MODEL_AI_THINKER"
- Hloov SSID thiab Password hlua kom phim koj lub network WiFi
- Sau thiab xa cov piv txwv hloov pauv
- Tshem tawm IO0 jumper
- Paub meej tias 5V cov khoom siv tseem txuas nrog lossis ESP32 tuaj yeem "brownout"
- Qhib Serial Monitor (115200 baud)
- Ntaus lub pob pib dua ntawm ESP32-CAM module
- Luam tus IP chaw nyob los ntawm Serial Monitor output
- Muab tus IP chaw nyob rau hauv koj lub web browser
- ESP32-CAM webcam interface yuav tsum tso tawm
- Nyem rau "Start Stream" khawm hauv webcam interface
Kauj Ruam 5: Cov Khoom Siv Hluav Taws Xob
Lub capacitor ceramic yog lub tsub nqi muaj txiaj ntsig qhov twg cov khoom siv ceramic ua raws li dielectric. Nws yog tsim los ntawm ob lossis ntau txheej sib pauv ntawm cov nplais thiab txheej hlau ua raws li cov hluav taws xob. Qhov muaj pes tsawg leeg ntawm cov khoom siv ceramic piav qhia tus cwj pwm hluav taws xob ntawm lub capacitor. (Wikipedia)
Lub hauv paus Circuit Court muaj kev sib tham muaj txiaj ntsig suav nrog kev ntsuas lub peev xwm suav nrog qee qhov piv txwv ntawm kev ntsuas lub peev xwm siv Arduino kho vajtse thiab cov haujlwm. Ntshe nqes mus rau ntu nqe lus "CAPACITANCE METER FOR 470 UF TO 18 PF CAPACITORS" rau qhov kev qhia ua piv txwv uas tuaj yeem siv nrog hom ntawm cov khoom siv hluav taws xob hauv cov Khoom Siv Ceramic Capacitor. Thaum cov duab piav qhia txog Arduino UNO, kev siv Arduino Nano tuaj yeem siv tau ib yam. Tom qab teeb tsa Arduino IDE rau program Arduino Nano, yooj yim muab tshuaj txhuam rau hauv "THE CODE FOR SERIAL MONITOR OUTPUT" los ntawm nplooj ntawv txuas mus rau hauv IDE thiab suav sau/rub tawm cov ntawv tso rau hauv Nano.
Yog xav paub ntxiv txog kev teeb tsa thiab teeb tsa program Arduino Nano, saib hauv phau ntawv qhia online rau HackerBoxes Starter Rhiav.
Kauj Ruam 6: Cov Khoom Siv WOPR Cov Ntawv Cim
Cov cim WOPR no muaj kaum yim LEDs nrog rau xim-caij tsheb kauj vab tswj tau los ntawm analog capacitor-timed oscillators. Cov piv txwv ua ntej HackerBox tau siv hom kev sib piv zoo li no rau cov teeb pom kev zoo sib xws LED. Tus qauv tsim ua rau peb nco tias microcontrollers, ntau npaum li peb hlub lawv, tsis tas yuav tsum tau txais cov txiaj ntsig nthuav. Lub rooj sibtham ua tiav ntawm lub rooj sibtham yuav raug hnav raws li lub ntsej muag ntsais muag LED.
Cov Ntsiab Lus:
- Kev cai WOPR Luam Circuit Board
- Ob CR2032 Npib Cell Clips
- Rau Liab 3mm LEDs
- Rau Txiv Kab ntxwv 3mm LEDs
- Rau Ntsuab 3mm LEDs
- Peb 9014 NPN Transistors
- Peb 22uF Capacitors
- Peb 1K ohm Resistors (xim av-dub-liab)
- Peb 10K ohm Resistors (xim av-dub-txiv kab ntxwv)
- Swb Hloov
- Ob Txoj Kev Sib Nrauj
Tus qauv tsim muaj peb qhov sib txawv oscillators los tswj LED xim-caij tsheb kauj vab. Txhua ntawm 10K resistors thiab 22uF capacitors tsim ib qho RC oscillator uas ib txwm thawb cov cuam tshuam cuam tshuam rau. Peb lub RC oscillators tau muab tso rau hauv cov saw kom lawv caij tsheb kauj vab tawm ntawm theem uas ua rau qhov ntsais muag pom tshwm nyob ib puag ncig ntawm lub rooj tsavxwm. Thaum lub transistor yog "ntawm" tam sim no dhau los ntawm nws lub txhab nyiaj ntawm 6 LEDs thiab lawv 1K tam sim no txwv kev tiv thaiv ua rau lub txhab nyiaj ntawm 6 LEDs ntsais muag.
Qhov piv txwv no suav nrog kev piav qhia zoo ntawm qhov kev xav sib piv oscillator siv ib qib (ib qho oscillator thiab ib qho transistor).
Kauj Ruam 7: Cov Khoom Siv WOPR Cov Ntawv Cim
YUAV TSUM MUAJ LUS QHUAB QHIA TXOG QHOV TSEEB QHIA QHOV TSEEB: Cov cim npe zoo tshaj plaws thaum sib sau ua ke nrog cov khoom sib dhos dhau ntawm "sab xub ntiag" ntawm PCB qhov chaw ua haujlwm ntawm WOPR tau nthuav tawm. Txawm li cas los xij, cov ntsiab lus piav qhia nyob ntawm sab nraub qaum thiab cov no hais txog kev qhia kom raug ntawm cov khoom. Qhov no tuaj yeem cuam tshuam tshwj xeeb txog kev xav txog TO-92 transistors, uas yuav tsum tau muab tso los ntawm sab xub ntiag ntawm PCB nrog cov tiaj tiaj tig mus rau sab saud, uas yog tig los ntawm qhov xav tau yog tias tso los ntawm sab nraum qab ntawm PCB. TO-92 transistors kuj tseem tuaj yeem tso nrog lub tiaj tiaj tiv thaiv PCB pem hauv ntej raws li qhia hauv qhov piv txwv.
Nco ntsoov tias muaj ob qhov sib txawv qhov tseem ceeb ntawm resistors. Lawv tsis hloov pauv tau. Resistors tsis polarized. Tej zaum lawv yuav muab tso rau hauv ob qho tib si.
Nco ntsoov tias muaj peb "txhab nyiaj" ntawm LEDs D1-D6, D7-D12, thiab D13-D18. Txhua lub txhab nyiaj yuav tsum yog ib qho xim txhawm rau sib npaug qhov thauj khoom tam sim no thiab tseem rau qhov ua kom pom kev zoo. Piv txwv li, LEDs D1-D6 tuaj yeem yog (R) ED, D7-D12 txhua (G) REEN, thiab D13-D18 txhua (O) RANGE.
Cov capacitors yog polarized. Nco tseg qhov "+" ua ntawm PCB silkscreen. Lub cim "-" cim (thiab tus lej luv) ntawm lub capacitor yuav tsum tau muab tso rau hauv lwm qhov.
Cov LEDs tseem muaj qhov sib txawv. Nco tseg lub tiaj tiaj ntawm LED pom ntawm PCB silkscreen. Tus pin luv (cathode lossis cov hlau tsis zoo) ntawm LED yuav tsum nyob hauv lub qhov ze rau "sab tiaj" ntawm LED silkscreen.
Tag nrho tin tag nrho peb daim ntaub rau txhua qhov ntawm cov npib cell clips nrog cov laug. Txawm hais tias tsis muaj dab tsi los pauv mus rau hauv nruab nrab cov pawm, tinning pab tsim lub ncoo kom ntseeg tau tias muaj kev sib cuag tau zoo rau cov xov tooj ntawm tes.
Tom qab siv cov laug, ua haujlwm hloov pauv ob peb zaug kom tshem tawm cov kev sib cuag ntawm cov khib nyiab lossis oxidation.
Saib xyuas kom tsis txhob luv ob daim npib ntawm tes sib dhos ua ke thaum daim npav WOPR tau hnav.
Kauj Ruam 8: Micro Servo Pan-Tilt Assembly
Lub Rooj Sib Tham Yias-Tilt muaj ob lub micro servos, plaub lub tshuab yas yas ua pwm, thiab ntau yam kho vajtse. Lub rooj sib txoos tuaj yeem yuav los ntawm Adafruit qhov twg koj tseem tuaj yeem pom cov lus qhia zoo qhia txog kev sib dhos ua haujlwm li cas.
Arduino Servo Library tuaj yeem siv los tswj ib qho ntawm micro servos rau yias lub rooj sib txoos nyob ib puag ncig nws lub hauv paus thiab lwm lub micro servo kom qaij lub rooj sib txoos nce thiab nqis. Cov Lus Qhia no muab cov piv txwv ntxaws ntxaws rau muab ob lub servos siv Arduino code.
Pan-Tilt Assembly tuaj yeem siv los teeb tsa cov lus qhia, lasers, teeb, koob yees duab, lossis tsuas yog hais txog dab tsi. Raws li ib txwm, cia peb pom qhov koj tuaj nrog!
Ib qho kev sib tw nthuav, yog tias koj tab tom ua rau nws, yog ntxiv ob qhov kev tswj swb (yias thiab qaij) rau lub vev xaib sib tham ntawm "CameraWebCamera" piv txwv uas thawb txoj haujlwm tsis mus rau ESP32-CAM firmware uas ua rau teev ob qhov kev pabcuam tso lub webcam thaum tso tawm.
Kauj Ruam 9: Livin 'HackLife
Peb cia siab tias koj tau txaus siab rau lub hlis no lub voyage mus rau hluav taws xob thiab khoos phis tawj thev naus laus zis. Mus txog thiab qhia koj qhov kev vam meej hauv cov lus hauv qab no lossis ntawm HackerBoxes Facebook Group. Muaj tseeb qhia rau peb paub yog tias koj muaj lus nug lossis xav tau kev pab nrog dab tsi.
Koom nrog kev hloov pauv. Ua neej nyob HackLife. Koj tuaj yeem tau txais lub thawv txias ntawm hackable electronics thiab khoos phis tawj thev naus laus zis xa mus rau koj lub thawv ntawv txhua lub hlis. Tsuas yog nthwv hla mus rau HackerBoxes.com thiab sau npe yuav cov kev pabcuam HackerBox txhua hli.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
Arduino Pocket Game Console + A -Maze - Maze Game: 6 Cov Kauj Ruam (nrog Duab)
Arduino Pocket Game Console + A -Maze - Maze Game: Zoo siab txais tos rau kuv thawj qhov kev qhia! Txoj haujlwm kuv xav qhia rau koj hnub no yog Arduino tshawb nrhiav game, uas dhau los ua lub hnab ntim khoom muaj peev xwm zoo li Arduboy thiab zoo ib yam li Arduino raws cov khoom siv. Nws tuaj yeem ua rau pom nrog kuv (lossis koj) kev ua si yav tom ntej ua tsaug rau nthuav tawm