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

Описание к видео Two Axis Arduino Level with Gy-61 brought to you by SolderStick Wire Connectors

Get solderstick at 20% OFF with discount code "LE20" at https://www.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: https://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: https://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 www.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+ https://amzn.to/3UkTJOo
Oscilloscope: KIPRIM DS1202 https://amzn.to/3gfJGMN
Signal generator: Junctek JDS8080 shorturl.at/ehTZ1
Component Tester: T7 Multifunction https://amzn.to/3AYY03v
Soldering Station: Sealody ???????

Комментарии

Информация по комментариям в разработке