Cov txheej txheem:

Tswj Cov Hluav Taws Xob Hluav Taws Xob Skateboard E-Bike 350W DC Tsav Siv Arduino thiab BTS7960b: 9 Kauj Ruam
Tswj Cov Hluav Taws Xob Hluav Taws Xob Skateboard E-Bike 350W DC Tsav Siv Arduino thiab BTS7960b: 9 Kauj Ruam

Video: Tswj Cov Hluav Taws Xob Hluav Taws Xob Skateboard E-Bike 350W DC Tsav Siv Arduino thiab BTS7960b: 9 Kauj Ruam

Video: Tswj Cov Hluav Taws Xob Hluav Taws Xob Skateboard E-Bike 350W DC Tsav Siv Arduino thiab BTS7960b: 9 Kauj Ruam
Video: Musicians talk about Buckethead 2024, Kaum ib hlis
Anonim

Hauv qhov kev qhia no peb yuav kawm paub tswj DC lub cav siv Arduino thiab Dc tsav tsheb bts7960b.

Lub cav tuaj yeem yog 350W lossis tsuas yog Qho khoom ua si me me arduino dc lub cev muaj zog tsuav nws lub zog tsis tshaj BTS7960b tsav Max tam sim no.

Saib cov yees duab!

Kauj Ruam 1: Txog Tus Tsav Tsheb

Txog Lub Cev Tsav Tsheb
Txog Lub Cev Tsav Tsheb

Rated tso zis fais fab 350W. Nyob Voltage 24/36V DC

Rated ceev 2750 RPM.

Tsis muaj qhov nrawm 3300RPM

Tam sim no thauj khoom tag nrho = 19.20A.

Tsis muaj thauj khoom tam sim no = 2.5A

Rated Torque 1.11 N.m (11.1 kg.cm).

Stall Torque 5.55 Nm (55.11 kg.cm) Kev Ua Tau Zoo = 78%

Kauj Ruam 2: Txog DC Tsav Tsav Tsheb Bts7960b

Txog DC Tsav Tsheb Tsav Tsheb Bts7960b
Txog DC Tsav Tsheb Tsav Tsheb Bts7960b

Kev qhia tshwj xeeb:

Muab ob npaug BTS7960 loj tam sim no (43 A) H tus tsav tsheb;

5V cais nrog MCU, thiab tiv thaiv MCU tau zoo;

5V qhov ntsuas hluav taws xob ntawm lub nkoj; qhov ntsuas qhov hluav taws xob ntawm lub tshuab tsav tsheb tso tawm kawg; tuaj yeem ua kom sov lub dab dej;

Tsuas yog xav tau plaub kab los ntawm MCU rau tus qauv tsav tsheb (GND. 5V. PWM1. PWM2);

cais cais 5 V fais fab mov (tuaj yeem faib nrog MCU 5 V); Loj: 4 * 5 * 1.2 cm;

Muaj peev xwm thim rov qab lub cev muaj zog rau pem hauv ntej, ob lub PWM nkag mus ntau zaus txog 25kHZ; ob lub tshav kub ntws dhau los ntawm qhov teeb meem teeb liab tso tawm; cais cov khoom siv hluav taws xob 5V (tuaj yeem sib koom nrog MCU 5V), tseem tuaj yeem siv cov khoom siv hauv 5V; cov khoom siv hluav taws xob 5.5V txog 27V

Kauj Ruam 3: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • Arduino Uno lossis lwm lub Rooj Tswjhwm Saib Arduino
  • DC Tsav Tsav Tsheb Bts7960b
  • Qee lub DC Tsav nws tuaj yeem ua rau me me lossis qee yam muaj zog dua li hauv qhov kev sim no
  • Lub hwj chim muab rau lub cav
  • Potentiometer
  • 2 X Khawm
  • Jumper xov hlau
  • Cov qhob cij
  • Visuino software: Rub tawm ntawm no

Kauj ruam 4: Circuit Court

Qhov Circuit
Qhov Circuit
Qhov Circuit
Qhov Circuit
  • Txuas Arduino digital pin [3] rau bts7960 tus pin tsav RPWM
  • Txuas Arduino tus pin [3] rau bts7960 tus pin tsav LPWM
  • Txuas Arduino tus lej digital [4] rau bts7960 tus pin tsav R_EN
  • Txuas Arduino tus lej digital [3] rau bts7960 tus pin tsav L_EN
  • Txuas bts7960 tus pin VCC rau Arduino Analog Pin 5V
  • Txuas bts7960 tus pin GND rau Arduino Pin GND
  • Txuas Cov Khoom Siv Hluav Taws Xob tus pin GND (-) rau lub cav rau bts7960 tus pin tsav B-
  • Txuas Cov Khoom Siv Hluav Taws Xob tus pin VCC (+) rau lub cav rau bts7960 tus tsav tsheb tus pin B+
  • Txuas lub cev muaj zog hlau zoo rau bts7960 tus tsav tsheb tus pin M+
  • Txuas lub cev tsis zoo hlau mus rau bts7960 tus pin tsav M-
  • Txuas potentiometer tus pin OTB rau Arduino Analog Pin A0
  • Txuas potentiometer tus pin VCC rau Arduino Analog Pin 5V
  • Txuas tus potentiometer tus pin GND rau Arduino Pin GND
  • BUTTON1 Txuas tus pin1 rau Arduino tus pin 5V
  • BUTTON2 Txuas tus pin1 rau Arduino tus pin 5V
  • BUTTON1 Txuas tus pin2 rau Arduino tus pin 8 thiab rau tus tiv thaiv 1Kohm, txuas lwm tus pin ntawm tus tiv thaiv rau Arduino tus pin GND
  • BUTTON2 Txuas tus pin2 rau Arduino tus pin 9 thiab rau tus tiv thaiv 1Kohm, txuas lwm tus pin ntawm tus tiv thaiv rau Arduino tus pin GND

Kauj Ruam 5: Pib Visuino, thiab Xaiv Arduino UNO Board Type

Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type

Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.

Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2

Kauj Ruam 6: Hauv Visuino Ntxiv & Teeb Khoom

Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
  • Ntxiv "SR Flip-Flop" tivthaiv
  • Ntxiv "Ceev thiab Taw Qhia Kom Ceev" tivthaiv
  • Ntxiv "Dual DC Tsav Tsav 2 PWM Pins Choj (L9110S, L298N, AM1016A, BTN7960/BTS7960)" tivthaiv
  • Ntxiv "Digital (Boolean) Tus Nqi" tivthaiv

Xaiv "DigitalValue1" thiab hauv cov khoom vaj huam sib luag teeb tsa "Tus nqi" rau Qhov Tseeb, qhov no yuav pab kom tus tsav tsheb, teeb tsa nws mus cuav yuav ua rau tus tsav tsheb tsis zoo thiab lub cav yuav tsis tig

Kauj Ruam 7: Hauv Visuino Connect Components

Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
  • Txuas Arduino tus pin 8 rau "SRFlipFlop1" tus pin "Teeb"
  • Txuas Arduino tus pin 9 rau "SRFlipFlop1" tiv thaiv tus pin "Pib dua"
  • Txuas "SRFlipFlop1" tus pin tawm mus rau "SpeedAndDirectionToSpeed1" tus pin "thim rov qab"
  • Txuas Arduino Analog tus pin 0 rau "SpeedAndDirectionToSpeed1" tus pin "Ceev"
  • Txuas "SpeedAndDirectionToSpeed1" pin Out to "DualMotorDriver1" pin "Motors [0]> Hauv
  • Txuas "DualMotorDriver1" tus pin "Motors [0]> Xa mus rau Arduino tus lej pin 5
  • Txuas "DualMotorDriver1" tus pin "Motors [0]> Rov qab mus rau Arduino tus pin 6
  • Txuas "DigitalValue1" tus pin Tawm rau Arduino tus lej digital 3 thiab tus lej digital 4

Kauj Ruam 8: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code

Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.

Kauj ruam 9: Ua si

Yog tias koj ua lub zog Arduino UNO module, lub cav yuav pib tig, koj tuaj yeem kho qhov nrawm nrog lub zog loj lossis hloov qhov kev taw qhia los ntawm nias lub pob.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:

Pom zoo: