Difference between revisions of "PowerWheels 2014 2014-Jun-09 electrical"

From MakeICT Wiki
Jump to navigationJump to search
 
Line 7: Line 7:
 
{| class="wikitable"
 
{| class="wikitable"
 
|a0
 
|a0
|analog throttle in (3 pin)
+
|'''analog throttle in (3 pin)'''
 
|-
 
|-
 
|a1
 
|a1
|analog current in (connector shared with batt voltage: 3 pin)
+
|'''analog current in (connector shared with batt voltage: 3 pin)'''
 
|-
 
|-
 
|a2
 
|a2
Line 16: Line 16:
 
|-
 
|-
 
|a3
 
|a3
|temp 1 (3 pin)
+
|'''temp 1 (3 pin)'''
 
|-
 
|-
 
|a4
 
|a4
Line 30: Line 30:
 
|-
 
|-
 
|d1
 
|d1
|comm with Arduino I
+
|'''comm with Arduino I (2 pin)'''
 
|-
 
|-
 
|d2
 
|d2
Line 36: Line 36:
 
|-
 
|-
 
|d3
 
|d3
|PWM1 (2 pin)
+
|'''PWM1 (2 pin)'''
 
|-
 
|-
 
|d4
 
|d4
Line 48: Line 48:
 
|-
 
|-
 
|d7
 
|d7
|brake 1 (2 pin)
+
|'''brake 1 (2 pin)'''
 
|-
 
|-
 
|d8
 
|d8
Line 60: Line 60:
 
|-
 
|-
 
|d11
 
|d11
|PWM2 (2 pin - wires)
+
|'''PWM2 (2 pin - wires)'''
 
|-
 
|-
 
|d12
 
|d12

Latest revision as of 09:56, 22 June 2014

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)