This repo contains the firmware for the Environmental board board.
Under heavy development!
- MCU: CMWX1ZZABZ-091 LoRa®/Sigfox™ module (Murata)
- CAN: MCP25625 (integrated transiver)
- Multiple Feather compatible sensors
- On start we read the resistors which are there to set the CAN ID
- We init the CAN module (MCP25625)
- We init the sensors we have defined
- Send the CAN and MCU to sleep
- IF we get an interrupt on CAN
- read sensor data
- store the sensor data
- send back all avaible sensor data to master
- IF the mcu wakes automatically after timer
- read sensor data
- store the sensor data
- Go back to 4.