In this article you will find out what an accelerometer is and how to use it
DESCRIPTION
Accelerometeris an instrument that measures the projection of apparent acceleration (the difference between an object's true acceleration and gravitational acceleration). The sensor is Lego and Arduino compatible.
Technical description:
– Size (L*W*H): 40x24x24 – Lego compatible body – The sensor reads the acceleration vector, encodes it and transmits it to the controller via the I2C bus. – Working voltage: 3.3V – Connector for connecting to another device: F-dupont 4pin
Functionality when connected to the RED X controller:
Acceleration vector measurement.
Accelerometer connecting scheme
Program example:
*Physically, If you tilt the accelerometer along the X axis by 80°, then the servomotor connected to port D1 rotates by 0°; If you tilt the accelerometer along the X axis by 0°, then the servomotor connected to port D1 rotates 180°.