Cov txheej txheem:

Lady Buggy, WiFi Tsab: 5 Kauj Ruam (nrog Duab)
Lady Buggy, WiFi Tsab: 5 Kauj Ruam (nrog Duab)

Video: Lady Buggy, WiFi Tsab: 5 Kauj Ruam (nrog Duab)

Video: Lady Buggy, WiFi Tsab: 5 Kauj Ruam (nrog Duab)
Video: Dab Ntub Hlub - Cheng Xiong Ft. Douachi Yang (Official Music Video) 2024, Hlis ntuj nqeg
Anonim
Image
Image
Electronics
Electronics

"Lady Buggy" yog poj niam kab lis kev cai "buggy" Kuv tsim los rau peb cov menyuam yaus txij li hnub nyoog 2 xyoos txog, zoo, Kuv yuav cia nws nyob ntawm 2 xyoos +.

Raws li tau qhia hauv daim vis dis aus, Lady Buggy yog lub wifi ua haujlwm tswj lub tsheb uas muaj lub zog qeeb thiab tswj tau yooj yim. Lady Buggy siv kov raws li iOS ntaus ntawv xauv hauv hom duab (Kuv tsuas tau sim nrog iOS cov cuab yeej, saib ntu Software hauv qab no) thiab tsuas yog xav kom rub lub pob "liab" liab nyob ib puag ncig cov zaub rau pem hauv ntej, rov qab thiab tig txav; yooj yim txaus rau peb tus tub xeeb ntxwv hnub nyoog 2 xyoos los ua haujlwm, nrog rau cov neeg laus saib xyuas me me ntawm chav kawm.

Kuv tau suav nrog qhov chaws hauv daim ntawv ntawm Arduino kos duab rau Adafruit Feather Huzzah ESP8266 yog tias koj xav hloov kho nws siv nrog lwm yam khoom siv.

Tsis tas li, koj yuav xav tau cov txuj ci sib dhos thiab cov cuab yeej siv txuas, xaim, thiab txhua ntu uas tau teev tseg hauv thawj kauj ruam, ntxiv rau Arduino IDE nrog cov tsev qiv ntawv tsim nyog tau teeb tsa txhawm rau ua kom tiav Lady Buggy.

Raws li ib txwm muaj, kuv yuav hnov qab cov ntawv lossis ob lossis leej twg paub dab tsi ntxiv, yog li yog koj muaj lus nug, thov tsis txhob ua siab deb nug raws li kuv ua yuam kev ntau.

Tsim los siv Autodesk Fusion 360, hlais siv Cura 3.0.4 thiab luam tawm hauv PLA ntawm Ultimaker 2+ Ncua Ntxiv thiab Ultimaker 3 Extended.

Kauj Ruam 1: Qhov Chaw

Kuv tau txuas daim ntawv PDF uas muaj ob lub rooj. Thawj lub rooj muaj cov ntawv luam 3D ntu nrog cov teeb tsa thiab xim uas kuv tau siv. Lub rooj thib ob muaj cov npe khoom yuav.

Nco tseg lub cev (xws li "Body.3mf" lossis "Body.stl") yuav tsum tau luam tawm nrog kev txhawb nqa vim yog 4 lub tsev yees sab hauv ntawm lub plhaub ua 2 hli siab dua li lub plhaub. Nco tseg kuj tias Cura 3.0.4 yuav tsis tso "Body.3mf" ntawm lub phaj tsim, yog li kuv yuav tsum tau xiam qhov "Txiav cov qauv rau lub phaj tsim" teeb tsa tom qab ntawd txo qis lub cev kom txog thaum nws tau sib cuag nrog cov phaj tsim (siv Cura thiab saib cov phaj tsim los ntawm hauv qab tus qauv, Kuv txo qis lub cev kom txog thaum kuv tuaj yeem pom cov xim liab tsaus muag ntawm lub cev plhaub tiv toj rau cov phaj tsim).

Ua ntej kev sib dhos, sim ua kom haum thiab txiav, cov ntaub ntawv, xuab zeb, thiab lwm yam txhua qhov raws li qhov tsim nyog rau kev txav mus los ntawm qhov chaw txav, thiab nruj haum rau qhov tsis txav chaw. Nyob ntawm cov xim uas koj tau xaiv thiab koj lub tshuab luam ntawv teeb tsa, yuav tsum tau txiav ntau dua lossis tsawg dua, ua ntawv thov thiab/lossis xuab zeb. Ua tib zoo sau tag nrho cov npoo uas tau hu rau lub phaj tsim kom ntseeg tau tias txhua lub phaj tsim "ooze" raug tshem tawm thiab txhua tus ntug tau du. Kuv siv cov ntaub ntawv me me jewelers thiab ua siab ntev txaus los ua cov kauj ruam no.

Qhov kev tsim qauv no siv xov sib dhos, yog li 6mm los ntawm 1 kais thiab tuag yuav xav tau los ntxuav cov xov.

Kauj ruam 2: Electronics

Electronics
Electronics
Electronics
Electronics

Ua tib zoo txiav qhov zoo (liab) xaim ntawm lub roj teeb hauv nruab nrab, tom qab ntawd hle thiab xeb cov hlau lead raws li qhia.

Muab cov seem ntawm cov hlau liab los ntawm lub roj teeb mus rau qhov nruab nrab ob lub dav hlau ntawm qhov hloov pauv raws li qhia

Muab cov xaim liab tso rau nruab nrab ntawm cov khub sab nrauv ntawm qhov hloov chaw raws li qhia.

Muab cov seem ntawm cov hlau liab los ntawm qhov txuas mus rau ib qho ntawm ob sab sab nraud hloov mus raws li qhia.

Txhawm rau muab lub zog rau servos, ob qho kev pabcuam zoo (liab) cov xov hlau tau muab txuas rau "BAT" tus pin ntawm Feather Huzzah thiab ob qho kev pabcuam tsis zoo (xim av) cov xov hlau tau muab txuas rau "GND" tus pin ntawm Feather Huzzah.

Txhawm rau tswj cov servos, sab laug servo teeb liab (txiv kab ntxwv) xaim tau muab txuas rau "12/MISO" tus pin ntawm Feather Huzzah, thiab servo txoj cai teeb liab xaim (txiv kab ntxwv) txuas rau "13/MOSI" tus pin ntawm Tsiaj Huzzah.

Kauj ruam 3: Software

Software
Software
Software
Software

Lady Buggy siv html "canvas" lub ntsiab rau cov duab, thiab cov txheej xwm canvas "touchstart", "touchmove" thiab "touchend" rau kev tswj hwm (saib https://www.w3schools.com/graphics/canvas_intro.asp). Kuv ntseeg qhov software yuav tsum ua haujlwm ntawm kov cov khoom siv uas tsis yog iOS, tab sis tsis tuaj yeem lees paub tias nws yuav ua.

Kuv tsim tus Lady Buggy software los ua haujlwm hauv ob qho ap (nkag mus rau qhov chaw) thiab chaw nres tsheb (wifi router) wireless modes.

Yog tias koj xaiv los ua haujlwm Lady Buggy hauv ap hom, lub wireless wireless tsis xav tau raws li koj lub cuab yeej iOS sib txuas lus ncaj qha nrog Lady Buggy. Txhawm rau ua haujlwm hauv hom no, koj yuav mus rau teeb tsa wifi ntawm koj lub cuab yeej iOS thiab xaiv "LadyBuggy" network. Thaum txuas nrog, qhib lub vev xaib ntawm koj lub cuab yeej iOS thiab nkag mus rau tus IP chaw nyob ntawm "192.128.20.20" hauv qhov url teb.

Yog tias koj xaiv ua haujlwm Lady Buggy hauv hom chaw nres tsheb, koj yuav sib tham nrog Lady Buggy ntawm lub wireless router thiab yog li yuav tsum tau hloov Lady Buggy software xws li "sSsid =" tau teeb tsa rau koj lub wireless router ssid thiab "sPassword =" tau teeb tsa rau koj tus password wireless router. Koj yuav tsum tau hloov cov chaw no siv Arduino IDE tus kho ua ntej muab tso ua ke thiab rub nws mus rau koj tus poj niam Buggy. Nco ntsoov tias thaum siv hom chaw nres tsheb, Kuv kuj tseem suav nrog MDNS kev txhawb nqa uas tso cai rau koj sib tham nrog Lady Buggy ntawm tus IP chaw nyob "ladybug.local" yog li tsis xav tau tus IP lub cev. Txawm li cas los xij yog tias koj xav siv tus IP chaw nyob uas tau teeb tsa los ntawm koj lub wireless router, koj yuav tsum txuas nrog Arduino tus saib xyuas thaum koj qhib Lady Buggy (nco ntsoov "#define USE_SERIAL 1" yog nyob rau sab saum toj ntawm qhov chaws ua ntej muab tso ua ke thiab xa tus lej mus rau Lady Buggy) txhawm rau saib tus IP chaw nyob uas tau muab rau Lady Buggy los ntawm koj lub wireless router.

Tom qab koj tau txiav txim siab hom twg koj yuav ua haujlwm koj tus poj niam Buggy hauv thiab tau hloov pauv qhov tsim nyog rau lub software, txuas ib txoj kab txuas uas tsim nyog ntawm koj lub khoos phis tawj USB thiab lub micro usb txuas txuas txuas rau ntawm Lady Buggy, siv swb swb rau lub zog ntawm Lady Buggy, tom qab ntawv suav thiab rub tawm software rau hauv Lady Buggy.

Kauj ruam 4: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke

Muab ob daim o-rings txuas rau txhua qhov ntawm "Gear Wheel.stl" raws li qhia.

Txuas ib lub log log sib dhos ("Gear Wheel.stl" ntxiv rau ob O-Rings) rau "Chassis.stl" siv ib qho "Qag Gear Wheel.stl" raws li qhia. Rov ua cov txheej txheem nrog cov seem iav log sib dhos thiab qag.

Txuas ib qho "Gear Servo.stl" mus rau ib qho ntawm servos siv cov ntsia hlau muab nrog cov servo. Lub rooj sib txoos no yuav tsum nyob ruaj khov yog li siv koj cov kua nplaum uas tsim nyog yog tias tsim nyog. Rov ua cov txheej txheem nrog cov iav seem servo thiab servo.

Ntxig rau sab laug servo rau sab laug servo qhov hauv lub chassis raws li qhia.

Ntxig txoj cai servo rau hauv txoj cai servo qhov hauv lub chassis raws li qhia.

Muab lub roj teeb tso rau hauv lub chassis cov roj teeb raws li qhia. Ruaj ntseg qhov swb hloov mus rau lub chassis siv cov ntsia hlau me me lossis kua nplaum.

Muab "Battery Cover.stl" tso rau ntawm lub roj teeb raws li qhia.

Qhwv cov xaim xaim nruab nrab ntawm cov servos thiab Feather Huzzah nrog daim kab xev hluav taws xob, tom qab ntawd muab Feather Huzzah tso rau hauv lub roj teeb npog npog raws li qhia.

Muab lub npas coj los tso rau hauv lub chassis thiab ruaj ntseg nrog "Ball Bearing Cap.stl" raws li qhia. Tsis txhob nrawm dua vim tias lub npas kabmob yuav tsum yooj yim tig hauv lub chassis.

Txuas lub micro usb cable txuas txuas xa ntawv mus rau Huzzah ESP8266 raws li qhia. Ruaj ntseg tus poj niam kawg rau lub chassis nrog cov khoom siv txuas ntxiv raws li qhia.

Siv plaub "Bolt.stl", txuas koj lub cev Lady Buggy rau lub rooj sib dhos ua ke raws li qhia.

Kauj ruam 5: Kev ua haujlwm

Qhib tus pojniam Buggy siv tus swb swb. Qhov hloov kuv siv yog lub hauv paus tawm hloov, yog li swb nws mus rau sab nraud txoj haujlwm tig rau Lady Buggy.

Txuas mus rau Lady Buggy siv koj lub cuab yeej iOS thiab cov txheej txheem koj xaiv raws li tau piav qhia hauv Software kauj ruam.

Ntawm iOS cov zaub, xaub khawm liab mus rau sab saum toj ntawm cov zaub rau txav mus los, mus rau hauv qab ntawm cov zaub rau rov qab txav mus, thiab sab laug lossis sab xis rau sab laug lossis sab xis.

Saib cov vis dis aus rau kev qhia luv luv ntawm kev tswj hwm Lady Buggy.

Vam tias koj nyiam nws!

Pom zoo: