I will provide a sheet sheet that I found online that helped in setting up which addresses to READ and WRITE to. The biggest challenge in my opinion when building this was understanding exactly what each address represents internally in the accelerometer chip. As for how we orientate the matrix, unfortunately for it to follow the orientation of the accelerometer, I was not able to secure it, instead I taped it down to the board to hold it securely. It also happens to take up only 3 pins on the Arduino Uno which is a plus. I decided to use the MAX7219 LED Driver to minimize the setup and the number of wires needed. This was made as a demonstration of how you can utilize both the chip, and how to display its results in the Serial monitor and physically through the LED matrix. The ADX元45 is well suited to measures the static acceleration of gravity in tilt. Digital output data is formatted as 16-bit twos complement and is accessible through either an SPI (3- or 4-wire) or I2C digital interface. I made this project as a stepping stone toward larger projects that involve the ADLX345 accelerometer. ADX元45 3 Axis Accelerometer: ADX元45 is a 3-axis accelerometer with high-resolution (13-bit) measurement at up to ☑6 g. To run this project, simply follow the wiring diagram, and then run the code in your Arduino IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |