Open luca-byte opened 1 month ago
Define an Arduino library to deal with the I2C connection to the Main Board
- [ ] Identify the data that the motors can receive from the main-board here
- [ ] Identify the data that should be sent back to the main-board here
- [ ] Define some functions to setup the I2C channel, to receive data, to send data.
The I2C master should send data to the motors board and request telemetry after a certain time has passed, so this is the main use case. The operations of calibration, update, reset without too much time without instructions will be completely carried out by the motors board
For more info on the I2C protocol and its Arduino implementation: Arduino Docs, Pico Docs
Tysm
This #2 should not be a problem until we want to use the temperature sensor
This #2 should not be a problem until we want to use the temperature sensor
It is because we need an ADC?
This #2 should not be a problem until we want to use the temperature sensor
It is because we need an ADC?
No, both the sensor and the main board are connected to the same channel, so they interfere as far as I understood it. But for now I think that we can focus only on board-to-board communication and move this problem further away
This #2 should not be a problem until we want to use the temperature sensor
It is because we need an ADC?
No, both the sensor and the main board are connected to the same channel, so they interfere as far as I understood it. But for now I think that we can focus only on board-to-board communication and move this problem further away
Ok perfect! (A great task for new members...)
Define an Arduino library to deal with the I2C connection to the Main Board
The I2C master should send data to the motors board and request telemetry after a certain time has passed, so this is the main use case. The operations of calibration, update, reset without too much time without instructions will be completely carried out by the motors board
For more info on the I2C protocol and its Arduino implementation: Arduino Docs, Pico Docs