App
USA
Download this App

In order to use this app, you need Synthiam ARC software.

JD with MPU6050 Accelerometer

JD with MPU6050 Accelerometer
AuthorRod
Created
Last updated

This JD example uses the EZ-Bit MPU6050, which is an accelerometer, gyro and temperature sensor available in the ez-robot store.

The script "Update Gyro" is called when connection occures. The "Update Gyro" script will initialize the MPU6050 and continue to loop while checking for two things...

  1. The script checks if an Auto Position is currently running. If so, it restarts the loop

  2. The script then checks to see if the accelerometer data is outside of the "standing" range. If so, it executes the respective Auto Position to stand up. Either from the Front or Rear.

enjoy your JD!


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.