YoVDO

Using an Arduino with Python - Analog Voltage Meter in VPython

Offered By: Paul McWhorter via YouTube

Tags

Arduino Courses Electrical Engineering Courses Python Courses 3d Modeling Courses Visual Programming Courses Vpython Courses

Course Description

Overview

Learn how to create an analog voltage meter using Arduino and Python in this comprehensive tutorial video. Connect a potentiometer to an Arduino to create a voltage divider, then read and transmit the voltage data to Python. Develop a realistic 3D model of an old-school analog voltmeter using vPython, animating it to display real-time voltage measurements from the Arduino. Follow along step-by-step to set up the Arduino, configure Visual Studio Code, and code the visual elements including the needle, background, and tick marks. Explore angle calculations, radian conversions, and parameter adjustments to fine-tune your voltmeter's appearance and functionality. By the end of this hands-on tutorial, you'll have created an interactive, animated 3D voltmeter that responds to actual voltage readings from your Arduino setup.

Syllabus

Introduction
Arduino Setup
Visual Studio Code
Sketchpad View
Angle Calculation
Coding
Finding the radians
Coding the needle
Creating a background
Moving the box
Moving the needle
Creating tick marks
Adding parameters
Adding color
Adding a tick mark
Homework


Taught by

Paul McWhorter

Related Courses

Using an Arduino with Python - Measuring Temperature and Humidity With the DHT11
Paul McWhorter via YouTube
Using an Arduino with Python - Modeling a Volt Meter in VPython
Paul McWhorter via YouTube
Python 3D Graphics - Understanding 3D Graphic Parameters
Paul McWhorter via YouTube
Axis IMU- Visualizing 3D Rotations in Vpython Using Quaternions
Paul McWhorter via YouTube
Axis IMU - Review of Basic Trigonometry
Paul McWhorter via YouTube