mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
256 stars 108 forks source link

i use esp32 with hardware serial pin 16 and 17, i read sensor 3s/1time, when i read 10 times, it is miss about 4 times. #86

Open lequangthinhhaui opened 2 years ago

lequangthinhhaui commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

sim0njo commented 2 years ago

What ESP32 are you using.. WROOM or WROVER.

pins 16/17 are fine for WROOM but cannot be used on WROVER as they are for PSRAM comms