Uploaded October 2019 | Updated September 2026, 2 weeks ago
• $5 for PCB prototype w/ 1~2 day turnaround: pcbgogo.com
==========
• Your support helps me post videos more frequently:
patreon.com/acrobotic
paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
twitter.com/acrobotic
facebook.com/acrobotic
instagram.com/acrobotic
==========
• My shops:
acrobotic.com/shop
amazon.com/shops/acrobotic
==========
• Description:
In this video tutorial I show you how to write firmware for the ESP32 (ESP-WROOM-32) to visualize sensor data in your projects. Specifically, I connect a 3-axis magnetometer (QMC5833/HMC5833) over I2C to the ESP32 and get heading data. The ESP32 also runs a web server which serves a webpage that uses the JavaScript library Babylon JS in order to render 3d objects using HTML5. I use the library to build a simple cylinder that allows us to visualize the orientation of the compass.
==========
• Related vids:
Getting started with the ESP32 using Arduino: youtu.be/-P7RD-DWVuA
Getting started with Websockets: youtu.be/ROeT-gyYZfw
ESP8266 Websockets Turntable Project: youtu.be/M4wDq8T0Pw4
==========
• Project code:
github.com/acrobotic/Ai_ESP32_Demos/tree/master/compass_visualization
QMC5883 Arduino library: github.com/dthain/QMC5883L
==========
• Project parts:
ACROBOTIC Development Boards for ESP32:
amzn.to/2D3KiA6 (affiliate)
amzn.to/303INZK (affiliate)
acrobotic.com/products/acr-00024
ACROBOTIC QMC5833L/HMC5833 3-Axis Magnetometer GY-271/GY-273:
amzn.to/32Zp27k (affiliate)
amzn.to/2VbKnaO (affiliate)
==========
• Sponsor:
This video was sponsored by PCBGOGO.
==========
• Music:
Epidemic Sound (https://epidemicsound.com). Standard YouTube License.
==========
#ESP8266 #ESP32 #Tutorial
• $5 for PCB prototype w/ 1~2 day turnaround: pcbgogo.com
==========
• Your support helps me post videos more frequently:
patreon.com/acrobotic
paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
twitter.com/acrobotic
facebook.com/acrobotic
instagram.com/acrobotic
==========
• My shops:
acrobotic.com/shop
amazon.com/shops/acrobotic
==========
• Description:
In this video tutorial I show you how to write firmware for the ESP32 (ESP-WROOM-32) to visualize sensor data in your projects. Specifically, I connect a 3-axis magnetometer (QMC5833/HMC5833) over I2C to the ESP32 and get heading data. The ESP32 also runs a web server which serves a webpage that uses the JavaScript library Babylon JS in order to render 3d objects using HTML5. I use the library to build a simple cylinder that allows us to visualize the orientation of the compass.
==========
• Related vids:
Getting started with the ESP32 using Arduino: youtu.be/-P7RD-DWVuA
Getting started with Websockets: youtu.be/ROeT-gyYZfw
ESP8266 Websockets Turntable Project: youtu.be/M4wDq8T0Pw4
==========
• Project code:
github.com/acrobotic/Ai_ESP32_Demos/tree/master/compass_visualization
QMC5883 Arduino library: github.com/dthain/QMC5883L
==========
• Project parts:
ACROBOTIC Development Boards for ESP32:
amzn.to/2D3KiA6 (affiliate)
amzn.to/303INZK (affiliate)
acrobotic.com/products/acr-00024
ACROBOTIC QMC5833L/HMC5833 3-Axis Magnetometer GY-271/GY-273:
amzn.to/32Zp27k (affiliate)
amzn.to/2VbKnaO (affiliate)
==========
• Sponsor:
This video was sponsored by PCBGOGO.
==========
• Music:
Epidemic Sound (https://epidemicsound.com). Standard YouTube License.
==========
#ESP8266 #ESP32 #Tutorial
![ESP8266 Analog Voltages for Controlling Webpage RGB Colors | ADS1115 ADC, Websockets, Arduino
• NextPCB offers 10% discount for PCB and PCB Assembly orders: https://nextpcb.com/activity_thermometer?code=ACROBOTIC
• Your support helps me post videos more frequently:
https://www.patreon.com/acrobotic
https://www.paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
• Find me on:
https://twitter.com/acrobotic
https://facebook.com/acrobotic
https://instagram.com/acrobotic
• My shops:
https://acrobotic.com/shop
https://amazon.com/shops/acrobotic
• Description:
In this video, I go over the process of building a device that allows me to turn 3 different analog voltages into corresponding level of red, green, and blue (RGB) color present on the background of a webpage. I use an ESP8266 connected over i2c to an ADS1115 4-Channel Analog-to-Digital Converter to translate analog voltages from 3 potentiometers into 16-bit digital measurements. The ESP8266 runs a webserver that serves a page and creates a websocket connection to that page. Then the ESP8266 sends the scaled ADS1115 values as part of a webpage served to web clients, using JavaScript the values set the color of the pages background in real-time!
• Related vids:
Getting started with the ESP8266 using Arduino: https://youtu.be/-P7RD-DWVuA
Getting started with the ESP8266 WeMos using Arduino: https://youtu.be/GQIT_NMhgFw
Getting started with Websockets: https://youtu.be/ROeT-gyYZfw
• Project parts:
ACROBOTIC WeMos D1 Development Board for ESP8266:
https://acrobotic.com/products/acr-00017
https://amzn.to/2K2TM2G (affiliate)
ACROBOTIC ADS1115 Analog-to-Digital Converter Board:
https://amzn.to/2Vmo04e (affiliate)
• Project tutorials:
Detailed guides for getting started with the WeMos ESP8266 Development Board:
https://learn.acrobotic.com/tutorials/post/wemos-d1-mini-esp8266-getting-started
• Project code:
Firmware for the Arduino IDE:
https://github.com/acrobotic/Ai_Demos_ESP8266/tree/master/webserver_rgb_websockets
• Sponsor:
10% off any PCB and PCB Assembly orders:
https://www.nextpcb.com/activity_thermometer?code=ACROBOTIC
$0 for PCB Prototype (5–10pcs, 1or 2 layers):
https://www.nextpcb.com/?code=ACROBOTIC
Learn more about PCB assembly:
https://www.nextpcb.com/pcb-assembly-capabilities?code=ACROBOTIC
Get points by daily logging in to your account and get discounted PCB and PCBA orders!
• Music:
Epidemic Sound (https://epidemicsound.com). Standard YouTube License.
NoCopyrightSounds
Track: Electro-Light - Symbolism [NCS Release]
Watch: youtu.be/ CRWE-L45k
Free Download / Stream: http://ncs.io/symbolism
Track: Electro-Light - Symbolism [NCS Release]
Watch: youtu.be/ CRWE-L45k
Free Download / Stream: http://ncs.io/symbolism
#ESP32 #Arduino #Tutorial ESP8266 Analog Voltages for Controlling Webpage RGB Colors | ADS1115 ADC, Websockets, Arduino](https://i.ytimg.com/vi/kynSxSl0uKY/mqdefault.jpg)









