MAX® 10 FPGA – G-Sensor Light Sensor LCD Design Example - This demonstration shows a bubble-level implementation based on a digital accelerometer. We use the I2C protocol to control the ADXL345 digital accelerometer and the APDS-9301 Miniature Ambient Light Photo Sensor. The LCD displays the interface of our demo. When tilting Terasic's MAX® 10 FPGA NEEK board, the ADXL345 measures the static acceleration of gravity. In our Nios® II processor software, we compute the change of angle in the x-axis and y-axis, and show the angle data on the LCD. The value of the light sensor will change as the brightness changes around the light sensor. - 2016-05-17

Version
16.0.0