Cov txheej txheem:

Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil: 5 Kauj Ruam (nrog Duab)
Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil: 5 Kauj Ruam (nrog Duab)

Video: Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil: 5 Kauj Ruam (nrog Duab)

Video: Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil: 5 Kauj Ruam (nrog Duab)
Video: RF Links Tutorial - Cheap and Easy Wireless Arduino! 2024, Hlis ntuj nqeg
Anonim
Image
Image
Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil
Arduino Raws Kev Tswj Chaw Taws Teeb rau Eskate lossis Hydrofoil

Cov lus qhia no yuav qhia koj yuav ua li cas thiaj tsim lub cev nyob deb kom siv nrog eskate lossis hluav taws xob hydrofoil suav nrog txhua txoj cai thiab kho vajtse uas koj xav tau. Muaj ntau qhov kev koom tes nrog, tab sis nws kuj lom zem los ua. Cov chaw taws teeb tuaj yeem ua dab tsi?

  • Sib tham nrog ESC dhau PPM/PWM teeb liab thiab ua kom nws tig lub cev muaj zog.
  • Nws muaj 2 khawm ntxiv los siv rau yam twg uas koj nyiam. (tswj kev caij nkoj) Nws yog dej tsis sib haum.
  • Nws tsis muaj qhov thim rov qab. Uas yog qhov zoo rau daim ntawv thov no.
  • Yeem Kev Tiv Thaiv Tiv Thaiv Tsis Taus thiab txiav roj teeb yog tias koj siv lub forklift loj xa mus.

Vim li cas mus rau txoj kev no? Kuv nyiam qhov yooj yim ntawm Arduino thiab PWM teeb liab. Cov cai yog ib qho yooj yim txawm tias rau cov pib tshiab zoo li kuv thiab kuv muaj kev tswj hwm ntau qhov ntau. Arduino tuaj yeem tswj lub roj teeb tseem ceeb hloov txawm nyob deb. Nws kuj nyeem qhov kub thiab muaj cov zaub. Txhua yam uas tus qauv VESC tsis muaj lossis tsis yooj yim rau teeb tsa. Arduino yog pheej yig, yooj yim thiab muaj zog.

Koj xav tau cov khoom dab tsi?

  • 2 Arduino Nanos
  • 2 Laub Khawm
  • 1 Loj dua 12mm rau/tawm khawm
  • 18650 Roj teeb
  • 18650 Roj Teeb Nrog
  • NRF 24 Chip
  • Relay Module
  • Thaum Tshav Kub Kub Shrink Tubing
  • Header tus pin
  • Thermistors (Cov ntsuas kub
  • 35mm ntev 10Kohm linear resistor

Cov cuab yeej koj xav tau:

  • 3D tshuab luam ntawv
  • Soldering Iron (Cov Khoom Zoo!)
  • M3 Kuj

Kauj Ruam 1: Tsim Lub Tsev Nyob Nyob

Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob
Tsim Chaw Nyob Nyob

Tej zaum koj yuav paub siv koj lub tshuab luam ntawv 3D li cas. Nov yog qee cov lus qhia txawm hais tias: Kuv tsis xav tias koj tuaj yeem tau txais cov ntawv luam dej tsis tau. Coob leej neeg tau sim, feem ntau ua tsis tiav. Koj tuaj yeem tsuas yog npog lawv nrog epoxy uas tuaj yeem ua tau, tab sis tsis zoo. Kuv tau mus nrog lub tswv yim sib txawv thiab kuv siv hnab looj tes lossis hnab looj tes rau kev tiv thaiv dej. Txawm hais tias koj lub tsev tsis muaj dej, nws nyuaj rau nrhiav lub khawm tsis muaj dej lossis lub zog loj. Koj yuav xav tau cov ntsia hlau txiav rau qhov ua rau lub qag thiab ib qho xaim xaim rau kev sib txuas rau cov poti tawm.

Tus qauv CAD muaj phab ntsa tuab ntawm 2 hli. Qhov no zoo txaus kuv xav. Koj tuaj yeem hloov tus qauv ntawm chav kawm. CAD cov ntaub ntawv (suav nrog Cov Cheeb Tsam)

Kauj Ruam 2: Ua kom tiav Koj Cov Hluav Taws Xob Hluav Taws Xob

Image
Image
Ua kom tiav Koj Cov Hluav Taws Xob Hluav Taws Xob
Ua kom tiav Koj Cov Hluav Taws Xob Hluav Taws Xob

Txhawm rau txuas RF24 tus qauv, cov nyees khawm, thiab lub zog ntsuas, tsuas yog ua raws cov lus qhia hauv qab no. Siv ntau lub taub hau ntswj thiab kua nplaum kub kom cais txhua yam. Tom qab koj sim nws! Qhov no yuav tsum ua haujlwm zoo, yog li koj yuav tsum ua qhov yog. Kuv tsis muaj teeb meem txuas NRF24 tus qauv ncaj qha rau 3V pins ntawm kuv Arduinos. Tsis xav tau lub hwj chim muab muag sib cais. Lub potentiometer yog 10Kohm thiab 35mm ntev. Kuv yuav tsum saib tawv ntawm ebay kom pom nws. Yog tias koj qhov sib txawv, koj yuav tsum tau kho lub tsev me ntsis. Qhov 18650 lub xovtooj tau siv los muab lub zog. Qhov no yuav tsum kav ntev heev. Nws tau txuas nrog Vin thiab Gnd ntawm Arduino. Nws tsuas ua haujlwm txawm hais tias lub roj teeb tshiab. Yog tias qhov hluav taws xob poob qis, NRF24 yuav tsis ua haujlwm ntxiv lawm. Tej thaj chaw deb Code

Tutorials kuv siv:

  • https://learn.adafruit.com/thermistor/using-a-thermistor
  • https://www.arduino.cc/en/Tutorial/AnalogInOutSerial
  • https://howtomechatronics.com/tutorials/arduino/arduino-wireless-communication-nrf24l01-tutorial/
  • https://howtomechatronics.com/tutorials/arduino/lc…
  • https://arduino.cc/en/Tutorial/Button

Kauj Ruam 3: Ntxiv Cov Hluav Taws Xob Hluav Taws Xob mus rau Chaw Nyob Hauv Tsev

Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob
Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob
Ntxiv Cov Hluav Taws Xob Hluav Taws Xob rau Cov Chaw Nyob Hauv Tsev
Ntxiv Cov Hluav Taws Xob Hluav Taws Xob rau Cov Chaw Nyob Hauv Tsev
Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob
Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob
Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob
Ntxiv Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Chaw Nyob Nyob

Cov nyees khawm yuav tsum tau resoldered kom tau nws mus rau hauv lub tsev. Ua kom ntseeg tau tias txhua yam haum rau ntawm chav kawm, thiab tsis ua kom puas rau cov xaim hluav taws xob. Kuv twv cov kauj ruam no yog piav qhia tus kheej. Kuv siv plaub M3 ntsia hlau. 10 hli ntev txaus.

Kauj Ruam 4: Tsim Cov Txais Circuit

Image
Image
Tsim Cov Txais Circuit
Tsim Cov Txais Circuit

Ib zaug ntxiv, koj tuaj yeem ua raws cov kev qhia qhia hauv cov cai thiab tseem ob kauj ruam ntxiv mus. Kuv siv tib tus pin txuas thiab tau hais yog tias kuv hloov pauv los ntawm nws hauv txoj cai.

Cov hauv paus ntawm qhov no yog tias cov chaw taws teeb xa cov ntawv hloov pauv mus rau qhov tau txais Arduino ntau dua 2 NRF 24 chips. Cov ntawv hloov pauv ntawd tau hloov pauv mus rau hauv PWM teeb liab uas ua rau VESC tig lub qhov rooj. Qhov no kuj ua haujlwm nrog lwm ESC, lossis txawm tias tsuas yog Servo. Lub voj voog no tau ntxiv cov txiaj ntsig ntawm kev tiv thaiv lub txim taws. Kuv muaj qhov txuas loj heev uas tuaj yeem kaw qhov kev sib txuas los ntawm cov roj teeb tseem ceeb, yog li Arduino tus txais kuj tseem tswj hwm qhov ntawd. Qhov kev xa tawm loj no tau qhib los ntawm kev xa me me thiab cais tawm sib cais ua rau tiv thaiv qhov tsis zoo. Cov txheej txheem no yog pib los ntawm kev thawb lub pob sab nraum kuv lub tsev roj teeb. Tus Neeg Tau Txais Txoj Cai

Xav paub ntau ntxiv nyob hauv cov vis dis aus hauv qab no. Ntxiv rau txhua qhov chaws kuv siv.

Kauj Ruam 5: Kuaj Koj Li Circuit Court

Ntsuam Xyuas Koj Lub Hauv Paus
Ntsuam Xyuas Koj Lub Hauv Paus
Ntsuam Xyuas Koj Lub Hauv Paus
Ntsuam Xyuas Koj Lub Hauv Paus

Yog tias txhua yam mus zoo, tam sim no koj yuav tsum pom tus nqi nyob rau sab saum toj sab tes laug ntawm cov zaub hloov pauv los ntawm 1500-2000 thaum koj thawb lub tswb ntawm cov chaw taws teeb.

Pom zoo: