Overview
Learn to create a real-time 3D visualization of voltage measurements using an Arduino and Python in this 45-minute tutorial. Build a voltage divider with a potentiometer, connect it to an Arduino, and transmit the binary values to Python. Clean and process the data, then use Visual Python to construct an animated 3D model that dynamically represents the voltage readings. Explore hardware setup, coding in Arduino and Python, serial communication, data processing, and 3D visualization techniques. Gain hands-on experience with the Elegoo Super Starter Kit, and enhance your skills in integrating hardware with software for interactive data representation.
Syllabus
Introduction
Hardware Build
Coding
Calling Visual Studio Code
Creating Serial Port Object
Reading Serial Port Data
Reading Data Packet
Clean Data Packet
Combining Data Packets
Real World Voltage
Math
Potval
Equation
Round Voltage
Import Python Library
Create Voltage Tube
Change Tube Length
Assign an Axis
Setting the Length
Adding a Label
Moving the Label
Homework
Taught by
Paul McWhorter