Starter Kit kupita ku Arduino Super Starter Kit UNO R3 Project wolemba Elegoo

Elegoo Arduino Uno R3 Starter Kit

Masiku angapo apitawo Ndinagula Arduino Starter Kit, kuchokera ku mtundu wa Elegoo, kupereka kwa € 30. Ndili ndi masensa ndi zida zingapo zomwe ndakhala ndikugula, koma ndimasowa zambiri zomwe zimaperekedwa mu Kit ndipo zimawoneka ngati lingaliro labwino kugula kuti muwone ngati mtundu uwu wa mankhwala ndiwofunika. Ali ndi zida 4 zoyambira, choyambirira ndi Super Starter chomwe ndi chida chomwe ndidagula kenako enanso awiri omwe ali ndi zinthu zina zambiri, koma chowonadi ndichakuti ndidatenga iyi chifukwa chondipatsa. Ndakhala ndikufuna kutenga imodzi yokhala ndi wayilesi pafupipafupi.

Kuwerenga kuwunikiranso kwa matabwa a Elegoo amalankhula bwino, koma pali anthu omwe amadandaula za kuyanjana kwa bolodi lomwe ndi chithunzi cha Arduino UNO R3. Zomwe ndakumana nazo zakhala zabwino kwambiri, mbaleyo yagwira bwino ntchito, yogwirizana ndi Arduino IDE osachita chilichonse, ingolowani ndikusewera. Ndatsitsa fayilo ya Blink, Ndasintha zina. Ndayesera zinthu zina mwachangu ndipo chilichonse chimayenda bwino (Kuyesedwa ndi Ubuntu 16.10 ndi kubuntu 17.04)

Pitirizani kuwerenga

Arduino multitasking ndi kasamalidwe ka nthawi

Mayeso a Arduino kuti achulukane ndi milis

Sindine katswiri wa Arduino, ngakhale ndili ndi mbaleyo kwa nthawi yayitali sindinafufuze. Nthawi zomwe ndakhala ndikuzigwiritsa ntchito zakhala ngati chida cholemba ndikundipaka kale kale koma osachita chidwi kwenikweni ndi kuphunzira momwe zimagwirira ntchito, koma ndicholinga choti zizigwira ntchito komanso kuti zindithandizire. Khrisimasi ino ndidasintha pang'ono kubadwa kwa Yesu pang'ono ndi ma LED ena ndi sensa ya ultrasound ya HC-SR04. Ndipo ndidayima kuti ndiyang'ane zomwe zimayenera kuchitika.

Ndimangofuna kuchita zinthu zosiyana ndi ma LED awiri kuchokera ku chizindikiro chomwecho. Oo. Posakhalitsa ndidapunthwa pazomwe ndikuganiza kuti zidzakhala chimodzi mwazinthu zoyambirira zomwe mumakumana nazo mukamayamba kusokoneza ndi Arduino. Ndipo simuyenera kupanga kuti zikhale zovuta kwambiri. Ndikungolankhula za ma LED ena, mumazindikira kuti simungathe kuchita zomwe mukufuna molondola.

Tiyeni tiwonekere kuyambira pachiyambi multitasking kulibe ku Arduino, ntchito ziwiri sizingasinthidwe mofananira. Koma pali njira zopangira mafoni mwachangu kwambiri zomwe zimawoneka ngati zikugwira ntchito nthawi yomweyo.

Ndikuuza nkhaniyi mwatsatanetsatane. Pa Khrisimasi ndidakhazikitsa gawo la Kubadwa kwa Yesu ndipo ndimafuna kuti magetsi anga abwere pamene ana anga aakazi abwera. Palibe chovuta. Ndimangofuna kuti nthambi ziwiri zamagetsi otsogola zigwire ntchito mosiyana ndi sensa yoyandikira.

Pitirizani kuwerenga

Momwe mungapangire loboti yokhazikika ndi Arduino

M'nkhaniyi tiphunzira momwe tingachitire a loboti yaying'ono yopangidwa ndi Arduino board. Cholinga cha lobotiyo ndikupewa zopinga pogwiritsa ntchito sensor ya ultrasound, ikafika pachopinga idzawoneka mbali zonse ziwiri ndikupeza njira yabwino yopitilira ulendo wawo.

hardware

Mu gawo loyambali tiyang'ana pakupanga pulatifomu ya robot, kusonkhanitsa zigawozo ndi kuzilumikiza.

alirezatalischi

Pitirizani kuwerenga

Kuwongolera kwa servomotor ndi PWM ndi Arduino

Tawonetsa kale pa blog Arduino (https://www.ikkaro.com/Tutoriales-basicos-arduino) ndipo zimawonekera m'mapulojekiti angapo kuphatikiza iyi (https://www.ikkaro.com/node/529)

Tsopano tiyeni tipite patsogolo pang'ono ndipo tiyeni sinthani ma siginolo ndikulimba kwa pulse (PWM), izi zitha kugwiritsidwa ntchito mwachitsanzo kuthana ndi ma servomotor ngati omwe afotokozedwa pano (https://www.ikkaro.com/node/741) kapena rgb leads pakati pa ena. Kwa iwo omwe sakudziwa kuti PWM ndi chiyani, ndi kusinthasintha komwe kumachitika ku siginecha ndipo kumatanthauza "kutumiza zidziwitso kudzera pa njira yolankhulirana kapena kuwongolera mphamvu zomwe zimatumizidwa kunyamula" (Wikipedia)

Pitirizani kuwerenga

Arduino ndi chiyani

Ndakhala ndikuyang'ana ntchito zopangidwa ndi Arduino, kotero ndinali ndi chidwi chofuna kudziwa izi Arduino ndipo ndasanthula zambiri paukonde.

Arduino ndi pulogalamu yotseguka ya hardware yochokera pa bolodi losavuta la I / O komanso malo otukuka omwe amagwiritsa ntchito chilankhulo cha Processing / Wiring. Arduino itha kugwiritsidwa ntchito kupanga zinthu zodziyimira zokha kapena zitha kulumikizidwa ndi mapulogalamu apakompyuta

bolodi la arduino

Pitirizani kuwerenga