
DIY Microcontroller Projects for Hobbyists
By :

Firstly, we need to learn about two components: the solar panel and the voltage measurement sensor. After learning the basics, we can build our solar energy measurement system.
Sunlight carries energy. When sunlight collides with a semiconductor, some energy is changed into moving electrons, generating current. Solar cells (also known as photovoltaic panels or PV panels) were created to take advantage of all the sunlight that reaches our planet. When sunlight reflects off a PV panel, the current output is constant; this is known as direct current (DC) electricity. This DC can be used to charge batteries and power microcontrollers such as the STM32 Blue Pill.
The following screenshot shows a solar panel for use with electronic components, such as our solar energy demonstration system:
Figure 11.1 – Solar panel
To facilitate the connection and operation with this...