Skip to end of metadata
Go to start of metadata
Quick Links:
Architecture:
- In terms of outputs, this board should also be pretty simple (slave, you tell it to turn on a specific board, instead of going to some fault mode, which implies a whole set of boards.)
- It can find out faults! DCDC, and AUX can be sources of faults.
GPIO Outputs:
Expander 0x20:
- PB13_interrupt
- Solar Telemetry DSEL
- Cam Charger DSEL
- Spare DSEL
- Spare DSEL
- Rear Turn Light DSEL
- Rear Brake Light DSEL
- Strobe CTR BRK DSEL
Expander 0x21:
- PB14_interrupt
- solar_sense_en
- telemetry_en
- charger_en
- rear_camera_en
- bms_carrier_en
- motor_interface_en
Expander 0x21:
- PB4_interrupt
- rear_light_turn
- rear_left_turn
- rear_light_brake
- rear_left_brake
- strobe_light
- centre_brake
Modules:
- rear_power_distribution_can
- Receives can messages and raises events.
- Receives events and sends can messages
- aux_monitor
- gpio_expander_stuff
Libraries
- MCP23008 Driver
- initialize
- set_gpio_states