-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 Hardware Serial doesn't work #85
Comments
Hi, |
Please plug the voltage, it will work when voltage >0 |
Same issue Rx TX leds on sensor stay lit all the time. begin(9600,SERIAL_8N1,16,17); Code Im using Example of using one PZEM module with Hardware Serial interface.If desired, a HardwareSerial handle can be passed to the constructor Note that ESP32 HardwareSerial must also be provided with the RX and TX */ #include <PZEM004Tv30.h> void setup() {
} void loop() {
} |
The module is powered by AC. |
I managed to get it working with:https://github.com/jaggil/Control-of-meter-PZEM-004T-with-ESP32-Modbus?tab=readme-ov-file |
I am using the hardware serial on ESP32 but it seems doesn't work, the PZEM cannot give a response to ESP32. The serial monitor shows only.
Custom Address:0 Error reading voltage
I was think the command that give from ESP32 isn't send properly to PZEM. please fix it, thanks :)
The text was updated successfully, but these errors were encountered: