Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using an Arduino with Python - Visual Display of Measured Voltage in Visual Python

Paul McWhorter via YouTube

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

Reviews

Start your review of Using an Arduino with Python - Visual Display of Measured Voltage in Visual Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.