Cov txheej txheem:

Motorized WiFi Tswj Chassis: 5 Kauj Ruam (nrog Duab)
Motorized WiFi Tswj Chassis: 5 Kauj Ruam (nrog Duab)

Video: Motorized WiFi Tswj Chassis: 5 Kauj Ruam (nrog Duab)

Video: Motorized WiFi Tswj Chassis: 5 Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Image
Image
Qhov
Qhov

Donald Bell of Maker Project Lab (https://makerprojectlab.com) taw qhia hauv nws lub Kaum Ib Hlis 29, 2017 hloov tshiab (https://www.youtube.com/embed/cQzQl97ntpU) tias "Lady Buggy" chassis (https://www.instructables.com/id/Lady-Buggy/) tuaj yeem siv ua lub platform dav. Nws yuav tsum tau pom qee qhov kuv "cov haujlwm uas yuav tsum tau ua" cov npe …

Motorized WiFi Chassis yog qhov yooj yim WiFi tswj tau qhib lub chassis generic platform uas siv Adafruit Feather Huzzah ESP8266 rau kev sib txuas lus thiab kev tswj hwm, thiab ob qhov kev sib hloov tas mus li ntxiv rau cov roj teeb lithium ion rau kev txav chaw. Lub chassis muaj 8 6mm los ntawm 1 threaded cov ntsiab lus rau mount, zoo, ntau ntxiv los ntawm qhov ntawd.

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. Tsis tas li, koj yuav xav tau cov txuj ci sib dhos thiab cov cuab yeej siv sib 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 tiav Motorized WiFi Chassis.

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 yig nug kuv li kuv ua yuam kev ntau.

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

Kauj Ruam 1: Qhov Chaw

Kuv luam tawm txhua qhov ntawm.15mm ntsug daws teeb meem nrog 50% infill. Luam 1 txhua "Ball Bearing Cap.stl" thiab "Chassis.stl", luam 2 txhua qhov seem.

Kuv yuav cov khoom hauv qab no:

1 Pob Bearing, 15.9mm (5/8 )

4 O-Ring (ID 16mm, ntu 2.5mm)

2 Servo (FS90R Kev Sib Txuas Nruam)

1 Adafruit Feather HUZZAH ESP8266 (Adafruit)

1 Roj Teeb (Adafruit 258)

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 cov xov sib dhos, yog li 6mm los ntawm 1 kais thiab tuag yuav xav tau los ntxuav cov xov.

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Cov xov hluav taws xob suav nrog siv cov xaim hluav taws xob servo rau Feather Huzzah ESP8266.

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

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

Kauj ruam 3: Sib dhos

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

Muab 2 o-rings tso rau txhua "Gear Wheel.stl" raws li qhia.

Siv ob "Axle Gear Wheel.stl", txuas ob lub log sib dhos rau hauv "Chassis.stl" raws li qhia.

Muab lub pob 5/8 nti ntim rau hauv lub chassis raws li qhia, tom qab ntawd nyab xeeb rau hauv qhov chaw nrog "Pob Bearing Cap.stl" ua kom ntseeg tau tias lub npas kabmob tig dawb.

Ruaj ntseg ib qho "Gear Servo.stl" rau ib qho servo siv cov ntsia hlau ntsia hlau uas tuaj nrog servo, tom qab ntawd rov ua dua nrog lub iav thib ob thiab servo.

Muab cov servo sab laug tso rau sab laug servo qhov, thiab txoj cai servo hauv txoj cai servo qhov raws li qhia.

Siv daim kab xev nyias nyias ob sab, ruaj ntseg roj teeb rau hauv lub chassis raws li qhia.

Ib zaug ntxiv siv daim kab xev nyias ob sab, ruaj ntseg Adafruit Feather Huzza ESP8266 rau lub roj teeb raws li qhia.

Kauj ruam 4: Software

Motorized WiFi Chassis siv html "canvas" keeb kwm rau cov duab, thiab cov xwm txheej canvas "touchstart", "touchmove" thiab "touchend" rau kev tswj hwm. 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 Motorized WiFi Chassis software los ua haujlwm ob qho tib si ap (nkag mus rau qhov chaw) thiab chaw nres tsheb (wifi router) wireless modes.

Yog tias koj xaiv ua haujlwm Motorized WiFi Chassis hauv ap hom, lub wireless wireless tsis xav tau raws li koj lub cuab yeej iOS sib txuas lus ncaj qha nrog Motorized WiFi Chassis. Txhawm rau ua haujlwm hauv hom no, koj yuav mus rau teeb tsa wifi ntawm koj lub cuab yeej iOS thiab xaiv "WiFiChassis" 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 Motorized WiFi Chassis hauv chaw nres tsheb, koj yuav sib tham nrog Motorized WiFi Chassis ntawm lub wireless router thiab yog li yuav tsum tau hloov Motorized WiFi Chassis 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 li Motorized WiFi Chassis. Nco ntsoov tias thaum siv hom chaw nres tsheb, Kuv kuj tseem suav nrog MDNS kev txhawb nqa uas tso cai rau koj sib txuas lus nrog Motorized WiFi Chassis ntawm tus IP chaw nyob "wifichassis.local" yog li tsis xav tau tus IP lub cev. Txawm li cas los xij yog tias koj xav siv lub cev IP chaw nyob uas tau teeb tsa los ntawm koj lub wireless router, koj yuav tsum txuas nrog Arduino cov saib txuas thaum koj qhib Motorized WiFi Chassis (nco ntsoov "#define USE_SERIAL 1" yog nyob rau sab saum toj ntawm qhov chaw code cov ntaub ntawv ua ntej suav sau thiab xa cov cai mus rau Motorized WiFi Chassis) txhawm rau txhawm rau saib tus IP chaw nyob uas tau muab rau Motorized WiFi Chassis los ntawm koj lub wireless router.

Tom qab koj tau txiav txim siab hom twg koj yuav ua haujlwm koj lub Motorized WiFi Chassis hauv thiab tau hloov pauv qhov tsim nyog rau lub software, txuas ib lub cable uas tsim nyog ntawm koj lub computer USB thiab micro usb chaw nres nkoj ntawm Feather Huzzah ESP8266, ntsaws rau hauv roj teeb, tom qab ntawv suav thiab rub tawm cov software rau hauv Motorized WiFi Chassis.

Kauj ruam 5: Kev ua haujlwm

Txuas lub roj teeb txuas mus rau lub roj teeb chaw nres nkoj ntawm Feather Huzzah ESP8266.

Nkag mus rau Feather Huzzah ESP8266 siv txoj hauv kev uas koj xaiv hauv Software.

Luag cov xim grey nyob ib ncig ntawm lub vijtsam hauv txoj kev koj xav mus ncig.

Saib cov vis dis aus rau kev qhia luv luv ntawm kev tswj Motorized WiFi Chassis.

Vam tias koj nyiam nws!

Yuav tsum txuas ntxiv mus…

Pom zoo: