@retrotechandelectronics
  @retrotechandelectronics
Retro Tech & Electronics | A Quick ESP32 Compass Project with a GY-271 Magnetic Sensor Module @retrotechandelectronics | Uploaded December 2023 | Updated October 2024, 13 hours ago.
I had purchased a triple axis Magnetic Sensor module, model GY-271and today were going to use the devboard to put together a fun project with it. After soldering the supplied pins onto the board, It will be wired into the development board along with my 240x240 tft LCD display module and my 4x20 LCD module assist with the development.

We get underway in VScode with platform IO. Installing the relevant Alibraries and get through a few library challenges. A quick test of the supplied example and everything is working. Then its time to add the LCD to provide into so we can detach from the computer.

An example on the bench shows good function of XYZ on the LCD display. Now its time for the TFT LCD display. the tft_espi library is installed and configured for the LCD display. Basic code is added to test the tft display, a red colour means it worked.

Initially I was going for a simple design, instead I saw a project from a channel I enjoy , Volos Projects, link below, In this project there was a rotating gauge that I believe could be adapted to a compass.

Having downloaded the project it would need lots of changes to work in the compass project. Once those changes were made the implementation came out great.

HiLetgo GY-271 QMC5883L 3-5V IIC Triple Axis Compass Magnetic Sensor Module
amzn.to/3N5ONMI

MakerFocus TFT LCD Screen Display 1.3inch TFT LCD Module, 240x240
amzn.to/47YrcFH

Code on Github
github.com/jordancrubin/esp32_compass

Volos Projects Channel
youtube.com/@VolosProjects

#esp32 #platformio #arduino
A Quick ESP32 Compass Project with a GY-271 Magnetic Sensor ModuleESP32 Automated Irrigation Control System Project - PART 4 - Hardware AssemblyAntique Engine Show - Salmon Brook Historical Society, Granby CTDyson V11 Torque Drive - Unboxing Test and Torque drive problem head wont spin and repairYamaha Star 650 Valve Adjustment - Checking  and Adjusting PART 1 of 2Roomba I7+ - Unboxing and Review for Pet owners - Is it worth it?Heathkit Antique Fish Spotter Sonar MI-2901 DemoRoborock S8 Pro Ultra Maintenance for Performance and Odor ControlAntique Coleman 425 Stove Testing Out Different Fuels for PerformanceFender Blues Deluxe - Hybrid Troubleshooting and Repair AdventureFoodsaver FM3600 Not working - No Power, No lights - Troubleshoot whyDyson SV03 - V6 Slim Battery Not Charging Solution and Better Maintenance Technique

A Quick ESP32 Compass Project with a GY-271 Magnetic Sensor Module @retrotechandelectronics

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER