Index
Taking into account that we used a dual microcontroller we utilized various channels for serial communication. Our pipeline follows this structure:
Note that the first data package input occurrs in the camera, sending the following variables to the Raspberry Pi Pico:
In our case the Raspberry Pi Pico just works to format into String and prepare our data package in a way so the esp32 can interpret it and work with it.
Once the data has reached the esp32 the data management follows these steps:
- Reading data from serial input
- Initializing an array and an index
- Tokenizing the string
- Converting tokens to integer and storing in array
- Repeat the process until the 5 values have been populated
- Assigning parsed values to variables