News
This example code wakes the onboard indicator (LED at D13) of the Arduino when a tilt is inputted by the tilt sensor module through the occupied digital input (D2). Just copy-paste this code into your ...
With just a little bit of code, this 3D tilt sensor becomes a six-way switch to control an RGB LED. Video of that below.
At the heart of the bot is the MPU6050 – a combo accelerometer/gyroscope sensor that keeps track of tilt and movement. An Arduino Uno takes ... be compensated in the code.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results