Главная
Study mode:
on
1
Introduction
2
Arduino Setup
3
Visual Studio Code
4
Sketchpad View
5
Angle Calculation
6
Coding
7
Finding the radians
8
Coding the needle
9
Creating a background
10
Moving the box
11
Moving the needle
12
Creating tick marks
13
Adding parameters
14
Adding color
15
Adding a tick mark
16
Homework
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it 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.

Using an Arduino with Python - Analog Voltage Meter in VPython

Paul McWhorter
Add to list
0:00 / 0:00