Files

copied
Last update 6 months 5 days by Benkess
FilesMotorBoard
..
Documentation
Libraries
Motor-backups
output
.gitignore
CANCommunication.sch
Connectors.sch
DigitalPot.sch
ExternalClocks.sch
InputProtection.sch
IsoCANCommunication.sch
MCU.sch
Motor-cache.lib
Motor-rescue.dcm
Motor-rescue.kicad_sym
Motor-rescue.lib
Motor.csv
Motor.kicad_pcb
Motor.kicad_prl
Motor.kicad_pro
Motor.net
Motor.pro
Motor.sch
Motor.xml
PWM.sch
PowerPathing.sch
README.md
Reset.sch
STLink.sch
file604B3F08.sch
fp-lib-table
switchingLogic.sch
sym-lib-table
README.md

Motor Board Documentation

The Motor Board uses two <![CDATA[]]>AD5175 digital potentiometers<![CDATA[]]> to control the throttle and regen values in the motor control. The AD5175 IC has a configurable address pin that allows the user to select the lower two bits of the device's I2C address.

The data sheet specifies that tying ADDR to GND will set A1 and A0 to 11, trying to VDD will set to 00, and leaving it floating will set to 10. Although the throttle and brake digital pots will be on different I2C, we've still chosen to set different addresses for each device. This will provide extra redundnacy and prevent a regen value from ever being sent to the throttle input, or vice versa.

We've chosen somehat arbitrarily to tie the regen digital pot's ADDR pin to VDD, and the throttle pot's ADDR pin to GND. Thus, the address of the regen pot will be 0101100, and the address of the throttle pot will be 0101111.

Report a bug