Cov txheej txheem:
- Kauj Ruam 1: Cov Ntsiab Lus Teev Npe rau HackerBox 0053
- Kauj ruam 2: Arduino UNO
- Kauj Ruam 3: Full Color TFT LCD 480x320 Touch Screen
- Kauj Ruam 4: Xim Sensor Module
- Kauj Ruam 5: Kev Tshawb Fawb Ntau Arduino Kev Tshawb Fawb
- Kauj Ruam 6: Kev Txhuam Txhuam Txhuam Txhuam: LED Chaser
- Kauj Ruam 7: Neural Network yog dab tsi?
Video: HackerBox 0053: Chromalux: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Txais tos rau HackerBox Hackers thoob ntiaj teb! HackerBox 0053 tshawb nrhiav xim thiab lub teeb. Kho lub Arduino UNO microcontroller board thiab IDE cov cuab yeej. Txuas tag nrho cov xim 3.5 nti LCD Arduino Shield nrog lub ntsej muag nkag mus nkag thiab tshawb pom kov cov xim ua qauv qhia. Xaim lub I2C xim xim txhawm rau txheeb xyuas qhov feem cuam tshuam ntawm lub teeb pom kev zoo, tso saib cov xim ntawm qhov chaw nyob LEDs, muab tshuaj txhuam los tiv thaiv Arduino prototyping daim thaiv, thiab tshawb xyuas ntau yam ntawm cov tswv yim/cov khoom siv uas siv ntau yam Arduino Kev Tshawb Fawb Kev Tshawb Fawb. Hone koj qhov saum toj ntawm kev txawj ntse nrog LED Chaser PCB. Ua tib zoo saib ua ntej rau cov cuab yeej siv neural network thev naus laus zis thiab kawm tob.
Phau ntawv qhia no muaj cov ntaub ntawv rau pib nrog HackerBox 0053, 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!
HackerBoxes yog lub npov muab nyiaj pabcuam txhua lub hlis rau cov khoom siv nyiag nkas thiab nyiam cov khoom siv hluav taws xob thiab tshuab computer. Koom nrog peb thiab ua neej nyob HACK.
Kauj Ruam 1: Cov Ntsiab Lus Teev Npe rau HackerBox 0053
- TFT Display Shield 3.5 nti 480x320
- Arduino UNO Mega382P nrog MicroUSB
- Xim Sensor Module GY-33 TCS34725
- Multifunction Experiment Shield rau Arduino UNO
- OLED 0.96 nti I2C 128x64
- Tsib 8mm Hloov Chaw Nyob RGB LEDs
- Arduino Prototype PCB Shield nrog Pins
- LED Chaser Surface Mount Soldering Kit
- Tus txiv neej nyob hauv Nruab Nrab Hacker Sticker
- Hacker Manifesto Sticker
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: Arduino UNO
Qhov Arduino UNO R3 no yog tsim los siv yooj yim hauv siab. Lub MicroUSB interface chaw nres nkoj tau sib xws nrog tib lub MicroUSB cables siv nrog ntau lub xov tooj ntawm tes thiab ntsiav tshuaj.
Kev qhia tshwj xeeb:
- Microcontroller: ATmega328P (cov ntawv)
- USB Serial Choj: CH340G (tsav tsheb)
- Ua haujlwm voltage: 5V
- Cov tswv yim hluav taws xob (pom zoo): 7-12V
- Cov tswv yim hluav taws xob (txwv): 6-20V
- Digital I/O pins: 14 (ntawm uas 6 muab PWM tso tawm)
- Analog input pins: 6
- DC tam sim no rau I/O Pin: 40 mA
- DC tam sim no rau 3.3V Pin: 50 mA
- Flash nco: 32 KB uas 0.5 KB siv los ntawm bootloader
- SIB: 2 KB
- EEPROM: 1 KB
- Moos ceev: 16 MHz
Arduino UNO cov laug cam muaj lub built-in USB/Serial choj nti. Ntawm qhov kev hloov pauv tshwj xeeb no, tus choj choj yog CH340G. Rau CH340 USB/Serial chips, muaj cov tsav tsheb muaj rau ntau lub tshuab ua haujlwm (UNIX, Mac OS X, lossis Windows). Cov no tuaj yeem pom los ntawm qhov txuas saum toj no.
Thaum koj xub ntsaws Arduino UNO rau hauv USB chaw nres nkoj ntawm koj lub computer, lub teeb liab liab (LED) yuav qhib. Yuav luag tam sim tom qab, cov neeg siv LED liab feem ntau yuav pib ntsais muag sai. Qhov no tshwm sim vim tias lub khoos phis tawj tau npaj ua ntej nrog BLINK txoj haujlwm, uas peb yuav tham txog ntxiv hauv qab no.
Yog tias koj tseem tsis tau teeb tsa Arduino IDE, koj tuaj yeem rub tawm nws los ntawm Arduino.cc thiab yog tias koj xav tau cov ntaub ntawv qhia ntxiv txog kev ua haujlwm hauv Arduino ecosystem, peb hais qhia tshuaj xyuas phau ntawv qhia online rau HackerBox Starter Rhiav.
Txuas UNO rau koj lub computer siv MicroUSB cable. Tua tawm Arduino IDE software.
Hauv IDE ntawv qhia zaub mov, xaiv "Arduino UNO" hauv qab cov cuab yeej> pawg thawj coj. Tsis tas li, xaiv qhov tsim nyog USB chaw nres nkoj hauv IDE hauv cov cuab yeej> chaw nres nkoj (yuav muaj lub npe nrog "wchusb" hauv nws).
Thaum kawg, thauj khoom ib qho piv txwv code:
Cov ntaub ntawv-> Piv txwv-> Pib-> Blink
Qhov no yog qhov chaws uas tau tso ua ntej rau UNO thiab yuav tsum tau khiav tam sim no kom ntsais tus neeg siv liab liab. Txoj haujlwm BLINK tus lej rau hauv UNO los ntawm txhaj lub pob UPLOAD (lub cim xub) nyob rau sab saud ntawm cov kab lus tso tawm. Saib hauv qab cov cai rau cov ntaub ntawv xwm txheej: "suav" thiab tom qab ntawd "xa tawm". Thaum kawg, IDE yuav tsum qhia "Uploading Complete" thiab koj LED yuav tsum pib ntsais muag dua - tejzaum nws txawv me ntsis.
Thaum koj muaj peev xwm rub tawm thawj BLINK tus lej thiab txheeb xyuas qhov kev hloov pauv ntawm LED nrawm. Ua tib zoo saib cov cai. Koj tuaj yeem pom tias qhov haujlwm qhib LED, tos 1000 milliseconds (ib pliag), tig LED tawm, tos lwm thib ob, thiab tom qab ntawd ua txhua yam ntxiv - mus ib txhis. Hloov kho cov cai los ntawm kev hloov ob qho ntawm "ncua (1000)" nqe lus rau "ncua (100)". Qhov kev hloov kho no yuav ua rau LED ntsais kaum zaus sai dua, puas yog?
Thauj cov cai hloov pauv mus rau UNO thiab koj lub LED yuav tsum ntsais muag sai dua. Yog tias muaj, nrog koj zoo siab! Koj nyuam qhuav tau nyiag koj thawj daim ntawm cov lej kos. Thaum koj cov ntawv ntsais ntsais tau rub thiab khiav, vim li cas ho tsis pom tias koj puas tuaj yeem hloov pauv txoj cai kom ua rau LED ntsais ntsais sai dua ob zaug thiab tom qab ntawd tos ob peb feeb ua ntej rov ua dua? Muab nws sim! Yuav ua li cas txog qee qhov qauv? Thaum koj ua tiav ntawm kev pom lub txiaj ntsig xav tau, coding nws, thiab saib xyuas nws kom ua haujlwm raws li tau npaj tseg, koj tau ua cov kauj ruam loj los ua tus tsim programmer thiab kho vajtse hacker.
Kauj Ruam 3: Full Color TFT LCD 480x320 Touch Screen
Kov Screen Shield nta 3.5 nti TFT zaub nrog 480x320 daws teeb meem ntawm 16 ntsis (65K) xim nplua nuj.
Cov ntaub thaiv npog ntsaws ncaj qha mus rau Arduino UNO raws li qhia. Kom yooj yim sib dhos, tsuas yog kab 3.3V tus pin ntawm daim ntaub thaiv nrog 3.3V tus pin ntawm Arduino UNO.
Ntau cov ntsiab lus hais txog daim ntaub thaiv tuaj yeem pom ntawm nplooj ntawv lcdwiki.
Los ntawm Arduino IDE, teeb tsa MCUFRIEND_kvb lub tsev qiv ntawv siv Tus Thawj Saib Xyuas Tsev Qiv Ntawv.
Qhib Cov Ntaub Ntawv> Piv txwv> MCUFRIEND_kvb> GLUE_Demo_480x320
Rub tawm thiab txaus siab rau daim duab ua qauv qhia.
Cov duab kos Touch_Paint.ino suav nrog ntawm no siv tib lub tsev qiv ntawv rau cov xim pleev xim kom pom qhov program.
Qhia tawm cov xim twg uas koj ua noj rau qhov TFT Display Shield.
Kauj Ruam 4: Xim Sensor Module
GY-33 Xim Sensor Module yog ua raws TCS34725 xim xim. GY-33 Xim Sensor Module ua haujlwm ntawm 3-5V muab khoom thiab sib txuas lus ntsuas ntau dua I2C. Cov cuab yeej TCS3472 muab kev xa rov qab digital ntawm liab, ntsuab, xiav (RGB), thiab pom lub teeb pom kev pom qhov tseem ceeb. IR thaiv cov lim, sib xyaw ua ke ntawm cov nti thiab ua kom pom qhov xim pom lub ntsej muag photodiodes, txo qis IR feem cuam tshuam ntawm lub teeb nkag thiab tso cai ntsuas xim kom raug.
Daim duab GY33.ino tuaj yeem nyeem lub ntsuas hluav taws xob hla I2C, tso tawm qhov nkag siab RGB qhov tseem ceeb raws li cov ntawv rau tus saib txuas, thiab tseem tso saib cov xim nkag mus rau WS2812B RGB LED. Lub tsev qiv ntawv FastLED xav tau.
ADD AN OLED DISPLAY: GY33_OLED.ino kos duab qhia pom yuav ua li cas thiaj li tso saib RGB qhov tseem ceeb rau 128x64 I2C OLED. Tsuas yog xaim xaim OLED mus rau I2C npav (UNO pins A4/A5) ua ke nrog GY33. Ob lub cuab yeej tuaj yeem txuas nrog ua ke txij li lawv nyob ntawm I2C qhov chaw sib txawv. Kuj txuas 5V thiab GND rau OLED.
MULTIPLE LEDs: Qhov tsis siv tus pin LED hauv daim duab yog "Cov Ntaub Ntawv Tawm" yog tias koj xav kom daisy-saw ob lossis ntau dua ntawm cov chaw nyob tuaj yeem ua ke yooj yim txuas Data_Out daim ntawv LED N rau Data_In ntawm LED N+1.
PROTOTYPE PCB SHIELD: GY-33 Module, cov duab OLED, thiab ib lossis ntau RGB LEDs tuaj yeem muab muag rau cov ntawv pov thawj tiv thaiv los tsim cov xim ntsuas qhov ntsuas uas yooj yim txuas rau thiab cais tawm ntawm Arduino UNO.
Kauj Ruam 5: Kev Tshawb Fawb Ntau Arduino Kev Tshawb Fawb
Multifunction Arduino Experimentation Shield tuaj yeem txuas rau Arduino UNO rau kev sim nrog ntau yam khoom siv suav nrog: cov cim liab liab, ntsuas LED xiav, ob tus neeg siv nkag lub pob, rov pib khawm, DHT11 ntsuas kub thiab av noo, analog input potentiometer, piezo buzzer, RGB LED, photocell txhawm rau txheeb xyuas lub teeb ci ci, LM35D ntsuas qhov ntsuas kub, thiab lub tshuab txais hluav taws xob.
Arduino tus pin (s) rau txhua qhov tivthaiv tau qhia ntawm lub silkscreen ntawm daim ntaub thaiv. Tsis tas li, cov ntsiab lus thiab cov lej ua lej tuaj yeem pom ntawm no.
Kauj Ruam 6: Kev Txhuam Txhuam Txhuam Txhuam: LED Chaser
Koj puas muaj hmoov tsim lub freeform LED Chaser los ntawm HackerBox 0052?
Txawm li cas los xij, nws yog lub sijhawm rau lwm qhov SMT soldering xyaum ua haujlwm. Qhov no yog tib qho LED Chaser Circuit los ntawm HackerBox 0052 tab sis tsim los siv SMT cov khoom siv ntawm PCB tsis txhob siv cov khoom siv dawb/tuag taus.
Ua ntej, kev sib tham pep los ntawm Dave Jones hauv nws EEVblog ntawm Kev Muag Khoom Nto Mount Mount Cheebtsam.
Kauj Ruam 7: Neural Network yog dab tsi?
Neural network (wikipedia) yog kev sib txuas lossis sib txuas ntawm cov neurons, lossis hauv qhov kev nkag siab niaj hnub no, cov khoom siv dag zog neural sib txuas, tsim los ntawm cov neurons dag lossis cov ntshav. Yog li neural network yog ib qho kev sib txuas ntawm neural network, ua los ntawm cov hlwb tiag tiag, lossis cov khoom siv dag zog neural network, los daws teeb meem kev txawj ntse (AI).
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
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: 9 Kauj Ruam
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: Cov ntawv qhia no yog qhia koj yuav tsim lub Caj Npab Caj Npab ntawm koj tus kheej li cas