i am new to arduino I want to measure the variation in the acceleration using accelerometer ADXL345. I want to connect two accelerometer to Artduino such that I can measure two acceleration simultaneously. Then how to connect two accelerometer to one arduino uno? What does SDA exactly mean? Can we connect SDA pin of accelerometer to any analog input pin of arduino?
What does SDA exactly mean?
Seventh Day Adventist
or maybe
Can we connect SDA pin of accelerometer to any analog input pin of arduino?
That depends on which accelerometer you are referring to. If it is an I2C device, the answer is no. It must be connected to a specific pin. Which pin depends on which Arduino.
SDA = Serial Data
SCL = Serial Clock
gauravyeole:
Can we connect SDA pin of accelerometer to any analog input pin of arduino?
No, you connect the SDA pin to the SDA pin on the Arduino. Which one that is depends on the Arduino.
On the Uno it happens to be A4 and SCL is A5.
The more recent Unos have a separate couple of pins (which connect to the same thing).
