Skip to content

lianga1/ArduinoBalanceCar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoBalanceCar

an balance dual-wheel car driven by arduino uno

Current Progress

Modules

  • Motor Driver
  • Speed Monitor
  • UART Communication
  • Bluetooth Controller
  • PID Control for speed
  • OLED (arduino or esp32)
  • PID Control for balance
  • trace the line

Motor Driver

packaged with a function move that takes a speed , a direction and a time as parameters

main loop

Can input with bluetooth controller or serial monitor, input wasd for direction and 0-9 for speed (0 for stop), Duty ratio of PWM is from 100-190(Maximum 255)

Speed Monitor

Can output the speed of the motor to serial monitor. What's more , you can get the speed by the variable 'rightSpeed' and 'leftSpeed'.

Speed Monitor

Display with 'oled and arduino' or 'oled and esp32'

Required Libraries

  • MsTimer2
  • PinChangeInterrupt
  • PID_v1
  • Adafruit_GFX
  • Adafruit_SSD1306
  • ssd1306.py (esp32)

About

an balance dual-wheel car driven by arduino uno

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •