SenseHAT with PyBoard
Posted: Wed Mar 23, 2016 10:25 pm
Uses the Custom interface board (described http://forum.micropython.org/viewtopic.php?f=5&t=1268) to connect a Pyboard with a SenseHAT board (https://www.raspberrypi.org/products/sense-hat/).
But you can of course also manually wire the I2C bus, 3V3 and 5V to the SenseHat and avoid the interface board.
The SenseHAT contains a lot of sensors, so most of the work was to write drivers for the LED matrix, joystick, pressure, humidity, and temperature sensors... see an example of displaying all those values on the LED matrix:
https://www.youtube.com/watch?v=PeZRtHPF3iU
And lastly the 9 DOF (gyro/accel/magnetometer) IMU sensor which was the most complex one.
Using @pythoncoders fusion.py I was able to calcualte the pitch, roll, yaw angles. I show a simple example of this in the video
https://www.youtube.com/watch?v=LYzvXsxPtbw.
Here goes a big thanks to @pythoncoder - using the fusion algorithm worked without problems!
All the code used can be found on my github page:
https://github.com/hoihu/projects/tree/master/raspi-hat
But you can of course also manually wire the I2C bus, 3V3 and 5V to the SenseHat and avoid the interface board.
The SenseHAT contains a lot of sensors, so most of the work was to write drivers for the LED matrix, joystick, pressure, humidity, and temperature sensors... see an example of displaying all those values on the LED matrix:
https://www.youtube.com/watch?v=PeZRtHPF3iU
And lastly the 9 DOF (gyro/accel/magnetometer) IMU sensor which was the most complex one.
Using @pythoncoders fusion.py I was able to calcualte the pitch, roll, yaw angles. I show a simple example of this in the video
https://www.youtube.com/watch?v=LYzvXsxPtbw.
Here goes a big thanks to @pythoncoder - using the fusion algorithm worked without problems!
All the code used can be found on my github page:
https://github.com/hoihu/projects/tree/master/raspi-hat