Building a Power Monitor and Line Grapher

INTRODUCTION

This project provides students with a hands-on tool to deepen their understanding of physics concepts, particularly power. By measuring and visualizing the power consumption of various colored lights, this project not only serves as an educational aid but also ignites a spark for exploration in the fields of electrodynamics and optics.

 

 

HARDWARE LIST
1 WS2812-12 RGB LED Ring Lamp
1 Gravity: Analog Rotation Potentiometer Sensor
1 Wattmeter(EDU)
1 UNIHIKER M10

 

 

HARDWARE CONNECTION

 

 

KEY INFORMATION

The Wattmeter has a current measurement range of 0-500mA and a voltage measurement range of 0-26V. It employs high-precision sampling resistors with an error of only one-thousandth, making it fully meet the needs of teaching. In terms of communication interfaces, the product uses an I2C interface and is equipped with a 2-channel address switch, allowing for the setting of 4 different I2C addresses. This effectively avoids address conflicts and meets the requirements for multi-channel data measurement.

The interface indication diagrams for the power meter are as follows:

 

 

STEP 1
Connect hardware
STEP 2
Open the file attached
STEP 3
Run the program

 

 

CORE CODE

Adjust the color using the rotation sensor.

 

 

DISPLAY

icon power.zip 340KB Download(0)
License
All Rights
Reserved
licensBg
0