HiFive1 Rev B

An open source, RISC-V development platform with wireless connectivity

Mar 31, 2019

LED Pendulum Demo

Since we launched the campaign two weeks ago, we have over 300 backers of this project. The production run of the HiFive1 Rev Bs are well underway and the PCBs are being fabricated.

As a fun little project, one of our engineers, Nate, created an LED pendulum using an LED light ring and an accelerometer connected to the HiFive1 Rev B. The LED ring lights up based on the rotation of the platform.

The primary components for the project are

Running on Zephyr, the application that runs on HiFive1 Rev B reads the effect of gravity on the accelerometer over I2C and lights up the corresponding LED using the SPI controller. The demo code is available at https://github.com/sifive/hifive1-revb-pendulum along with the instructions on how to build the hardware.

Happy hacking.


Sign up to receive future updates for HiFive1 Rev B.

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects