![]() Within the Arduino IDE enter the following lines of code. Once found, click the “ Install” ( 3.) button to proceed. Now, in the same window, search for “ Adafruit Unified Sensor” ( 1.) and find the library ( 2.). Install the latest version of the library by clicking the “ Install” ( 3.) button, as shown below.ģ. In this window, search for Adafruit ADX元45 ( 1.) and find “ Adafruit ADX元45 by Adafruit” ( 2.), it should be the only search result. To start, open up the library menu within the Arduino IDE by going to Sketch ( 1.) -> Include Library ( 2.) -> Manage Libraries ( 3.)Ģ. Writing code to read the data from the accelerometer is a relatively simple process thanks to the libraries that we can utilize.įor this Arduino project, we will be making use of the “ Adafruit Unified Sensor” library and the “ Adafruit ADX元45” library.ġ. If you are utilizing the Adafruit ADX元45 board, you can also use a 5V connection as that breakout board contains circuitry to level shift the voltage down to the required 3v. The circuit diagram below is also very helpful for connecting your Arduino to the ADX元45 correctly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |