Cov txheej txheem:

OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj: 19 Cov Kauj Ruam (nrog Duab)
OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj: 19 Cov Kauj Ruam (nrog Duab)

Video: OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj: 19 Cov Kauj Ruam (nrog Duab)

Video: OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj: 19 Cov Kauj Ruam (nrog Duab)
Video: Hoverboard via aerial drone footage 2024, Kaum ib hlis
Anonim
OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj
OmniBoard: Skateboard thiab Hoverboard Hybrid Nrog Bluetooth Tswj

OmniBoard yog qhov tshiab Hluav Taws Xob Skateboard-Hoverboard Hybrid tswj tau los ntawm Bluetooth Smartphone Application. Nws muaj peev xwm txav nrog txhua qib peb ntawm kev ywj pheej ua tau los ntawm ob lub rooj sib koom ua ke, mus rau tom ntej, tig ib ncig ntawm nws txoj kab, thiab tsis ncaj ib sab.

Qhov no tso cai rau koj txav mus rau qhov twg los xij uas koj xav tau nrog rau ua qhov tsis zoo uas koj yuav tsis muaj peev xwm ua tau nrog koj hom kev thauj mus los xws li (hluav taws xob) skateboards, hoverboards, tsheb, tsheb kauj vab, thiab lwm yam.

Kuv tus phooj ywg thiab kuv txiav txim siab los tsim OmniBoard ua kev lom zem thiab tawm dag zog, nrog rau nkag mus rau qee qhov kev sib tw Qhia, uas yog lub log sib tw. Peb xav ua qee yam uas tsis tau ua dua ua ntej, txias, thiab yuav muaj txiaj ntsig. Raws li cov txheej txheem thauj mus los rau pej xeem feem ntau tsis ntseeg tau, thiab kev tsheb hauv nroog tsis zoo thaum sawv ntxov thiab yav tav su tsav mus thiab los ntawm kev ua haujlwm, lwm txoj hauv kev thauj mus los xws li caij tsheb kauj vab lossis caij skateboard yog qhov muaj txiaj ntsig. Cov hluav taws xob skateboards thiab tsheb kauj vab muaj txiaj ntsig zoo rau kev mus ncig ntev, tab sis twb muaj ntau tus neeg siv khoom thiab DIY cov kev daws teeb meem rau cov ncauj lus no. Yog li peb txiav txim siab rov txhim kho lub log, zoo ib yam, thiab ua qhov tshiab thiab lom zem OmniBoard.

Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom

Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Tsav tsheb

  • (4) Omni Log
  • (4) 60 hniav pulley
  • (4) 20 hniav pulley
  • (4) GT2 Sijhawm Siv (peb siv 140 hniav)
  • (8) 7mm ID, 19mm OD bearing*
  • (20) M5 (lossis qhov loj sib xws) tshuab ntsia hlau, kwv yees li 25 hli ntev*
  • (28) Ceev, qhov loj ib yam li tshuab ntsia hlau*
  • (32) Tsis yog 2 ntoo ntsia hlau, 3/8 "ntev*
  • (16) Lub kaum sab xis, nyiam dua plaub qhov, yuav tsum muaj tsawg kawg 1/2 "los ntawm kaum tsev rau ntsia hlau qhov*
  • 1'x2 'Plywood ntawv*
  • Skateboard nto

Electronics:

Tsav System

  • (4) DC Motors
  • (4) Cov Tswj Hluav Taws Xob (ESC)
  • Pawg Thawj Faib Fais Fab (PDB)
  • 16AWG Silicone hlau - Liab thiab Dub
  • XT90 Connector Parallel Splitter
  • XT90 Connector Txiv neej nrog Tail
  • (8 Pairs) 4mm Cov Phom Txuas
  • (4 Pairs) XT60 Cov Txuas Txuas
  • (2) Roj teeb LiPo

Kev Tswj Chaw Taws Teeb

  • Ob Chav Sab Ob Tog Piav Qhia*
  • LM7805 Voltage Regulator*
  • 24AWG Cov Tub Ntxhais Hluav Taws Xob - Ntau Yam Xim*
  • HC-05 Bluetooth Module*
  • Arduino Uno v3*
  • (32 tus pin) Dual-Sided Male Pin Headers*
  • (12 tus pin) Ib Leeg Ib Sab Ib Leeg Pin Headers*

Cov Cuab Yeej:

  • Soldering station thiab Solder
  • Hlau txiav
  • Cov hlua hlau
  • Pliers
  • Txiab
  • Laum khoom: 1-3/8 ", 3/4", 1/4"

Khoom siv

  • 3D Tshuab Luam Ntawv
  • Laser Txiav
  • Band Pom
  • Laum Xovxwm

*Tau txais los ntawm cov khw hluav taws xob hauv zos lossis khw muag khoom kho vajtse.

Kauj Ruam 2: Nws Ua Haujlwm Li Cas

Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas

Omniboard yog hluav taws xob skateboard thiab hoverboard hauv ib qho! Nws muaj peev xwm txav mus tom ntej thiab rov qab, ib sab mus rau ib sab, thiab tig, txhua yam tswj los ntawm tus joystick ntawm koj lub xov tooj.

Omniboard tau tsav los ntawm plaub lub tshuab hluav taws xob txhua qhov txuas rau lub log omnidirectional. Vim tias lub log omni tau tso cai rau swb ib sab, sib txawv qhov nrawm thiab kev taw qhia ntawm txhua lub cav tso cai rau pawg thawj coj txav mus rau txhua qhov kev taw qhia uas tus neeg siv xaiv, raws li tau piav qhia hauv daim duab saum toj no.

Kauj Ruam 3: Sib dhos Omni Log Axles

Sib dhos Omni Log Qag
Sib dhos Omni Log Qag
Sib dhos Omni Log Axles
Sib dhos Omni Log Axles
Sib dhos Omni Log Qag
Sib dhos Omni Log Qag
Sib dhos Omni Log Qag
Sib dhos Omni Log Qag

Cov ntu koj yuav xav tau rau kev sib dhos cov qag yog:

  • (8) 3D luam cov kabmob spacer
  • (4) 3D luam tawm cov menyuam loj loj
  • (8) Cov kabmob
  • (4) Omni log
  • (4) Cov menyuam loj
  • (4) 3x3x80mm keystock

Ua ntej tshaj, koj xav muab cov kabmob sib kis rau ntawm qhov kawg ntawm tus ncej raws li qhia. Lub spacer tau tsim los ua kom haum zoo, yog li kuv pom zoo kom siv tus lwm los yog tus ntaus pob kom tau nws. Yog tias nws xoob dhau qhov haum, hloov nws me ntsis ntxiv ntawm cov khoom siv thiab txuas lub dab tshos. Koj tsis tas yuav txhawj xeeb txog dab tshos rau lwm qhov kawg.

Tom ntej no koj xaub lub log omni rau tom qab los ntawm tus kabmob spacer tig mus rau qhov kev coj rov qab. Koj tuaj yeem plam cov kabmob ntawm tam sim no (nws tsis muaj teeb meem ntau npaum li lawv tsis zoo) thiab nws yuav tsum zoo li daim duab. Thaum kawg, koj tuaj yeem plam qhov ntev yuag yuag spacers mus rau hauv lub pulleys. Txij ntawm no mus, tsis txhob zawm lub qhov ntsia hlau ntsia hlau los yog muab lawv tso rau hauv lub qhov rooj. Cov tuaj tom qab.

Kauj Ruam 4: Txiav thiab Drilling Omni Log Truck

Image
Image
Txiav thiab Drilling Omni Log Truck
Txiav thiab Drilling Omni Log Truck
Txiav thiab Drilling Omni Log Truck
Txiav thiab Drilling Omni Log Truck
Txiav thiab Drilling Omni Log Truck
Txiav thiab Drilling Omni Log Truck

Nov yog qhov uas koj lub tshuab txiav laser thiab 3/8 tuab plywood los ua ke! CAD rau laser txiav lub thav duab tau txuas nrog hauv hom.dxf.

Tom ntej no koj yuav laum ob qhov hla hla me me uas lub tshuab txiav laser yuav tawm ntawm cov plywood. Tus ntoo khaub lig me me yuav raug laum nrog 3/4 "ntsis tsuas yog 1/4" ntawm txoj kev hla, thaum tus ntoo khaub lig loj dua yuav raug hlais nrog 1-3/8 "ntsis txhua txoj hauv kev. Nws yog qhov tseem ceeb heev tias koj nco txog ib nrab daim los txiav 3/4 "qhov ntawm ib sab thiab ib nrab ntawm lwm sab. Tom ntej laum me 3/8 "qhov hla nruab nrab ntawm 3/4" qhov, txhua txoj hauv kev los ntawm txheej uas koj tsis tau txiav ua ntej.

Thaum kawg, ntswj lub kaum sab xis rau sab luv ntawm daim duab plaub. Koj muaj yuav luag txhua yam uas koj xav tau tam sim no txhawm rau sib sau ua ke lub log tsheb loj.

Kauj Ruam 5: Sib dhos Omni Log Truck

Sib dhos Omni Log Truck
Sib dhos Omni Log Truck
Sib dhos Omni Log Truck
Sib dhos Omni Log Truck
Sib dhos Omni Log Truck
Sib dhos Omni Log Truck

Tam sim no peb tuaj yeem ua tiav cov tsheb sib dhos! Koj yuav xav tau cov ntu los ntawm ob kauj ruam dhau los ntxiv rau:

  • (4) Sijhawm siv
  • (4) 3D luam tawm me me pulley spacer
  • (4) Me me
  • (4) Tsav

Hla txhua sab plywood mus rau cov kabmob. Yog tias 3/4 qhov tsis haum nrog cov kabmob yooj yim, siv Dremel los ua cov xuab zeb kom dav dua. nqis siab tshaj ntawm lub log omni.

Txij ntawm no mus, txheeb xyuas tias koj lub log omni tig dawb. Yog tias tsis yog, koj lub pulley yuav raug kaw rau ntawm plywood. Tsa nws me ntsis ntxiv mus txog qhov keystock.

Tom ntej no peb yuav haum cov motors hauv. Qhov 1-3/8 qhov me me me me, yog li maj mam xuab zeb sab hauv nrog Dremel kom txog rau thaum lub cav haum zoo sab hauv. Ceev faj tsis txhob yuam lub cav thiab ua kom deform Thaum lub cev muaj zog nyob hauv txoj hauj lwm, plam txoj siv hla lub pulleys me me, tom qab ntawd cov me me rub tawm ntawm lawv cov spacers thiab mus rau 3.175mm lub cev muaj zog ncej.

Txog qhov ua kom sib luag thiab sib npaug, koj yuav xav muab cov hlua thiab cov hlua khi rau ntawm ib sab ntawm lub tsheb thauj khoom rau ob ntawm lawv thiab lwm sab rau lwm ob.

Kauj Ruam 6: Rhais rau Skateboard Platform

Mounting rau Skateboard Platform
Mounting rau Skateboard Platform
Mounting rau Skateboard Platform
Mounting rau Skateboard Platform
Mounting rau Skateboard Platform
Mounting rau Skateboard Platform

Tam sim no peb yuav txuas cov tsheb thauj khoom mus rau lub platform skateboard. Koj tuaj yeem ua koj li los ntawm plywood thiab tuav kab xev; peb tau raug coj los ntawm cov laus skateboard.

Ua ntej tshaj, koj yuav xav siv 1/4 qhov nyob hauv ob sab ntawm plywood raws li qhia hauv daim duab. Hauv txhua lub qhov, txuas lub kaum sab xis txuas nrog M5 ntsia hlau thiab muab ob lub txiv ntoo tso rau sab sab hauv kom tiv thaiv nws los Ntsuas thiab laum lub qhov uas tso cai rau koj kom thauj cov tsheb thauj khoom kom ze rau qhov kawg thiab ntawm qhov nqes kaum lub kaum sab xis kom ntau li ntau tau thaum nyob hauv qhov hneev taw ntawm lub platform. Tam sim no ntxeev nws thiab muab nws ntsuas ntsuas !

Kauj Ruam 7: Soldering Cov Motors

Image
Image
Soldering Cov Motors
Soldering Cov Motors

Solder 4mm txiv neej lub mos txwv txuas rau lub xaim uas yuav txuas rau lub cav, tom qab ntawd muab cov hlau no txuas mus rau lub tshuab hluav taws xob. Rau kev teeb tsa cable, txhua lub xov hlau raug txiav rau 6cm thiab hle tawm ntawm ob qho kawg

Tswv yim: Nws yog qhov yooj yim dua los xaim cov xov hlau mus rau lub mos txwv txuas ua ntej ces muab nws txuas rau lub cav dua li lwm txoj kev ncig.

Txhawm rau txuas tus mos txwv txuas mus rau xaim, tso nws mus rau cov kab thaiv kab thaiv kab thaiv ntawm tes pab (raws li cov cua sov tawm sai sai los ntawm lub cev ntawm lub mos txwv txuas mus rau cov hlau, ua kom sov ua haujlwm pab lub cev). Tom qab ntawd ua luam dej qee qhov txuas mus rau lub mos txwv txuas, txog ib nrab txoj kev thiab thaum khaws cov hlau hauv qhov txuas, ntsaws cov hlau mus rau lub pas dej ua ke, raws li qhia hauv video. Tom qab ntawd cua sov txo cov hlau thiab cov mos txwv txuas.

Tom qab ntawd, tso cov xaim nyob ib sab ntawm lub davhlau ya nyob twg thiab tuav nws ncaj ncaj siv tes pab. Kuv siv cov ntawv yob los tuav lub cav rov qab. Tom qab ntawd muab cov xaim txuas mus rau lub davhlau ya nyob twg. Qhov kev txiav txim thiab xim ntawm cov xov hlau tsis meej thiab tsis muaj teeb meem, vim tias kev xaj tuaj yeem hloov pauv kom thim rov qab, uas yuav ua tiav hauv cov kauj ruam tom ntej yog tias tsim nyog.

Kauj Ruam 8: Soldering ESC Roj Teeb Txuas

Soldering ESC Roj Teeb Txuas
Soldering ESC Roj Teeb Txuas
Soldering ESC Roj Teeb Txuas
Soldering ESC Roj Teeb Txuas

Ua ntej yuav soldering, txiav qee qhov cua sov ntsws rau txhua qhov ntawm cov xov hlau uas yuav siv los tiv thaiv qhov qhib qhov muag tas.

Txiav ntawm ib qho ntawm cov coj mus rau lub roj teeb txuas, hle nws, plam qhov cua sov hauv, thiab muab nws txuas rau XT60 txuas nrog liab txuas rau lub davhlau ya nyob twg zoo ntawm XT60 thiab dub rau qhov tsis zoo ntawm XT60.

Ceeb Toom: Tsuas yog txiav ESC cov xov hlau ib zaug, vim tias muaj lub tshuab hluav taws xob uas tuaj yeem raug them nyob nruab nrab ntawm qhov zoo thiab qhov tsis zoo uas yuav luv dua yog tias txiab lossis hlau txiav txiav ob qho tib si ib zaug.

Txhawm rau xaim cov xaim mus rau XT60 txuas, siv tes pab tuav XT60 txuas lub cev. Tom qab ntawd, ua luam dej qee qhov txuas mus rau XT60 lub dav hlau txog ib nrab txoj kev thiab thaum khaws cov hlau txuas ntawm XT60 txuas, nqes hlau rau hauv cov pas dej ua ke, raws li qhia hauv video los ntawm cov kauj ruam dhau los. Thaum txias, xaub lub cua sov kom qis kom tiv thaiv qhov kawg raug thiab ua kom sov nws nrog ob sab ntawm cov hlau txuas.

Rov ua qhov no ntxiv rau cov xov hlau txuas ntawm cov roj teeb txuas ntawm ESCs.

Kauj Ruam 9: Soldering Pawg Faib Fais Fab (PDB)

Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)
Soldering Pawg Faib Cov Hluav Taws Xob (PDB)

PDB yuav siv cov tswv yim los ntawm ob lub roj teeb Lithium Polymer (LiPo) nrog cov hluav taws xob sib txuas thiab tam sim no ntawm 11.1V thiab 250A, feem, thiab faib nws mus rau plaub ESCs.

Ntsis: Nws yog qhov yooj yim dua kom txuas tus txiv neej XT90 txuas mus rau PDB cov ntaub ntawv ua ntej, tom qab ntawd 16 AWG xov hlau mus rau ESCs, ua raws XT60 txuas mus rau cov xov hlau no.

Ua ntej, siv cov xaim hluav taws xob, txiav cov cua sov kom haum rau txhua qhov ntawm cov xov hlau, yog li nws tuaj yeem xaub mus rau qhov muag qhov muag tom qab kom tiv thaiv kev luv luv.

Txhawm rau txuas cov xov hlau mus rau PDB cov pawm, Kuv pom nws yooj yim siv siv tes tuav tuav cov xov hlau ncaj (tshwj xeeb tshaj yog xT90 cable loj) thiab muab tso rau saum PDB so ntawm lub rooj. Tom qab ntawd xaim cov xaim nyob ib puag ncig ntawm PDB ncoo. Tom qab ntawd, xaub lub cua sov kom qis thiab ua kom sov kom tiv thaiv cov kab hluav taws xob.

Rov ua qhov no rau ntawm qhov seem ntawm ESC cov xov hlau.

Txhawm rau txhawm rau XT60, ua raws cov kauj ruam dhau los yuav ua li cas ESC roj teeb lub davhlau ya nyob twg tau hloov nrog XT60s.

Kauj Ruam 10: Txuas Cov Hluav Taws Xob

Txuas Cov Xov
Txuas Cov Xov

Txuas lub tshuab hluav taws xob mus rau lub mos txwv txuas txuas ntawm ESC. Tom qab ntawd, ntsaws rau tus pin liab teeb liab los ntawm ESC rau tus pin 9 thiab tus pin dub hauv av rau GND tus pin ntawm Arduino. Ob txoj hlua xauv tau siv los tiv thaiv txhua tus ESCs thiab cov xov hlau mus rau lub rooj tsavxwm.

Txhawm rau txheeb xyuas seb qhov kev sib hloov ntawm cov motors puas raug (tig mus rau pem hauv ntej), los ntawm kev coj tus qauv piv txwv ntawm Arduino hauv qab no.

#suav nrog

Servo tsav;

byte clockwiseSpeed = 110; unsigned ntev ncua = 1500; int motorPin = 9;

void teeb tsa ()

{Serial.begin (9600); motor.attach (motorPin); Serial.println ("Pib xeem"); }

void lub voj ()

{motor.write (clockwiseSpeed); Serial.println ("Nres Motor From Spinning"); ncua (ncua); }

Qhov kev txiav txim ntawm cov xov hlau txuas los ntawm ESC mus rau lub cav txiav txim siab qhov kev sib hloov ntawm lub cav. Yog hais tias lub cav tig rov qab rau lub moos, tom qab ntawd nco ntsoov ntawm lub cav thiab hloov cov lej hauv tus lej tswj hwm ntawm kauj ruam "Programming Omniboard Controller". Yog tias nws tau tig rov qab raws lub moos raws lub hauv ntej, qhov kev hloov pauv yog qhov raug. Ua qhov no rau txhua ntawm plaub lub cav. Yog tias lub cav tsis tig, rov txheeb xyuas txhua qhov txuas koj yog tias muaj cov kab txias txias uas ua rau muaj kev sib txuas xoob.

Kauj Ruam 11: Hloov ESC Hom

Hloov ESC Hom
Hloov ESC Hom

Los ntawm lub neej ntawd, txhuam ESCs yog nyob ntawm hom kev xyaum. Qhov no yog qhia los ntawm lub teeb ntsais LED. Txhawm rau kom muaj kev tswj hwm lub cav mus rau qhov rov qab, yuav tsum nce hom.

Txhawm rau nkag mus rau hom no, txuas ESC mus rau Arduino los ntawm ntsaws lub teeb liab tus pin los ntawm ESC rau tus pin 9 thiab tus pin dub hauv av rau GND tus pin ntawm Arduino. Tom qab ntawd rub tawm thiab khiav cov haujlwm hauv qab no rau Arduino pawg thawj coj:

#suav nrog

Servo tsav;

byte stopSpeed = 90; unsigned ntev ncua = 1500; int motorPin = 9;

void teeb tsa ()

{Serial.begin (9600); motor.attach (motorPin); Serial.println ("Pib xeem"); }

void lub voj ()

{motor.write (stopSpeed); Serial.println ("Nres Motor From Spinning"); ncua (ncua); }

Qhib ESC, tom qab ntawd nias thiab tuav lub pob qhov program rau ob vib nas this. Qhov taw qhia LED tam sim no yuav khov kho raws li tsis pom kev flashing, uas txhais tau tias hom tau hloov pauv mus rau hom nce toj.

Kauj Ruam 12: Sib cuam tshuam nrog Bluetooth Module thiab Xov Tooj

Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj
Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj
Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj
Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj
Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj
Kev cuam tshuam nrog Bluetooth Module thiab Xov Tooj

HC-05 Bluetooth module tso cai rau Arduino txuas nrog lub xov tooj kom tso cai tswj tsis tau lub skateboard los ntawm App. Raws li kuv tau pom teeb meem qee qhov ua tsis raug ntawm Bluetooth module cuam tshuam, nws yuav zoo dua los sim nws ua ntej ua ntej siv lub tshuab hluav taws xob kawg, Peb yuav siv 4 ntawm 6 tus pin ntawm Bluetooth module. Cov no yog: Tx (Xa), Rx (Txais), 5V, thiab GND (Hauv av). Txuas Tx thiab Rx pins los ntawm HC-05 Bluetooth module rau pins 10 thiab 11 ntawm Arduino, feem. Tom qab ntawd, txuas 5V tus pin thiab GND pins rau tus pin nrog daim ntawv lo tib yam ntawm Arduino.

Ntawm Blynk App, ntxiv bluetooth thiab khawm widgets, raws li qhia hauv cov duab saum toj no. Tom qab ntawd, muab tus lej digital D13, uas txuas nrog rau LED teeb tsa ntawm Arduino Uno, rau khawm.

Rub tawm thiab khiav cov cai hauv qab no mus rau Arduino nrog lub bluetooth module ntsaws rau hauv thiab qhib cov saib txuas mus saib seb lub bluetooth module tau txuas nrog. Tom qab ntawv toggle On/Off khawm thiab saib cov built-in LED ntawm Arduino hloov pauv.

#define BLYNK_PRINT Serial

#suav nrog

#suav nrog

// Koj yuav tsum tau txais Auth Token hauv Blynk App.

// Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). char auth = "Koj Daim Ntawv Pov Thawj Pov Thawj";

SoftwareSerial SerialBLE (10, 11); // RX, TX

BLYNK_WRITE (V1)

{int pinValue = param.asInt (); // muab tus nqi nkag los ntawm tus pin V1 rau qhov sib txawv}

void teeb tsa ()

{Serial.begin (9600); // debug console SerialBLE.begin (9600); Blynk.begin (SerialBLE, auth); Serial.println ("Tos rau kev sib txuas …"); }

void lub voj ()

{Blynk.run (); }

Kauj Ruam 13: Soldering Arduino Shield

Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield
Soldering Arduino Shield

Txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau xaim hluav taws xob thiab cov xaim hluav taws xob xoob los ntawm tus qauv, peb yuav muab cov ntaub thaiv npog Arduino txuas rau txhua tus ESCs thiab Bluetooth module, ntxiv rau lub hwj chim rau Arduino.

Solder cov txheej txheem hauv qab no saum toj no mus rau ob tog ua kom zoo nkauj.

Kuv xub ua qhov loj me thiab ntsaws rau hauv Dual-Sided Male Pin Headers mus rau Arduino poj niam lub taub hau tom qab ntawd muab nws tso rau sab saum toj ntawm daim txiag ntoo rau ob sab. Thaum lawv tau siv lawm, kuv tshem nws los ntawm Arduino pawg thawj coj los txhawm rau hauv qab ntawm pawg thawj coj saib. Tom qab ntawd, Kuv tau siv ESC Ib Leeg Ib Leeg Txiv Neej Pin Headers hauv 4 teeb ntawm 3 mus rau hauv qab hauv qab ntawm daim txiag ntoo. Tom qab ntawd, Kuv tau tso HC-05 Bluetooth module ncaj thiab muag cov khoom sib txuas rau hauv qab hauv qab ntawm lub rooj tsav tsheb thiab.

Txij li Bluetooth tus qauv xav tau 5V qhov hluav taws xob nkag thiab PDB tsuas yog tswj rau 12V, Kuv tau siv LM7805 txhawm rau txo qis tam sim no kom txwv qhov tam sim no kos los ntawm Arduino. Qhov 5V cov khoom qub no tseem txuas nrog 5V tus pin ntawm Arduino xws li Arduino tuaj yeem siv tau los ntawm daim ntaub thaiv tsis zoo li txuas ntxiv rau lub tog raj txuas txuas ntxiv.

Cov pins ntawm LM7805 tau muab muag rau sab hauv qab ntawm lub rooj tsav tsheb perf nrog cov ntsuas hluav taws xob tiv thaiv zaum ntawm lub rooj tsav tsheb raws li qhia hauv daim duab saum toj no. Kuv tau siv tag nrho cov txuas hluav taws xob rau txhua qhov khoom siv thiab ESC tus pin headers thiab HC-05 Bluetooth module raws li tau piav qhia hauv cov txheej txheem. Lub 12V cov zis ntawm PDB tau muab muag rau VCC cov tswv yim (sab laug feem ntau) tus pin thiab tus pin hauv av (nruab nrab) ntawm LM7805 tus tswj hluav taws xob. Thaum kawg, txhua tus ESC teeb liab tus pin headers thiab HC-05 Bluetooth module Tx thiab Rx pins rau Arduino digital pins los ntawm Dual-Sided Male Pin Headers raws li qhia hauv kab lus.

Kauj Ruam 14: Tsim App los ntawm Blynk

Tsim App los ntawm Blynk
Tsim App los ntawm Blynk

Omniboard yuav tswj hwm Bluetooth siv txhua lub xov tooj ntawm Blynk App. Blynk yog Android thiab iOS app uas tso cai rau ib tus siv cov qauv thiab cov cuab yeej uas tuaj yeem cuam tshuam nrog ntau lub microcontrollers nrog Bluetooth lossis lub peev xwm wireless lossis Bluetooth / wireless modules, zoo li HC-05.

1. Nruab Blynk rau hauv koj lub xov tooj.

2. Tsim ib tus as khauj thiab nkag mus

3. Tsim txoj haujlwm tshiab thiab npe nws. Kuv hu kuv li "Omniboard maub los", xaiv Arduino Uno ua lub microcontroller, thiab xaiv Bluetooth ua hom sib cuam tshuam.

4. Luag thiab poob cov cuab yeej hauv qab no ntawm lub vijtsam: Bluetooth, Daim Ntawv Qhia, 2 Khawm, thiab Joystick

Kauj Ruam 15: Sib cuam tshuam Widgets Nrog Arduino

Interfacing Widgets Nrog Arduino
Interfacing Widgets Nrog Arduino
Interfacing Widgets Nrog Arduino
Interfacing Widgets Nrog Arduino
Interfacing Widgets Nrog Arduino
Interfacing Widgets Nrog Arduino

Lub pob yuav siv los toggle Hoverboard hom vs Skateboard hom. Hoverboard hom tso cai rau kev tswj xyuas qhov tseeb ntawm kev sib tw thiab nyiag thaum tuav lub nkoj ceev. Thaum, hom skateboard muab kev tswj xyuas meej ntawm kev nrawm nrawm thiab tig. Lub joystick yuav tswj lub skateboard nrog ob qib kev ywj pheej uas sib pauv los ntawm lub toggle khawm. Daim ntawv qhia yuav qhia koj qhov chaw nyob tam sim no nrog rau cov chaw taw tes rau lwm qhov chaw mus. Lub bluetooth tso cai rau lub interface txuas nrog Bluetooth module.

Chaw Joystick:

Xaiv "Merge" rau hom kev tso tawm thiab muab nws rau Virtual pin V1

Khawm Teeb:

  • Npe thawj lub khawm "Hover Mode" thiab lub pob thib ob "Cruise Control."
  • Muab qhov tso tawm ntawm thawj lub pob rau Virtual pin V2 thiab hloov Hom rau "Hloov."
  • Muab lub zog khawm thib ob rau Virtual pin V3 thiab hloov Hom rau "Hloov."
  • Hloov lub npe hloov pauv ntawm thawj lub pob nyem ua "Hover" thiab "Skate" thiab khaws "ON" thiab "OFF."

Daim ntawv qhia chaw:

Muab cov tswv yim los ua V4

Chaw Bluetooth:

Xaiv Bluetooth lub cuab yeej ntawm Blynk app thiab txuas nrog koj tus qauv. Tus password tsis raug rau Bluetooth module yog '1234'

Kauj Ruam 16: Programming Omniboard Controller

Programming Omniboard Controller
Programming Omniboard Controller
Programming Omniboard Controller
Programming Omniboard Controller
Programming Omniboard Controller
Programming Omniboard Controller

Kev hloov pauv ntawm Omniboard tau ua haujlwm raws li kev ntsuas lub zog tau los ntawm ntu "Nws Ua Haujlwm Li Cas". Txhua ntawm 3 qib ntawm kev ywj pheej, mus rau tom ntej, strafe, thiab tig tau suav los ntawm nws tus kheej thiab tau sib koom ua ke kom ua rau muaj kev tswj hwm tag nrho ntawm Omniboard. Kev tswj hwm ntawm txhua lub tshuab hluav taws xob yog qhov sib npaug sib npaug rau kev txav ntawm joystick. Rub tawm thiab khiav cov cai hauv qab no mus rau Arduino.

#define BLYNK_PRINT Serial

#suav nrog

#suav nrog

#suav nrog

Servo motorFR; Servo motorFL; Servo tsav BR; Servo motorBL;

bool motorFRrev = muaj tseeb;

bool motorFLrev = muaj tseeb; bool motorBRrev = muaj tseeb; bool motorBLrev = tseeb;

float motorFRang = 330.0*PI/180.0;

float motorFLang = 30.0*PI/180.0; float motorBRang = 210.0*PI/180.0; Float motorBLang = 150.0*PI/180.0;

ntab motorFRspeedT;

float motorFLspeedT; ntab motorBRspeedT; float motorBLspeedT;

ntab motorFRspeedR;

float motorFLspeedR; ntab motorBRspeedR; float motorBLspeedR;

ntab maxAccel = 10;

byte forwardSpeed = 110;

byte rov qabSpeed = 70; byte stopSpeed = 90; // hloov pauv mus rau tus lej uas tau sim ua ntej

int cruiseControl;

koj yawMode;

// Koj yuav tsum tau txais Auth Token hauv Blynk App.

// Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). char auth = "8523d5e902804a8690e61caba69446a2";

SoftwareSerial SerialBLE (10, 11); // RX, TX

BLYNK_WRITE (V2) {cruiseControl = param.asInt ();}

BLYNK_WRITE (V3) {yawMode = param.asInt ();} WidgetMap myMap (V4);

BLYNK_WRITE (V1)

{int x = param [0].asInt (); int y = param [1].asInt ();

yog (! cruiseControl) calcTranslation (x, y);

yog (yawMode) calcRotation (x, y); lwm {motorFRspeedR = 0; motorFLspeedR = 0; motorBRspeedR = 0; motorBLspeedR = 0; } writeToMotors (); }

void teeb tsa ()

{motorFR.attach (9); motorFL.attach (6); motorBR.attach (5); motorBL.attach (3); ncua (1500); // tos rau lub cav pib ua ntej // Debug console Serial.begin (9600);

SerialBLE.begin (9600);

Blynk.begin (SerialBLE, auth);

Serial.println ("Tos rau kev sib txuas …");

// Yog tias koj xav tshem tag nrho cov ntsiab lus:

//myMap.clear ();

int cov = 1;

ntab lat = 43.653172; float lon = -79.384042; myMap.location (index, lat, lon, "tus nqi"); }

void lub voj ()

{Blynk.run (); }

void calcTranslation (int joyX, int joyY)

{ntab normX = (joyX - 127.0)/128.0; ntab normY = (joyY - 127.0) /128.0; motorFRspeedT = (normY*cos (motorFRang) + normX*sin (motorFRang))*(1 - 2*motorFRrev); motorFLspeedT = (normY*cos (motorFLang) + normX*sin (motorFLang))*(1 - 2*motorFLrev); motorBRspeedT = (normY*cos (motorBRang) + normX*sin (motorBRang))*(1 - 2*motorBRrev); motorBLspeedT = (normY*cos (motorBLang) + normX*sin (motorBLang))*(1 - 2*motorBLrev); }

void calcRotation (int joyX, int joyY)

{ntab normX = (joyX - 127.0)/128.0; ntab normY = (joyY - 127.0) /128.0; motorFRspeedR = joyX*(1 - 2*motorFRrev); motorFLspeedR = -joyX*(1 - 2*motorFLrev); motorBRspeedR = -joyX*(1 - 2*motorBRrev); motorBLspeedR = joyX*(1 - 2*motorBLrev); }

void writeToMotors ()

{ntab motorFRspeed = motorFRspeedT + motorFRspeedR; float motorFLspeed = motorFLspeedT + motorFLspeedR; ntab motorBRSpeed = motorBRspeedT + motorBRspeedR; float motorBLspeed = motorBLspeedT + motorBLspeedR;

motorFRmapped ntev = daim ntawv qhia ((ntev) (100*motorFRspeed), -100, 100, backSpeed, forwardSpeed);

motorFLmapped ntev = daim ntawv qhia ((ntev) (100*motorFLspeed), -100, 100, backSpeed, forwardSpeed); ntev motorBRmapped = daim duab qhia chaw ((ntev) (100*lub cev muaj zog BRspeed), -100, 100, rov qab nrawm, mus rau tom ntej); motorBLmapped ntev = daim ntawv qhia ((ntev) (100*motorBLspeed), -100, 100, backSpeed, forwardSpeed); motorFR.write (motorFRmapped); motorFL.write (motorFLmapped); motorBR.write (motorBRmapped); motorBL.write (motorBLmapped); }

Kauj Ruam 17: Txhim Kho Lub Tsev Hluav Taws Xob

Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob
Txhim Kho Cov Khoom Siv Hluav Taws Xob

Txhawm rau khaws tag nrho cov xov hlau thiab cov khoom los ntawm kev tawm hauv qab, 3D luam tawm lub tsev txuas nrog, tom qab ntawd ntswj nws mus rau lub skateboard siv M5 ntsia hlau.

Kauj Ruam 18: Xim Xim

Painting
Painting
Painting
Painting
Painting
Painting

Kev tshoov siab rau tsim saum lawj yog PCB Circuitry thiab cov qauv. Txhawm rau ua qhov no, ua ntej hauv qab ntawm lub skateboard tau npog kuv qhwv cov neeg pleev xim daim kab xev nyob ib puag ncig nws. Tom qab ntawd tag nrho lub lawj sab saum toj yog coated nrog cov xim dawb. Thaum qhuav, nws tau npog nrog qhov tsis zoo ntawm cov qauv hauv Circuit Court, tom qab ntawd pleev xim nrog lub tsho dub. Tom qab ntawd, tev daim npog ntsej muag los ntawm txheej txheej saum toj kawg nkaus thiab voila, lub skateboard txias-saib.

Kuv txhawb koj kom ua tus kheej tsim rau koj tus kheej Omniboard thiab siv koj txoj kev ywj pheej muaj tswv yim.

Kauj Ruam 19: Xeem thiab Qhia Tawm

Image
Image

Qhov khoom plig thib ob hauv Kev Sib Tw Log 2017

Kev Sib Tw Tswj Chaw Taws Teeb 2017
Kev Sib Tw Tswj Chaw Taws Teeb 2017

Thawj qhov khoom plig hauv Kev Tswj Chaw Taws Teeb 2017

Pom zoo: