Rotating Video Demo logo

Rotating Video Demo

Rotation Sensing Content Demo

This package shows how the BNO055 sensor from Adafruit can be used to build content that reacts to rotation changes. Right now it's a simple video player that endlessly plays a single video and overlays a scaling Hello World text. Of course more complicated integrations could be done. It's really only limited by your imagination. Here's a small demo:

Hardware setup

You can see the required wiring in the following picture:

Wiring

If you don't have a breadboard you can also connect the PS1 input to the other 3.3V output pin on the Pi.

The package service uses the BNO055.py module. A minor modification has been made so it works with the info-beamer GPIO code in hosted.py.

info-beamer setup

You'll need info-beamer OS version 10 running on your device. Right now that's only available in the testing channel. You can easily upgrade your device on the device page (Manage > Activate testing channel).

In addition you'll need to enable UART. For that create the file config/userconfig.txt on the SD card of your info-beamer device and add the following content:

enable_uart=1
dtoverlay=uart1

Once all that's done, you're ready to run this package: Import it (just click the import link above) and create a setup. Set a video and then assign the setup to your device. After a few seconds the background service should start running and keep the current rotation updated.

Want to run Rotating Video Demo on your Raspberry Pi?

This package is ready to run on your Raspberry Pi using info-beamer.com hosted. Easily manage unlimited number of Raspberry Pi devices and centrally configure and run visualizations like this on them. info-beamer.com is a prepaid service. You only pay for the resources you are using. No long term commitment, no hidden fees. Learn more...

Compatible devices

pi-1 pi-2 pi-3 pi-cm1 pi-cm3 pi-zero pi-zero-2

Offline support

Maybe This package might work offline: Package provides no offline support information. Also check the information above.

Source code for this package

https://github.com/info-beamer/package-bno055-demo shows you the full source code of this package so you can freely modify it if you want.

Copyright