桂花蒸

SH-201_Smart solar power meter

 
Overview

SH-201_Smart solar power meter

 

3.2-inch large screen voltage and ammeter

 

Q group 565264047 Welcome to play~

If you need cooperation, please contact the email root@an-ye.top

 

 

 

For burning, you need to use " Cube-101_esp-tool burning and debugging tool ", and insert it into the TYPE-C port forward, as shown in the picture above

 

Code open source repository: https://github.com/panyihang/SH-201_power-moniter

Being updated, the code is not perfect yet, though. . . It’s not that it can’t be used (everyone is welcome to suggest PR)

 

0x00: Preface

 

Bilibili's "Low-Cost Home Power Station" series has officially begun to fill in the gaps. Sorry, it's been a long time ago.

 

0x01:Update instructions

"2022.06.23 Ver0.2" Modify the LED power supply. The original solution has insufficient current. Adjust the wiring and modify the RP2040 package.

"2022.07.08 Ver0.3" Replace the MCU and use ESP32S2

 

0x02: Hardware part

 

  • Main control MCU: ESP32S2
  • INA199 current sensor
  • AHT21 temperature and humidity sensor
  • TFT8K2798 screen, the display effect is OK
  • Magnetic suction on the back, easy to fix on the wall (requires wall support) ps: Tutorial on magnetic suction on the wall is on the back

 

0x03: Software part

 

  • System: Arch Linux
  • Development environment: Esp-idf 4.3
  • Display frame: LVGL7.2 (modified underlying functions, not universal)
  • Based on Espressif's official porting project lv_port_esp32

 

0x04: Compilation/development/burning instructions

Compile & burn commands:
Development environment esp-idf 4.3, Arch linux
 
cd xxx(工程目录下)
. ~/esp/esp-idf-4.3/export.sh 
idf.py build
(Plug in the board at this time)
idf.py flash
 
Comes with instructions for burning binary files using esptool.py
Burning command:
(PORT)   Depends on operating system and burning method, for example:
/ Manual USB burning Cube-esp-tool fast burning
Linux /dev/ttyACM[X] /dev/ttyUSB[X]
Windows COM[X] COM[X]

 

 

0x05: How to build a wall that supports magnetic suction (ultra-low-cost version)

 

The Fe3O4 powder magnetic area is black and gray and cannot be changed.

Fe powder looks just a little yellowish, and the original color can basically be seen, but it is not recommended to use in the humid south.

 

First, prepare 100g of interior wall latex paint of any color (1000g costs about 8 yuan, don’t buy too much, you won’t be able to use up...)

Then you need an appropriate amount of Fe3O4 powder, 325 mesh and below is enough (50g is about 4 yuan)

Mix together and stir until smooth

Finally, start applying it to the wall, remember to apply it several times more

Be sure to define areas with textured paper to prevent ragged borders. . .

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-10 11:40:44

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号