Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.45 KB

README.md

File metadata and controls

18 lines (11 loc) · 1.45 KB

arduino electric car sketch

Arduino sketch to act as a state machine for a small electrical toy car such as a peg perego or a power wheels.

Modifications to your car is done at your own risk and without any liability

Parts used are an Arduino Uno, although an arduino with similar pin layout can be used.

A 50A Dual-Channel motor drive module-Arduino Compatible controller from elechouse Their motor library with some modifications to include braking and coasting. https://github.com/elechouse/motor

A metal hal sensor pedal bought on ebay. Metal Hall effect Scooter foot throttle pedal 'free shipping' jt2 generic

Also using the awesome ResponsiveAnalogRead library from Damien Clarke to smooth out the analog input.

The code have been written using the PlatformIO.