We found a great tutorial for using an accelerometer’s tilt data on an FPGA over at Pyro Electro. In this particular project, they’re using an Altera DE0-Nano board (and using the built-in accelerometer), a breadboard, the DE0-Nano Development Suite software, (32x) 100 mega resistors, (32x) green LEDs, and jumper wires.
Check out the video above, and here’s a brief project overview to help explain this project:
The goal of this project is to create a system that can interface with an accelerometer using digital communication, find out the currently detected g-force detection and then translate that information into a +/- 1g value that will tell us how much the DE0-Nano has been tilted. Output should appear on an array of 32 LEDs.
Since I want to use the breakout board I made in this project, you definitely need to have a DE0-Nano to follow along. The DE0-Nano has a Cyclone IV FPGA and the on-board accelerometer is an ADXL345 13 bit 3 axis accelermoeter, but we’ll only use 1 axis of data.
Head on over to the full tutorial at Pyro Electro to get started with using tilt sensing on your FPGA board! It would be pretty cool to do this project on the Papilio – is anyone up to making an accelerometer wing?
- DE0-Nano FPGA Tilt Sensing (Pyro Electro)
(via Pyro Electro)