Tip:
Highlight text to annotate it
X
Hello my name is Manuel and I'm going to talk you about the proyect
Arduinos on the Rapsberry Pi for the Space Apps Challenge
The goal of my project is to emulate in a Raspberry Pi several Arduinos
for the next generation of ArduSat nanosatellites
The software consist of two parts:
A bootloader in the SD card of the Raspberry Pi that allow us
to upload the operating system via the serial port
I choosse to use ChibiOS as operating system for embbedded applications in real time
To emulate the Arduinos I implement a library that mimics the Arduino API
and allow us to complie Arduino code to run in ChibiOS threads
For each virtual Arduino there is a configuration that allow us to assciate
the virtual Arduino pins with the GPIO pins in the Raspbery Pi
Besides the Arduino threads I developed a thread to manage the system via the serial console
Thanks to serial commands is possible to read the serial console
of each virtual Arduino and to stop or resume their operation
The hardware of my project is a Raspbery Pi with 4 leds associated to each virtual Arduino,
a button associated to a virtual Arduino and two analog to digital converters
in the I2C bus connected to all virtual Arduinos
The advantages of emulating Arduinos in a Raspberry Pi for the Ardusat project
is that the sensors in the nanosatellite can be associated to diferent Arduinos
maximazing it's use betwen diferent experiments
Another advantage is that the Raspbery Pi can emulate tens of Arduinos thanks to it's 32 bits ARM processor
I hope you like it