ADXL345 Datasheet Download here.Hardware Connections: You can use an Arduino Uno or Nano (the Nano is convenient for solderless breadboard use as it fits into one quite nicely). Here the ADXL345 is used on the Arduino in I2C mode so just connect SDA, SCL, power and ground: ...
How to Read ADXL345 Accelerometer Data with Arduino Ok, now let’s see how we can read the ADXL345 accelerometer data using the Arduino. This sensor uses the I2C protocol for communication with the Arduino so we need only two wires for connecting it, plus the two wires for poweri...
There are many people have been writing Arduino codes for this IMU, and there are even libraries available for these sensors. You can find the accelerometer ADXL345 libraryhere. This is an example code how to use the ADXL345 library. It takes sensor measurements, calculate a human friendly va...
For controlling the hovercraft, I used my DIY Arduino based RC Transmitter which I made in one of my previous videos. I set the right joystick to control the servo motor for positioning the rudders on the back side of the thrust motor, set one of the potentiometers to control the lift ...
If you’re interested, we have also go through the steps to handlingArduino’s serial reading and writingtoo, this in a separate tutorial. You Might Also Like Beginner Raspberry Pi Humidity Sensor using the DHT2213 min readRead More → ...