Two Axis Arduino Level with Gy-61 brought to you by SolderStick Wire Connectors @learnelectronics
Two Axis Arduino Level with Gy-61 brought to you by SolderStick Wire Connectors  @learnelectronics
Uploaded July 2023 | Updated November 2026, 1 day ago
Get solderstick at 20% OFF with discount code "LE20" at solderstick.com/sale

In this video I demonstrate how you can use a GY-61(ADXL335) accelerometer as a dual axis level. We use an Arduino Uno for the processing and a .96" OLED display as our interface. You can download the sketch here: pastebin.com/992f07s7

The idea is quite simple. We take an initial reading to establish X and Y 0 points. The we sample repeatedly. The difference between the initial sample and the repeated sample is the error with is plotted on the screen as a ball in a circle. If the ball is contained in the circle you are level in two axis's. If the ball is outside the circle, move the device under test in the opposite direction of the ball.

*************************************************************************
*Please help support this channel at NO COST TO YOU. If you shop on* *Amazon, please use this link: amzn.to/3706t6c *
*I will get a small commission and it costs you nothing. *
*************************************************************************

HEY YOU ABOUT TO POST SOMETHING STUPID:
Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: https://cle.clinic/2TdS2Ux
One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face..
-------------------------------------------------------------------------------------------------------------------
Support learnelectronics:

Amazon Store:
If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics

Patreon:
Please check out patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. Your help is appreciated.

Paypal:
Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
---------------------------------------------------------------------------------------------------------------------

Gear I use:

Multimeter: OWON B33+ amzn.to/3UkTJOo
Oscilloscope: KIPRIM DS1202 amzn.to/3gfJGMN
Signal generator: Junctek JDS8080 shorturl.at/ehTZ1
Component Tester: T7 Multifunction amzn.to/3AYY03v
Soldering Station: Sealody ???????
Two Axis Arduino Level with Gy-61 brought to you by SolderStick Wire ConnectorsMustool MDS120MC2 Hand Held Oscilloscope & Function Generator from BangGoodThe Lowest Cost IP Webcam You Can Buy - The ESP32CAMMetal 3D Printed Thank You Coins: Modeled by Me, Printed in Stainless Steel by 3DJLCPCBArduinos New and Old - A Comparison of the Arduino Uno R3 to the new Arduino Uno R4 Wifi and MinimaMaking a Simple Relaxation Oscillator With A 74HC04 Hex Inverter and RC NetworkThe Best Beginner 3D Printer in 2023 -  Creality Ender 3 V3 SECreality Ender 3 V3 600mm/s Core XZ All Metal 3D Printer Full Review$5 Dollar General Solar Accent Light Tear DownUnboxing, Setup, and First Prints: Sovol SV07 - Sponsored by SolderstickGibson Skylark Amp Restoration P1 - brought to you by SolderstickEven More Temu Electronic Goodies
learnelectronics |

Two Axis Arduino Level with Gy-61 brought to you by SolderStick Wire Connectors

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER