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 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:
CORE CODE
Adjust the color using the rotation sensor.
DISPLAY