PowerWheels 2014 2014-Jun-09 electrical

From MakeICT Wiki
Revision as of 13:31, 17 June 2014 by John Harrison (talk | contribs) (Created page with "Two Arduinos will connect to each other through hardware serial. One is the display and maybe wifi. The other monitors temperatures, throttle, etc. and sends data to the motor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Two Arduinos will connect to each other through hardware serial. One is the display and maybe wifi. The other monitors temperatures, throttle, etc. and sends data to the motor controller

Arduino I

This is a repurposing if John's old temperature logger. 2 7-segment LED digits and a wifi module. It also has a 1-wire Dallas Semi temperature module but reading from the module with the Dallas Semi library causes hiccups in the main loop.

Arduino II

a0 analog throttle in (3 pin)
a1 analog current in (3 pin)
a2 temp 1 (3 pin)
a3 temp 2 (3 pin)
a4 steering pot (3 pin)
a5
d0 comm with Arduino I
d1 comm with Arduino I
d2
d3 PWM1 (2 pin)
d4
d5 PWM1 smooth (2 pin)
d6 PWM2 smooth (2 pin)
d7 brake 1 (2 pin)
d8 brake 2 (2 pin)
d9
d10
d11 PWM2 (2 pin - wires)
d12
d13 debug LED