Cov txheej txheem:

Arduino Bread Board Buddy: 12 Kauj Ruam
Arduino Bread Board Buddy: 12 Kauj Ruam

Video: Arduino Bread Board Buddy: 12 Kauj Ruam

Video: Arduino Bread Board Buddy: 12 Kauj Ruam
Video: как сделать аналоговые часы со светодиодной подсветкой Propeller, Arduino NANO, utsource 2024, Kaum ib hlis
Anonim
Arduino Bread Board Buddy
Arduino Bread Board Buddy
Arduino Bread Board Buddy
Arduino Bread Board Buddy
Arduino Bread Board Buddy
Arduino Bread Board Buddy

Kuv tsim txhua txoj kab hluav taws xob ntawm lub rooj mov ci; txawm li cas los xij tsim tib lub voj voog ib puas, lub sijhawm tuaj yeem ua rau muaj qhov tsis txaus ntseeg, yog li kuv nyiam cov khoom siv rau kev tsim qauv. Feem ntau cov khoom siv hluav taws xob zoo li 5 volt cov khoom siv hluav taws xob yog tus qauv zoo nkauj. Arduino Bread Board Buddy Kuv tau txais los ntawm Universal Solder yog ib leeg nkaus xwb Arduino UNO rau siv nrog cov laug cam. Nws yog cov khoom siv tau yooj yim heev uas txuag koj los ntawm kev tsim ib leeg kheej Arduino txhua lub sijhawm koj xav tsim lub phiaj xwm ntawm lub khob cij.

Koj tuaj yeem rub tawm lub rooj sib txoos pdf lossis hauv lub vev xaib txawm li cas los xij ntawm no yog qee qhov lus qhia tsis suav nrog hauv pdf suav nrog kev ua haujlwm ntawm Bread Board Buddy.

universal-solder.ca/

Kauj Ruam 1: Cov Cuab Yeej

Cov cuab yeej
Cov cuab yeej
Cov cuab yeej
Cov cuab yeej

Solder

Caij Nplooj Ntoos Hlav

Me Sab Cutters

Soldering Hlau

Chaw Muag Khoom Yog tias koj muaj.

Kauj Ruam 2: Qhov Chaw

Qhov
Qhov
Qhov
Qhov

Cov Khoom Siv Canaduino Bread Board tsis tuaj nrog ATMEGA328P IC yog li koj yuav tsum tau muab ib qho.

Cov khoom siv muaj cov hauv qab no rau txhua pawg thawj coj:

1 PCB (Luam Circuit Board)

1 28 tus pin IC qhov (socket)

1 16 MHz siv lead ua

1 LED (Lub Teeb Emitting Diode)

1 Pib dua khawm

1 Pin Jumper

1680 Ω resistor

1 10 KΩ resistor

1 100 nxf

218f wb

2 20 tus pin txuas tus pin ntsia

Kauj Ruam 3: Txuas Tus Pin Rails

Connector Pin Ntsia Hlau
Connector Pin Ntsia Hlau
Connector Pin Ntsia Hlau
Connector Pin Ntsia Hlau

Pib los ntawm kev txiav cov kab txuas txuas txuas mus rau ob txoj kab 15 tus pin thiab ib qho 2 txoj kab tsheb nqaj hlau nrog rau sab txiav.

Kauj Ruam 4: Soldering Cheebtsam

Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam

Pib siv cov khoom sib txuas rau PCB; los ntawm qhov chaw nruab nrab ntawm PCB tawm. Nws yog qhov mob sim txhawm rau txhawm rau ua kom cov khoom raug nyob hauv qhov chaw raug raws li qhov zoo li IC qhov (socket).

Cov kab laug sab thiab txiav ib feem ntawm ib lub sijhawm, nws tuaj yeem yog qhov mob sim ua kom nyob ib puag ncig dhau los ua cov laug lossis tshuaj xyuas cov pob qij txha.

Tuav tus tivthaiv nyob rau hauv qhov chaw nrog lub caij nplooj ntoo hlav.

Siv cov khoom sib koom ua ke kom ntseeg tau tias koj ua haujlwm tau zoo.

Txheeb xyuas qhov kev txuas thiab txiav tawm ib qho kev tshaj tawm.

Tus pin ntev ntawm LED mus rau hauv lub qhov ze rau khawm rov pib dua.

680 Ω resistor mus ze tshaj rau cov siv lead ua.

Lub 10 KΩ resistor mus ze rau khawm rov pib dua.

Kauj Ruam 5: Qhov (Socket & Connector Pins)

Qhov (Socket & Connector Pins)
Qhov (Socket & Connector Pins)
Qhov (Socket & Connector Pins)
Qhov (Socket & Connector Pins)
Qhov (Socket & Connector Pins)
Qhov (Socket & Connector Pins)

Txij li cov IC ntsaws qhov muag nyob hauv qab ntawm PCB thiab txuas tus pin txuas kab txuas rau sab saum toj ntawm PCB laug lub IC ntsawb ua ntej. Txoj hauv kev no tus pin txuas tus ntsia hlau yuav tsis nyob hauv txoj kev ntawm soldering IC qhov (socket).

Thaum koj muaj tag nrho cov khoom me me txuas rau PCB, txuas lub IC ntsawb, ua kom ntseeg tau tias txhua qhov pob qij txha ua tau zoo.

Tom ntej txuas ob 15 txuas tus pin ntsia kom ntseeg tau tias lawv yog cov xwm txheej thiab txhua cov pob qij txha yog qhov zoo. Yog tias cov pins tsis xwm yeem koj yuav tsis tuaj yeem ntxig rau pawg phooj ywg qhob cij rau hauv lub khob cij.

Kawg ntsaws rau hauv ATMega 328P IC rau hauv IC qhov (socket) thiab koj tau npaj rau program thiab siv.

Kauj Ruam 6: Cov Khoom Siv Programming

Cov Kev Pab Cuam
Cov Kev Pab Cuam

Arduino UNO lossis MEGA & Cable

Pawg Mov Ci

Cov neeg dhia

3 680Ω resistors

3 LEDs xiav liab ntsuab

Kauj ruam 7: Bootloader

Bootloader
Bootloader
Bootloader
Bootloader
Bootloader
Bootloader

Yog tias ATMega328P IC tsis muaj bootloader rau nws; koj yuav tsum tau hlawv lub bootloader, koj yuav tsum muaj peev xwm qhia tau yog tias nws muaj lub bootloader yog tias LED ntawm Bread Board Buddy ntsais muag thaum qhib.

Txhawm rau hlawv lub bootloader rau hauv Bread Board Buddy ua raws cov theem no:

Ua kom tsis muaj dab tsi txuas nrog koj UNO txuas nws rau koj lub khoos phis tawj.

Qhib daim duab

Koj yuav tsum xaiv lub rooj tsavxwm los ntawm Cov Ntawv qhia zaub mov uas haum rau koj lub rooj tsavxwm.

Tom qab ntawd xaiv qhov chaw nres nkoj hauv xov tooj cua los ntawm Cov Ntawv Qhia Cuab Yeej uas sib haum rau koj lub rooj tsavxwm.

Nyem rau ntawm cov ntaub ntawv nqes mus rau cov piv txwv thiab nyem rau ntawm Arduino ISP.

Qhov tshiab Arduino IDE qhov rai yuav qhib nrog Arduino ISP kos duab hauv nws.

Luam tus pin sib txuas tab sis tseem tsis tau ua.

Rub tawm Arduino ISP kos duab rau koj lub Arduino board.

Kev kos duab yuav tsum qhia koj thaum nws ua tiav thiab LED ntawm koj Arduino yuav tsum tsis txhob ntsais muag.

Kauj Ruam 8: Txuas tus Programmer

Txuas tus Programmer
Txuas tus Programmer
Txuas tus Programmer
Txuas tus Programmer
Txuas tus Programmer
Txuas tus Programmer

Tshem tawm Uno board los ntawm koj lub khoos phis tawj thiab xaim lub rooj tsavxwm thiab microcontroller raws li tau piav qhia hauv ISP Sketch.

PIN npe: UNO:

qhev rov pib dua: 10:

TSO: 11:

TSI: 12:

TSI: 13:

mega (1280 thiab 2560)

rov pib qhev: 53

TSO: 51

TSI: 50

SIB: 52

Muab lub LED (nrog tus tiv thaiv) rau ntawm cov pins hauv qab no:

9: Lub plawv dhia - qhia tias tus programmer tab tom khiav

8: Yuam Kev - Teeb yog tias muaj qee yam tsis raug (siv liab yog tias ua tau zoo)

7: Programming - Hauv kev sib txuas lus nrog tus qhev

Kuv siv lub xiav LED rau Lub Plawv Liab Liab rau Qhov Yuam Kev thiab Ntsuab rau Kev Ua Haujlwm raws li qhia hauv daim duab. Tshaj qhov tseeb kuv nyiam teeb ntsais, cov LEDs qhia koj yog tias Arduino ISP ua haujlwm raug. Lub teeb xiav LED yuav qhia rau koj Arduino ISP tau ua haujlwm, LED ntsuab yuav qhia rau koj tias nws tau rub tawm thaum nws teeb, thiab LED liab yuav qhia rau koj tias upload tsis tiav thaum nws teeb.

Kauj ruam 9: Hlawv Bootloader

Hlawv Bootloader
Hlawv Bootloader
Hlawv Bootloader
Hlawv Bootloader

Hauv Cov Cuab Yeej ntawv qhia zaub mov ntawm kab kos xaiv Pawg Thawj Coj thiab tom qab ntawd ATmega328 ntawm lub khob cij (8MHz moos sab hauv).

Xaiv qhov chaw nres nkoj txuas los ntawm Cov cuab yeej ntawv qhia zaub mov uas sib haum rau koj lub rooj tsavxwm.

Hauv Cov cuab yeej ntawv qhia zaub mov mus rau Programmer menu thiab xaiv Arduino ua ISP.

Tom qab ntawd hauv Cov cuab yeej ntawv qhia zaub mov xaiv Hlawv Bootloader.

Cov LEDs yuav tsum flicker thiab cov ntsuab LED yuav tsum ci li Arduino ISP uploads bootload. Thaum nws ua tiav kev thau lub xiav LED yuav tsum rov qab mus rau qhov ua paug thiab LED ntawm Cov Khoom Noj Qab Zib Board Buddy yuav tsum ntsais muag ib pliag.

Koj tuaj yeem tshawb xyuas qhov no los ntawm kev txuas Bread Board Buddy rau lub zog.

Koj yuav tsum tsuas yog yuav tsum hlawv lub bootloader ib zaug.

Kauj ruam 10: Programming

Programming
Programming
Programming
Programming
Programming
Programming

Thaum bootloaded Bread Board Buddy tuaj yeem tsim peb txoj hauv kev sib txawv.

Thawj. Koj tuaj yeem tshem lub ATMega328P los ntawm Arduino UNO R3 thiab ntsaws lub ATMega328P los ntawm Bread Board Buddy rau hauv Arduino UNO R3.

Thib ob. Koj tuaj yeem tshem ATMega328P los ntawm Arduino UNO R3 thiab txuas 5V rau 5V, hauv av mus rau hauv av, RX (D0) rau Ua, TX (D1) rau D1 thiab rov pib dua rau RST los ntawm Arduino UNO mus rau Bread board Buddy.

Qhov thib peb koj tuaj yeem siv lub bootloader Circuit mus rau hauv pawg thawj coj saib lub Cread Board Buddy.

Kauj Ruam 11: Hauv Pawg Thawj Coj

Hauv Board Programming
Hauv Board Programming
Hauv Board Programming
Hauv Board Programming
Hauv Board Programming
Hauv Board Programming
Hauv Board Programming
Hauv Board Programming

Tam sim no tias koj Lub Caij Nplooj Ntoos Zeeg Buddy muaj lub bootloader ntawm nws koj tuaj yeem rub cov program rau microcontroller siv tib lub teeb tsa uas koj siv rau bootloader.

Xaiv lossis tsim cov duab kos uas koj xav kom thauj mus rau lub microcontroller.

Hauv cov cuab yeej ntawv qhia zaub mov xaiv Pawg Thawj Coj thiab tom qab ntawd ATmega328 ntawm lub khob cij (8MHz lub moos sab hauv) yog tias koj siv qhov teeb tsa tsawg tshaj plaws los ntawm Pawg Thawj Coj.

Xaiv qhov chaw nres nkoj txuas los ntawm Cov cuab yeej ntawv qhia zaub mov uas sib haum rau koj lub rooj tsavxwm.

Xaiv Arduino ua ISP los ntawm cov cuab yeej ntawv qhia zaub mov thiab Programmer menu.

Tom qab ntawd txhawm rau rub cov duab kos rau lub microcontroller tsis txhob nyem rau upload. Nyem rau ntawm File menu thiab xaiv Upload Siv Programmer rau program microcontroller ntawm lub khob cij.

Cov LEDs yuav tsum flicker thiab cov ntsuab ntsuab yuav tsum ci li Arduino ISP tso cov program rau koj lub microcontroller. Thaum nws ua tiav kev thau lub xiav LED yuav tsum rov qab mus rau qhov ua pa.

Kauj Ruam 12: Cov Khoom Ua tiav

Cov Khoom Tiav
Cov Khoom Tiav
Cov Khoom Tiav
Cov Khoom Tiav

Tam sim no tias Arduino Bread Board Buddy tau teeb tsa koj tuaj yeem sib sau ua tiav qhov Circuit Court.

Tsuas yog ntxiv cov khoom siv hluav taws xob thiab lwm yam khoom siv zoo li no "Nyob Zoo Ntiaj Teb" LCD Circuit thiab nyob deb koj mus.

Pom zoo: