Cov txheej txheem:

TinyBot24 Autonomous Robot 25 Gr: 7 Kauj Ruam (nrog Duab)
TinyBot24 Autonomous Robot 25 Gr: 7 Kauj Ruam (nrog Duab)

Video: TinyBot24 Autonomous Robot 25 Gr: 7 Kauj Ruam (nrog Duab)

Video: TinyBot24 Autonomous Robot 25 Gr: 7 Kauj Ruam (nrog Duab)
Video: Muaj tsis ntshai tuag 7/1/2018 2024, Kaum ib hlis
Anonim
Image
Image
TinyBot24 Autonomous Robot 25 Gr
TinyBot24 Autonomous Robot 25 Gr

Tus neeg hlau me me muaj peev xwm tsav tau los ntawm ob lub servos ntawm 3.7 grams nrog kev sib hloov tas li.

Ua los ntawm Li-ion roj teeb ntawm 3.7V thiab 70mA MicroServo Motors 3.7 grams H-Bridge LB1836M soic 14 tus pin Doc: https://www.onsemi.com/pub/Collateral/LB1836M-D. PDF Microcontroller ATTiny24A soic 14 pin 2KB Flash nco, 128 bytes SRAM nco, 128 bytes EEPROM nco, 12 inputs / outputs & ntau lwm yam haujlwm. Cov ntaub ntawv: https://www.microchip.com/wwwproducts/en/ATtiny24A Obstacle detection Infrared sensor Ntse IS471F thiab Coj IR 2mm CQY37N Tsab ntawv tsa suab hauv qhov tsaus ntuj los ntawm kev pom duab pom (LDR ntawm 5mm) thiab ob lub LEDs dawb 3mm Hluav Taws rov qab ob lub teeb liab 3mm. Programmed hauv BASIC nrog BASCOM AVR USBasp programmer.

Kauj Ruam 1: Khoom:

Khoom siv
Khoom siv

1 x Attiny24A Soic 14 tus pin

1 x LB1836M Soic 14 tus pin

1 x Li-ion Roj teeb 70mA 3.7V

1 x inter micro cms rau PCB

1 x LDR mini

1 x IS 471F

1 x CQY37N IR LED 2 hli

1 x liab LED SMD 1206

2 x dawb LED 3mm

2 x liab LED 3mm

1 x Pin Header Pin

2 x resistors 10 Kohms SMD 1206 (LED teeb liab teeb meem thiab rov pib dua), 2 x resistors 220 ohms SMD 1206 (teeb pom kev zoo), 1 x resistor 150 Kohms SMD 1206 (nrhiav pom tsaus)

2 x 100nF SMD 0805 (Rov pib dua thiab muab khoom siv hluav taws xob), 2 x 470nF SMD 0805 (cuam tshuam kev cuam tshuam ntawm lub cav)

2 x Servo Motors 3.7 Gram Kev Sib Hloov 360 °

2 x ntsaws ruaj ruaj kav dej 15 hli glued rau ntawm lub log rov qab

1 x Zoo Raug Rho Tawm Ob Sab Ob Sab Zoo Epoxy, Tus Tsim Kho Zoo, Hlau Perchloride, UV Insole Cynolite lossis araldite kua nplaum, daim kab xev pob tshab Mos tooj liab, xaim kab uas hla me tshaj plaws tuaj yeem ua tau cov hlua 0.75 mm², ntau txoj hlua Rigid tooj liab hlau 1.5 mm² (rau sab nraub qaum) tus Tsov tus tw), Cov laug cam, 0.5 hli lub laujkaub, ntswj lub ncauj ncaj, txiav pliers, tsom iav qhov muag, acetone Flux rau vuam SMD

USBasp Programmer, Multimeter (txhawm rau ntsuas qhov rwb thaiv tsev ntawm txoj kev thiab lawv txuas ntxiv mus)

Kauj Ruam 2: Kev Tsim Kho:

Kev tsim kho
Kev tsim kho
Kev tsim kho
Kev tsim kho
Kev tsim kho
Kev tsim kho

Tus neeg hlau me me uas pheej yig uas tuaj yeem taug kev hauv chav, zam qhov teeb meem feem ntau, pom duab ntxoov ntxoo thiab teeb nws lub teeb pem hauv ntej, tseem tig nws lub teeb nraub qaum rov qab.

Nws txav ua tsaug rau nws ob lub servos ntawm 3.7 grams hloov pauv los ua haujlwm hauv kev sib hloov tas li, nws lub hlwb yog Attiny24A microcontroller; 14-pin thiab 2KB flash memory Nws lub qhov muag tshwj xeeb yog tsim los ntawm IR ntes los ntawm Sharp IS471F coj los ntawm 2mm IR LED, 1206 CMS LED uas nws pom tias muaj teeb meem. Kev tsim kho ntawm PCB xav tau kev saib xyuas vim tias nws yog ob tog thiab cov ciav hlau nruj. Ntawm qhov phiaj xwm, kuv siv cov lus yooj yim thiab ua tau yooj yim BASCOM AVR. Kuv tus programmer nyob hauv USB txuas nws yog USBASP npaj rau lub microcontrollers ntawm AMTEL tsev neeg.

Cov ntawv luam tawm:

Txog rau hauv Circuit, Kuv siv Kicad version 4.02 ruaj khov (pub dawb thiab muaj zog ua tsaug rau nws tus sau), kev teeb tsa tuaj yeem ua tiav ntau yam lus thiab muaj kev qhia hauv internet. Nws tuaj yeem rub tawm rau cov haujlwm sib txawv ntawm no: Kicad

Yog tias koj tsis xav siv Kicad Kuv tau txuas rau ZIP ob hom rau luam tawm PCB hauv SVG hom ntawv uas tuaj yeem luam nrog Internet Explorer (lossis hloov kho nrog dawb kos duab kos duab software InkScape) Koj tuaj yeem rub tau InkScape ntawm no:

Kicad screenshots yuav pab koj tso cov khoom sib txuas thiab txuas 14 txoj hlua ntawm ob lub ntsej muag ntawm IC.

Tswv yim: Yog tias ob lub ntsej muag ua rau koj muaj teeb meem, ib qho yooj yim ua kom ob leeg ib leeg ICs laum qhov rau cov khoom sib txuas ntawm txhua IC thiab lo lawv rov qab rau tom qab tom qab siv qee yam khoom rau kev taug qab.

Kauj Ruam 3: Qhov Chaw thiab Weld Cheebtsam

Qhov chaw thiab Weld Cheebtsam
Qhov chaw thiab Weld Cheebtsam
Qhov chaw thiab Weld Cheebtsam
Qhov chaw thiab Weld Cheebtsam
Qhov chaw thiab Weld Cheebtsam
Qhov chaw thiab Weld Cheebtsam

NCO NTSOOV txoj kev npaj tau zoo heev ib qho ntawm lwm qhov:

Ua ntej vuam cov khoom, txheeb xyuas (nrog lub ntsuas cua thiab lub iav tsom iav thiab pob tshab los ntawm kev teeb lub teeb tom qab) uas tsis muaj txoj kab kov lossis raug txiav thiab tshem tawm lub voj tooj liab uas tau siv los txiav IC vim nws kov ob peb txoj kab. Los ua ke ntawm cov khoom siv: Ntxuav ob sab kom huv nrog acetone Txhawm rau txhawm rau txhawm rau txhawm rau qhov zoo tshaj plaws yog txhawm rau IC hauv qhov txias txias hauv lub dab da dej (Kuv tsis tau ua) Laum tag nrho cov pellets nrog 0.8mm hav zoov Tsho ob lub ntsej muag ntws rau cms Weld 14 cov hlua ua ntej nrog txoj hlua khi ntawm txoj hlua khi (ua haujlwm tsis zoo) Vuam cov cms tivthaiv tom qab tau npog lawv nrog flux nyob rau hauv kev txiav txim resistors, cms LEDs, capacitors, Kev sib xyaw ua ke thiab vuam lwm yam khoom siv.

Kauj Ruam 4: Kaw Cov Servos ntawm Kev Txhawb Nqa

Nplua nuj Servos ntawm Kev Txhawb Nqa
Nplua nuj Servos ntawm Kev Txhawb Nqa
Nplua nuj Servos ntawm Kev Txhawb Nqa
Nplua nuj Servos ntawm Kev Txhawb Nqa
Nplua nuj Servos ntawm Kev Txhawb Nqa
Nplua nuj Servos ntawm Kev Txhawb Nqa

Rau cov cav kuv tau siv 3.7 grams hloov kho servomotors rau kev sib hloov tas li, nws yog qhov muag heev tab sis ua tau. Ntawm ob qho tib si servomotors lub zog tsis muaj qhov txwv tsis pub nres (qhov no tsis yog rau txhua qhov kev pabcuam ntawm hom no), Kuv tsuas yog yuav tsum tau tshem tawm kev sib xyaw potentiometer thiab txiav txhua yam khoom siv hluav taws xob.

Thaum cov servos tau hloov kho thiab rov ua dua, nws yog qhov tsim nyog yuav tsum muab daim kab xev kom lawv tsis muaj dej (tshwj xeeb tshaj yog tias koj lo lawv nrog cov kua nplaum zoo li cyanoacrylate lossis araldite) tom qab ntawd lawv tau lo rau ntawm daim epoxy ntawm tib txoj kab uas hla raws li PCB uas tooj liab raug tshem tawm los ntawm kev kos lossis 1 hli tuab yas. Cov log tau ntsia rau ntawm cov khoom siv pabcuam (muab nrog) thiab txiav me ntsis ntawm qhov kawg.

Kauj ruam 5: Programming thiab Assembly

Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly
Programming thiab Assembly

Thaum tag nrho cov khoom siv sib txuas, ntxuav nrog acetone thiab rov tshuaj xyuas kom zoo ua ntej koj pib ua haujlwm. Qhov kev zov me nyuam ntawm microcontroller tau sau hauv BASIC nrog BASCOM AVR uas muaj zog thiab ntawm qhov twg tuaj yeem rub tawm dawb version ntawm no: BASCOM

Txog tus programmer koj tau puas rau kev xaiv: Kuv siv USBasp uas tuaj yeem yuav ntawm Amazon lossis Ebay.

Hauv cov duab ntawm BASCOM AVR rub cov cim tseem ceeb: muab tso ua ke uas tso cai rau suav qhov BASIC program ua ntej rub nws rau hauv lub microcontroller. Lub cajmeem uas tso cai rau rub lub program rau hauv lub cim xeeb flash lossis rau

teeb tsa Fuses. Qhov Xauv thiab Fuse khoom qhov rai tso cai rau koj teeb tsa qhov ntsuas ntawm microcontroller

NCO NTSOOV: Fuse H yuav tsum nyob ntawm 0 (Pab kom ua haujlwm tau zoo) nws yog qhov uas tso cai rau kuv tham ntawm PC thiab microcontroller (txwv tsis pub lub nti raug thaiv thiab tsis tuaj yeem kho tau).

Muaj qhov rov pib dua rau qhov xwm txheej zoo li no, nws yog tsim nws tus kheej, Kuv ua nws, nws cawm kuv ntau zaus ua tsaug rau nws tus sau:).

Nov yog qhov txuas ua lus Askiv: FuseBitDoctor

Kauj Ruam 6: Kev Sib Tham zaum kawg:)

Rooj Sib Tham zaum kawg:)
Rooj Sib Tham zaum kawg:)
Rooj Sib Tham zaum kawg:)
Rooj Sib Tham zaum kawg:)
Rooj Sib Tham zaum kawg:)
Rooj Sib Tham zaum kawg:)

Rau cov ntaub ntawv kuv siv lub raj mis mini dej uas kuv txiav nrog lub qhov rais ntawm qhov xav tau vim nws tau dav me ntsis, Kuv txiav nws siab thiab kaw rau txoj kab uas hla ntawm 4cm. PCB tiav yog tom qab ntawd txuas rau lub log txhawb siv phom kub yaj lossis 2-tivthaiv epoxy.

Tam sim no muaj kev lom zem:)

Txhua cov ntaub ntawv rau kev tsim kho thiab cov phiaj xwm ntawm no: txhua cov ntaub ntawv

Kuv yog Fab Kis thiab kuv cov lus Askiv tsis zoo yog tias koj pom qee qhov ua tsis zoo thov xa xov tuaj rau kuv thiab kuv yuav kho.

Kauj Ruam 7: Saib Daim Ntawv Teev Npe kom nkag siab zoo dua ntawm ATtiny24

ATtiny24 cov ntawv txuas

Pom zoo: