I am working on ADE-9153A dev board.
I have successfully measured all parameters using Arduino. I have used same code which is provided by you ( with ADE 9153 lib).
As per your reference manual, we can also use ESP8266 (NODEMCU) board for same purpose.
I have used same Arduino IDE (with ESP8266 board added into board manager).
I populated resistor as per your indication in documentation to make SPI connection , also disconnect 5V SPI jumper. I also changed CS pin as per in program (for ESP) ,But when used Same ADE DEV Board with NODEMCU , There are lots of problems.
- First I faced WDT -Watch Dog Timer error, but finaally I fix it
- But My NODEMCU not communicate with ADE on SPI bus , any other changes require for it ???
I want to use NODEMCU 1.0 with ADE 9153A ?
What are the changes require in Code as well in hardware level ?
Pin you indicated in manual is for HSPI not for SPI, Is it valid ?
Any extra library require ?
Please reply as soon as possible.
If you have any reference design with NODEMCU and ADE 9153A then please also provide it (with code & library).
Require detail explanation....
The EV-ADE9153ASHIELDZ was tested with an ESP8266 board with the same library and example code. Let's verify that everything was correctly set on the hardware and software.
There should be no further steps, at this point communication should be working.
Find the latest library and example code here, https://github.com/analogdevicesinc/arduino.
I would like to ask you if you solved the described problem. I would like to use ESP8266 also, but I am not able to identify, where in IDE sketch should be defined pins (GPIO) for CF2 and IRQ. Both of them are connected to different GPIO for UNO/ZERO (CF2-->GPIO2, IRQ-->GPIO3) and for ESP8266 (CF2-->GPIO4, IRQ-->GPIO5 ).
Thank you for your answer in advance.
The example sketch does not define CF2 and IRQ because they are not used in the example. If you want to use those signals then define them with the other arduino/esp8266 pins.