Move wheel speed sensor to the motor ESP32 #1

Closed
opened 4 years ago by novirium · 1 comments
Owner

Think it might be better to shift the wheel speed sensor over to the same ESP32 that's already handling the shaft speeds. It'd involve cutting a trace on the PCB and adding a jumper wire.

In the firmware, it'd probably necessitate a shift toward labelling things as "shaft speed", and have arrays 4 units wide. Then have some contants for each sensor index defined in the header.

Think it might be better to shift the wheel speed sensor over to the same ESP32 that's already handling the shaft speeds. It'd involve cutting a trace on the PCB and adding a jumper wire. In the firmware, it'd probably necessitate a shift toward labelling things as "shaft speed", and have arrays 4 units wide. Then have some contants for each sensor index defined in the header.
novirium added the [status] Available [type] Enhancement labels 4 years ago
Poster
Owner

On second thought - maybe not. I know it'll wind up duplicating code to do the wheel speed sensor on the primary ESP32, but that way the decision and management of manual override periods (and whether the automatic control is enabled or not) is all contained in the primary ESP32, rather than needing to be catered for in the I2C comms between the two.

On second thought - maybe not. I know it'll wind up duplicating code to do the wheel speed sensor on the primary ESP32, but that way the decision and management of manual override periods (and whether the automatic control is enabled or not) is all contained in the primary ESP32, rather than needing to be catered for in the I2C comms between the two.
novirium closed this issue 4 years ago
novirium added [status] Done and removed [status] Available labels 4 years ago
Sign in to join this conversation.
Loading…
There is no content yet.