Board's applications

Both applications are structured in the following way to allow you to follow the exercises:

Power System Application (power-system folder)

Battery and power sense

Olimex schematic for GPIO 3 and 4

Onboard-computer (onboard-computer folder)

Peripherals

PeripheralPart numberCrateAddress
IMUICM-42670-P (Datasheet)icm426700x68
Temperature and HumiditySHTC3 (Datasheet)shtcx0x70

Exercises

Start with the power-system:

  1. Flashing Onboard LED - a blinky example for IO - power_system::application::run_blinky
  2. Battery measurement with ADC - measure and calculate the battery voltage and percentage - power_system::application::run_battery_measurement_adc
  3. Send Battery percentage over UART to the onboard-computer - power_system::application::run_uart

Continue with the next exercises in the onboard-computer:

  1. Receive battery percentage over UART from the power-system - onboard_computer::application::run_uart
  2. GNSS receiver - parse NMEA 0183 sentences - onboard_computer::application::run_gnss

Future ideas you can develop

In no particular order:

  • Power sense (power-system application)

    By soldering the jumper for GPIO 4 you can measure the voltage of the +5V Power in line. This allows you to know whether or not an external +5V has been provided (both from USB-C or other), that will charge the battery. Implement another status for the battery which is Charging/External power.

  • IMU (onboard-computer application) Using the I2C peripheral and the included IMU sensor on the onboard-computer, take readings of the

  • Humidity and Temperature sensor (onboard-computer application)