PowerWheels 2014 2014-Jun-09 electrical

From MakeICT Wiki
Revision as of 08:56, 22 June 2014 by John Harrison (talk | contribs)
(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 (connector shared with batt voltage: 3 pin)
a2 batt voltage (connector shared with analog current in: 3 pin)
a3 temp 1 (3 pin)
a4 temp 2 (3 pin)
a5 steering pot (3 pin)
d0 comm with Arduino I
d1 comm with Arduino I (2 pin)
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

Test Backup Motor Controller

Test to see if it cuts off at low power and how it reacts to PWM as its input for throttle:

need:

  • 1 battery
  • wires for battery
  • power supply
  • motor and wiring
  • oscilloscope
  • arduino with .1uF and 100K and 10K and 1K (for filtering pwm output if needed)