Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj ruam 2: Electronics
- Kauj ruam 3: Software
- Kauj ruam 4: Sib dhos
- Kauj ruam 5: Kev ua haujlwm
Video: Lady Buggy, WiFi Tsab: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
"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
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
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
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:
Tsab ntawv tsa suab Reactive Surfboard LED Sawb: 8 Kauj Ruam (nrog Duab)
Motion Reactive Surfboard LED Strips: Tsis ntev los no, qee tus phooj ywg thiab kuv tau pom dej nthwv dej. Nyob hauv Munich peb muaj hmoo kom muaj peb tus dej ntws nthwv dej ntawm qhov chaw nto moo Eisbach nthwv dej. Qhov tsis zoo ntawm kev caij nthwv dej yog tias nws yog ib qho ntxiv thiab yog li kuv tsis tshua pom sijhawm rau
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Los ntawm lub teeb nyem mus rau Tsab ntawv tsa suab Sensor nrog ESP8266 thiab MQTT: 5 Cov Kauj Ruam (nrog Duab)
Los ntawm Lub Teeb Nyeem rau Tsab Ntawv Pom Zoo Nrog ESP8266 thiab MQTT: Hauv kab ntawv no, kuv yuav nthuav qhia cov khoom hauv qab no: LEDs xav tau qhov txwv tam sim no circuithow kom ua lub teeb nyem ua lub teeb pom kev los ntawm lub roj teeb nqa tau, thiab dimming LEDs los ntawm ESP8266 ntawm MQTT thiab piav qhia luv luv txog yuav ua li cas th
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Tsab ntawv tsa suab Sensor qhib LED Sawb Nrog Timer: 6 Cov Kauj Ruam (nrog Duab)
Tsab ntawv tsa suab Sensor qhib LED Sawb Nrog Timer: Nyob zoo txhua tus! Kuv zoo siab heev tau sau lwm cov ntawv qhia tam sim no. Qhov haujlwm no tau los thaum kuv raug hu los ntawm ib tus neeg qhia qhia-er (?!) (David @dducic) ob peb lub hlis dhau los thov kom qee qhov kev pab tsim. Yog li ntawm no yog qhov tseem ceeb tshwj xeeb: & q