Hi,
I'm tryninig to setup an mqtt energy meter with CT clamps by using emonlib on esp32 Node-MCU (datasheet in attachment).
Boards seems not reading properly analog pins while wifi is activie even though I'm using ADC1 pins (GPIO 32,33,34,35).
Emonlib works fine without wifi (basic example sketch).
Could issue be associated with the esp32 Node-MCU board model?
Are there more suitable models for my scope?
thank you for your support.
regards
Please post your full sketch, using code tags when you do. This prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination
In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.