Cov txheej txheem:

Piav tes piav taw Maze: 8 Kauj Ruam (nrog Duab)
Piav tes piav taw Maze: 8 Kauj Ruam (nrog Duab)

Video: Piav tes piav taw Maze: 8 Kauj Ruam (nrog Duab)

Video: Piav tes piav taw Maze: 8 Kauj Ruam (nrog Duab)
Video: Musicians talk about Buckethead 2024, Kaum ib hlis
Anonim
Image
Image
Cwj Pwm Tswj Maze
Cwj Pwm Tswj Maze
Cwj Pwm Tswj Maze
Cwj Pwm Tswj Maze
Cwj Pwm Tswj Maze
Cwj Pwm Tswj Maze

Kuv nyiam ua si nrog labyrinth maze. Kuv ib txwm xav tswj ib qho ntawm cov labyrinth maze games siv tes taw lossis txawb. Kuv tau txais kev tshoov siab los tsim qhov Marble Maze los ntawm blic19933's 3D Printed Maze Tswj los ntawm Koj Lub Ntaus Ntawv

Hloov chaw ntawm kev siv Bluetooth module rau kev sib txuas lus Kuv tau siv WiFi module (ESP8266) rau kev sib txuas lus. Yog li qhov ua tau zoo ntawm qhov no yog kuv tuaj yeem tswj lub maze eighter siv cov pab pawg wearable lossis mobile app.

Dab tsi yog qhov zoo ntawm kuv qhov project?

1. Nws yog qhov yooj yim thiab tsim tau yooj yim

2. Nws pheej yig thiab xav tau ob peb yam khoom siv hluav taws xob.

3. Detachable magnetic tshawb.

4. Yooj yim rau kev kho.

5. Muaj kev lom zem heev los tsim nws thiab ua si nrog nws.

Maze tau tswj hwm los ntawm cov pab pawg wearable nrog rau Bluetooth app tsim los siv MIT App Inventor. Cov ntaub ntawv ntsuas lub ntsuas hluav taws xob los ntawm pab pawg tau sib kis los ntawm WiFi txuas mus rau Wemos D1 Mini ntaus ntawv (esp8266) uas tswj hwm cov servos uas qaij lub tshawb. Koj tseem tuaj yeem tswj kev tshawb nrhiav siv Android app. Android app yog tsim nrog MIT App Inventor2. Lub gadget no xav tau cov khoom siv tsawg dua. Nws yog ib qho yooj yim los tsim.

Koj tuaj yeem rub tawm txhua yam khoom xav tau rau txoj haujlwm no los ntawm GitHub txuas:

Cia Peb Pib Tsim … !!

Kauj Ruam 1: Cov Khoom thiab Cov Khoom

Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom
Cov Khoom thiab Cov Khoom

Cheebtsam

  • 1x Wemos d1 mini
  • 2x SG90s Servo Tsav
  • 1 x ESP01
  • 1 x MPU6050
  • 1x TP4056 LiPo Charger Module
  • 1x 3.7v 400mAh LiPo Roj teeb
  • 1x Mini Swb Hloov
  • 1x Fitbit band lossis saib pluaj
  • 4x 25mm Neodymium hlau nplaum
  • 2x5mm steel pob
  • 2x Mounting ntsia hlau
  • 10cm X 10cm Ntoo Ply

3D Luam Tshooj

3D luam STL cov ntaub ntawv muaj nyob ntawm Thingiverse -

  • base_plate.stl
  • x_axis.stl
  • y_axis.stl
  • magnet_holder.stl
  • magnet_holder_cover.stl
  • rectagular_maze.stl
  • triangular_maze.stl
  • hexagonal_maze.stl
  • ncig_maze.stl

Cov cuab yeej

  • 3D tshuab luam ntawv koj tuaj yeem siv kev pabcuam online
  • Soldering hlau thiab Tin
  • Screwdriver thiab plier
  • Hlau stripper
  • Phom phom
  • Multimeter

Kauj Ruam 2: 3D Luam Qhov Chaw Tshawb Pom Marble

Kuv siv Flashforge tus tsim pro nrog 0.2 hli lub taub hau thiab teeb tsa ib txwm thiab nrog txhawb nqa. Koj tseem tuaj yeem rub tawm txhua cov ntaub ntawv los ntawm Thingiverse. 3d luam tawm txhua feem thiab ntxuav cov khoom los ntawm kev tshem tawm kev txhawb nqa.

Tsab ntawv xov xwm no tshwm sim thawj zaug

Kauj Ruam 3: Sib sau ua Gimbal Structure

Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv
Sib dhos Gimbal Tus Qauv

Muaj 5 ntu los tsim cov qauv no. Nws yog Gimbal zoo li tus qauv. Ua ntej muab cov cav servo rau 3d qhov chaw luam tawm, ua ntej, sim cov servo motors thiab tom qab ntawd teeb tsa ob lub cav ntawm 90-degree lub kaum ntse ntse. Tam sim no coj 2 1-sided servo horns thiab haum nws rau hauv qhov x_axis_motor.stl thiab y_axis_motor.stl ntu. Tam sim no Txuas y_axis_motor.stl ib feem rau ib qho ntawm servo motors thiab txuas magnet_holder.stl ib feem rau lwm lub cav servo. Ua kom haum rau hauv lub qhov thiab txuas rau nws siv 2 qhov ntsia hlau los nrog cov servo motors. Tom qab ntawv txuas qhov y_axis_motor thiab servo motor mus rau x_axis_motor thiab magnet_holder.stl thiab servo motor rau y_axis_motor.stl ib feem. Txuas ob lub cav siv cov ntsia hlau los nrog lub cav servo. Tam sim no muab cov kab hluav taws xob servo txuas rau Wemos board.

Tus pin txuas

Servo Motor X = D3 tus pin ntawm Wemos

Servo Motor Y = D1 tus pin ntawm Wemos

Txuas hauv av thiab VCC tus pin ntawm servo motors rau GND thiab 5V tus pin ntawm Wemos board feem.

Tam sim no, tso Wemos board sab hauv lub hauv paus.stl ib feem. Tam sim no npog lub hauv paus phaj los ntawm kev muab Gimbal cov qauv ntawm cov cav servo rau nws thiab txuas ob qho tib si siv 1-nti ntsia hlau. Muab tag nrho cov qauv tso rau ntawm lub phaj ntoo thiab muab txuas nrog nws siv cov ntsia hlau.

Muab 25mm hlau nplaum tso rau hauv qhov ntawm magnet_holder.stl ib feem. Npog cov hlau nplaum siv ntu magner_holder_cover.stl. Siv kua nplaum los lo nws.

Tam sim no tshawb nrhiav tau npaj txhij. Tshaj tawm cov cai hauv Wemos siv Arduino IDE.

Kauj Ruam 4: Ua Tus Wearable Band

Ua rau Wearable Band
Ua rau Wearable Band
Ua rau Wearable Band
Ua rau Wearable Band
Ua rau Wearable Band
Ua rau Wearable Band

Wearable band suav nrog cov hauv qab no:

ESP01

PIB 6050

TP4056 LiPo Charger Module

Mini swb hloov

3.7V 400mAh LiPo Roj Teeb.

Kuv siv Nodemcu board rau program ESP01. Koj tuaj yeem siv tus qauv programmer sib txawv rau program ESP01. Txhawm rau program ESP01, txuas ESP01 rau Nodemcu board raws li qhia hauv daim duab. Tom qab ntawd qhib Arduino IDE thiab xaiv pawg thawj coj ua Nodemcu V1.0 thiab xaiv qhov chaw nres nkoj thiab upload band.ino code. Tom qab rub tawm cov cai tshem tawm cov header pins ntawm ESP01 siv cov hlau txuas. Tsis tas li, tshem cov kab taub hau ntawm MPU6050 lub ntsej muag. Tam sim no muab tag nrho cov khoom siv raws li qhia hauv daim duab kab hluav taws xob. Muab daim kab xev hluav taws xob tso rau sab nraub qaum ntawm txhua qhov qauv los tiv thaiv kev luv luv. Muab cov khoom siv hluav taws xob tso rau hauv cov ntawv luam tawm 3d (wearable_band_case.stl). Nthuav lub thawv ntim rau hauv pab pawg.

Kauj Ruam 5: Piav Qhia

Cov lej rau cov pab pawg wearable:

Kuv tau teeb tsa ob qho kev tshawb nrhiav thiab pab pawg siv Arduino IDE. Cov qhab xa qhov ntsuas qhov ntsuas qhov ntsuas (yob thiab suab) mus rau qhov tshawb. Txog kev xa cov ntaub ntawv, nws siv UDP raws tu qauv. Yog xav paub ntxiv txog UDP- ESP8266 mus ntsib lub vev xaib no

Kev tshawb nrhiav tau ua haujlwm hauv Access Point (AP) hom thiab pab pawg ua haujlwm hauv Chaw Nres Tsheb.

Pawg thawj zaug sim txuas mus rau qhov tshawb nrhiav uas ua haujlwm hauv AP (Access Point) hom. Tom qab ua tiav kev sib txuas nrog tshawb nrhiav, ESP01 hauv pab pawg pib ua kev sib txuas lus nrog mpu6050 siv I2C raws tu qauv. Ua ntej, nws ntsuas lub ntsuas rau qhov kev taw qhia tam sim no ntawm lub sensor. Tom qab ntawd nws suav qhov Roll thiab Pitch lub kaum sab xis los ntawm MPU6050. Nws suav lub kaum sab xis txhua 4ms, piv txwv li, 250 qhov txiaj ntsig ib pliag. Tom qab ntawd nws kis cov lej no mus rau qhov tshawb nrhiav. Txhawm rau xa UDP pob ntawv nws xav tau tus IP chaw nyob thiab tus lej chaw nres nkoj ntawm cov cuab yeej siv deb uas yog qhov tshawb nrhiav. Tus IP chaw nyob ntawm tus tshawb yog "192.168.4.1" thiab tus lej chaw nres nkoj yog "4210". Tom qab tau txais lub kaum ntse ntse qhov tseem ceeb los ntawm pab pawg, servo motors ntawm lub maze tig.

Kauj Ruam 6: Ua Android App Siv MIT App Inventor

MIT App Inventor yog lub platform zoo tshaj plaws los ua Android app sai.

Kuv tau txuas aia thiab apk cov ntaub ntawv. Rub lub apk ntawv thiab teeb nws hauv koj lub xov tooj Android thiab pib ua si nrog lub tshawb nrhiav. Koj tseem tuaj yeem hloov pauv hauv app siv aia file. Qhib aia cov ntaub ntawv MIT tus tsim khoom thiab hloov pauv hauv app raws li koj. Kuv tau siv UDP txuas ntxiv xa cov ntaub ntawv mus rau Wemos (esp8266) ntaus ntawv.

Rub tawm qhov txuas ntxiv ntawm no

Cov app no siv lub ntsuas hluav taws xob gyroscope ntawm lub xov tooj ntawm tes los tshuaj xyuas lub xov tooj thiab xa tus nqi mus rau Wemos ntaus ntawv siv UDP raws tu qauv. Kuv tab tom ua haujlwm ntawm ib qho app rau iOS thiab yuav xa cov ntaub ntawv thaum nws ua tiav. Nyob twj ywm !!!

Kauj Ruam 7: Tsim Kev Tshawb Fawb

Tsim lub Maze
Tsim lub Maze
Tsim lub Maze
Tsim lub Maze
Tsim lub Maze
Tsim lub Maze

Kuv tau tsim qhov tshawb nrhiav hauv plaub qhov sib txawv. Koj tuaj yeem rub nws thiab luam nws siv ib xim lossis ntau xim hauv ib qho xim uas koj xaiv.

Koj tuaj yeem tsim koj tus kheej tshawb nrhiav siv 3D/2D Maze Generator. Yuav siv nws li cas hauv lawv lub vev xaib.

Tab sis siv tsab ntawv no koj tsuas tuaj yeem tsim qhov tshawb nrhiav hauv lub xwmfab/duab plaub.

Kuv tau tsim lub maze siv Inkscape thiab Fusion360 software.

Ua ntej tshaj, rub daim duab ntawm qhov tshawb hauv internet. Rub tawm cov duab dub thiab dawb kom tau txais txiaj ntsig zoo. Tom qab ntawd qhib daim duab hauv Inkscape software. Tom qab ntawd hloov cov duab los ntawm JPG-p.webp

Tam sim no qhib Fusion360 software, thiab nyem rau ntawm InsetInsert SVG. Xaiv SVG cov ntaub ntawv ntawm kev tshawb nrhiav, thiab nyem OK.

Koj muaj daim duab 2D ntawm koj tus qauv tsim, tshuaj xyuas nws qhov ntev xws li dav, ntev, txoj kab uas hla thiab qhov chaw rau pob hauv lub tshawb. Yog tias nws tsis yog qhov zoo ces kho nws hauv Inkscape dua thiab ntshuam cov ntaub ntawv hloov tshiab hauv Fusion360. Yog tias txhua qhov ntev yog qhov yog, tom qab ntawd ntxiv ib daim duab 26 hli hauv lub voj voog. Lub voj voog no yog rau hlau nplaum. Tam sim no extrude lub tshawb. Khaws phab ntsa siab txog 5-7mm, lub hauv paus tuab txog 3-4mm, thiab qhov kab noj hniav qhov rau cov hlau nplaum rau 2mm. Tom qab extruding txuag cov ntaub ntawv raws li STL thiab hlais nws siv cov software txiav thiab luam nws.

Kauj Ruam 8: Cia Ua Si

Cia Ua Si
Cia Ua Si

Qhov kev ua si no txaus! Muab ib qho tshawb nrhiav thiab tso lub zog rau ON siv lub micro USB cable.

Hnav cov hlua thiab tig nws, tos 20 vib nas this txhawm rau ntsuas lub ntsuas. Tam sim no koj tau npaj ua si.

Yog tias koj tab tom siv lub app los tswj kev tshawb nrhiav, xub txuas koj lub xov tooj ntawm tes mus rau WiFi. tom qab ntawd qhib lub app thiab koj tau npaj ua si.

Yog tias koj tsim koj tus kheej tshawb nrhiav ces tsis txhob hnov qab qhia koj qhov kev tshawb nrhiav.

Yog tias koj pom nws nthuav, thov pov npav rau kuv hauv Kev Sib Tw Remix. Ua tsaug rau kev nyeem mus txog thaum kawg!

Khaws kev lom zem thiab Khaws tinkering.

Pom zoo: