Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom
- Kauj Ruam 2: Pib Cov Sib Sau
- Kauj Ruam 3: ISP thiab Cov Khoom Siab
- Kauj Ruam 4: Qhov Kev Xaiv Bootloader
- Kauj Ruam 5: Xaus
Video: Breadboard Arduino Txoj Cai Txoj Cai: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Muaj lus ntau pua ntawm Breadboard Arduinos tawm muaj, yog li dab tsi txawv ntawm qhov no? Zoo muaj ntau yam uas feem ntau ntawm lawv thiab qhov tseeb txawm tias Arduino nws tus kheej ua tsis raug. Ua ntej tshaj plaws, cov khoom siv sib piv yog khi rau cov khoom siv digital. Muaj qhov laj thawj Atmel coj lawv tawm ntawm cov koob cais. Cov digital tsim cov suab nrov uas tuaj yeem cuam tshuam nrog kev hloov pauv analog. Atmel pom zoo 10µH inductor thiab cais lub peev xwm rau AVCC txhawm rau lim lub suab nrov no. Kuv tsis tau siv lub ntsuas hluav taws xob no lossis cov hlaws ferrite pom zoo rau VCC, tab sis yog tias koj yuav ua ntau yam khoom sib xws, tej zaum nws yog lub tswv yim zoo. Qhov Tsis Txaus Siab ntawm lub khob cij thiab cov dhia dhia ua haujlwm pab qee yam.
Lwm qhov kev txhim kho txhawj xeeb txog kab RESET. Txhawm rau tso cai hom HVPP, AVRs tsis muaj ESD tiv thaiv ntawm RESET tus pin. Yog li yog tias koj tsis siv lub tshuab hluav taws xob siab, nws raug nquahu kom siv lub diode los pab tiv thaiv ESD. Tag nrho cov no suav nrog hauv AVR042: AVR Khoos Phis Tawj Tsim Kev Xav. Thaj chaw tsawg tus neeg paub txog daim ntawv no.
Lwm qhov kev coj ua ib txwm yog tso lub capacitor ncaj qha hla qhov hloov pauv ntawm kab RESET. Qhov no tuaj yeem tsim cov hluav taws xob siab raws li AVR042. Qhov no tsis ua tiav ntau nrog AVRs, (tej zaum vim tias nws tua lawv ncaj ncees) tab sis feem ntau pom nrog ntau lwm lub micros thiab txawm tias ntawm cov chaw tsim khoom dev cov laug cam. Kev cia siab rau ESD kev tiv thaiv nyob rau hauv txoj kev no tsuas yog tsim tsis zoo hauv kuv lub tswv yim.
Kauj Ruam 1: Sau Cov Khoom
BOM rau qhov haujlwm no:
- (1) 630 (830) qhov tsis siv lub lauj kaub tais diav
- (1) Cov khoom siv sib txuas ua ke ntawm cov khoom siv hluav taws xob txuas lossis 24AWG cov tub ntxhais hlau xaim nyiaj lossis cov hlau nplaum
- (1) USBtinyISP, Arduino ISP, thiab lwm yam.
- (1) 6-pin ISP tawm lossis txiv neej rau txiv neej DuPont xov hlau
- (1) Atmel ATmega328P-PU AVR Microcontroller (28-pin DIP)
- (1) Ntsuab 3-5 hli LED qhia
- (1) 1N914/1N4148 ceev diode
- (1) 9mm ncej tactile pushbutton hloov
- (1) 16MHz quartz siv lead ua oscillator, 15-20pF
- (1) Ferrite hlaws (xaiv tau)
- (1) 10µH inductor (yeem)
- (1) 10µF multilayer ceramic
- (4) 100nF monolithic ceramic
- (2) 22pF ceramic disc
- (1) 4.7k 1/4W resistor
- (1) 680Ω1/4W resistor
- (1) 330Ω1/4W resistor
Rau qhov hloov pauv, them me ntsis ntxiv thiab tau txais qee yam zoo. Cov square uas muaj feem ntau yog cov khib nyiab tsis txaus ntseeg.
Kauj Ruam 2: Pib Cov Sib Sau
Mount tag nrho cov khoom qis thiab dhia ua ntej. Txiav tivthaiv coj mus rau 8mm hauv qab qhov qis tshaj ntawm lub cev tivthaiv tom qab khoov. TSIS TXHOB txiav cov coj ntawm 3 yam khoom siv hauv cov kauj ruam tom ntej. Tsuas yog txiav lawv txawm tias tab sis tawm ntawm qhov ntev tshaj plaws. Ceev faj ntxiv nrog cov disc capacitors. Cov txheej txheej hauv qab yog qhov tsis taus thiab tawg tawm qhov twg nws npog cov hlau lead yog tias lawv yoog tau.
Pin 1 ntawm ATmega yuav tsum mus rau kab 11 kom yooj yim mus nrhiav tus pin. Tus pin 5 yog kab 15, tus pin 10 yog kab 20, thiab lwm yam.
Ib 100nF capacitor mus los ntawm A11 mus rau GND, nws nyuaj rau pom nws hauv cov duab. 330Ω resistor nyob hauv qhov D10 thiab D11. Daim duab Fritzing ua rau nws yooj yim pom dab tsi mus qhov twg.
Lwm 100nF lub kaus mom mus rau hauv D17, D18, lwm hauv G17, G19, thiab lwm qhov hauv H17, H18.
Lub jumper mus rau AVCC tuaj yeem xaiv hloov nrog 10µH inductor. Yog tias koj qhov kev ntsuas analog xav tau nws, nws yuav pab nrog suab nrov.
Qhov xaiv yeem ferrite hlaws mus rau VCC. Siv nws yog tias muaj lub suab nrov tsim cov khoom, piv txwv li 7400 series logic chips. Tshem tawm VCC jumper thiab hloov nws nrog cov hlaws ferrite.
Tsis txhob hnov qab cov dhia dhia txuas + thiab - hla lub rooj tsavxwm.
Kauj Ruam 3: ISP thiab Cov Khoom Siab
Cheebtsam siab tuaj tom ntej. Cov no yog cov diode, 4.7k resistor, thiab quartz siv lead ua. Nco ntsoov soj ntsuam qhov polarity ntawm diode. Cov cathode band mus rau ntawm + sab. Yog, nws yuav tsum tau thim rov qab.
Thaum txhua yam zoo li tau qhia thiab koj paub tseeb tias tsis muaj dab tsi luv, nws yog lub sijhawm rau ISP squid xov hlau. Pins 17, 18, thiab 19 ntawm ATmega yog MOSI MISO thiab SCK feem. RESET tuaj yeem mus rau J10 nrog hom kev hloov pauv no. VCC thiab GND yog + thiab - tau kawg.
Kauj Ruam 4: Qhov Kev Xaiv Bootloader
Nws yog qhov yuav tsum tau nyem lub bootloader rau hauv ATmega kom "upload" cov duab kos los ntawm Arduino IDE. Txwv tsis pub nws yuav tsuas yog upload dhau ISP. Serial sai dua, tab sis lub bootloader siv sijhawm me ntsis ntawm qhov chaw nco flash uas yuav txwv tsis pub mus rau koj daim duab thiab ua rau txheej txheem khau raj qeeb. Optiboot raug pom zoo yog tias koj mus rau txoj kev no thiab tsawg heev. Tus kheej, Kuv hla lub bootloader thiab tsuas yog siv ISP.
Lwm qhov kev txiav txim siab yog huab cua kom muaj zog dua ISP. Piv txwv li, USBtinyISP muaj lub jumper sab hauv los txhawb lub hom phiaj. Cov xov tooj qub them nyiaj kuj tseem ua rau lub hwj chim zoo heev. Cov laug cam tawg USB muaj lossis tsuas yog txiav tawm qhov txuas thiab hlua thiab xaim cov xov hlau yog tias koj siab tawv. Kuv muaj lub charger Android uas ntes tau ntawm kuv txhais ceg thiab tsoo, yog li nws tsis muaj teeb meem. Nrog squid xov hlau tawm ntawm VTG/VCC tus pin ntawm ISP thaum lub zog sab nraud lossis tso nws txuas nrog thiab tshem lub jumper.
Kauj Ruam 5: Xaus
Koj ua tiav lawm tam sim no. Tso cov duab kos ntsais rau qhov kev sim thiab LED yuav tsum pib nyem. Kuv muaj qhov cuam tshuam uas tau tsav lub ntsej muag ntsais muag qhov chaw. Saib seb koj puas pom nws.
Pom zoo:
Kev Cai Stering Log (lauj kaub Raws Li Txoj Cai Sensor): 10 Kauj Ruam
Custom Stering Wheel (lauj kaub Raws Li Txoj Cai Sensor): tsis lees paub: tsis txhob liam kuv rau qhov tsis qhia ib qib zuj zus qhov no tsuas yog xav kom siv thiab kuv tsuas yog hais qhov kuv ua thiab qhov tshwm sim, nws muaj qee qhov tsis xws li suab nrov yog li tsis ua raws nraim li kuv tau ua thiab cia siab tias yuav muaj txiaj ntsig zoo, thiab f
Chaw Nres Tsheb NaTaLia: Arduino Solar Powered Weather Station Ua tiav Txoj Cai: 8 Kauj Ruam (nrog Duab)
Chaw Nres Tsheb NaTaLia: Arduino Solar Powered Weather Station Ua tiav Txoj Cai Txoj Cai: Tom qab 1 xyoos ntawm kev ua haujlwm tau zoo ntawm 2 qhov chaw sib txawv Kuv tab tom qhia kuv lub hnub ci siv hluav taws xob qhov chaw nres tsheb huab cua phiaj xwm phiaj xwm thiab piav qhia nws tau hloov zuj zus mus rau hauv cov kab ke uas tuaj yeem muaj sia nyob ntev npaum li cas lub sij hawm los ntawm hnub ci zog. Yog koj ua raws
Atmega16 Raws Txoj Kev Teeb Pom Kev Zoo Txoj Cai Siv 7 Segment Display (Proteus Simulation): 5 Kauj Ruam
Atmega16 Raws Txoj Kev Teeb Pom Kev Zoo Txoj Cai Siv 7 Segment Display (Proteus Simulation): Hauv txoj haujlwm no peb yuav ua Atmega16 raws txoj kev teeb pom kev zoo. Ntawm no peb tau coj ib ntu 7 ntu thiab 3 LEDs los qhia cov cim ntawm lub teeb pom kev
Lenz Txoj Cai thiab Txoj Cai Ntawm Txoj Cai: 8 Kauj Ruam (nrog Duab)
Lenz Txoj Cai thiab Txoj Cai Txoj Cai Txoj Cai: Lub ntiaj teb niaj hnub no yuav tsis muaj nyob niaj hnub no yam tsis muaj hluav taws xob; yuav luag txhua yam peb siv niaj hnub no khiav ntawm hluav taws xob hauv ib txoj kev lossis lwm qhov. Lub hard drive nco hauv koj lub computer, tus hais lus hauv koj lub xov tooj cua, pib hauv koj lub tsheb, txhua tus siv hluav taws xob
Yuav Ua Li Cas Upload Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: USB TTL Cov lej txuas yog ntau yam ntawm USB rau txuas txuas txuas txuas uas muab kev sib txuas ntawm USB thiab txuas UART cuam tshuam. Ntau cov kab hluav taws xob tau muaj kev sib txuas ntawm 5 volts, 3.3 volts lossis cov neeg siv tau teev tseg cov teeb liab theem wi