Hello everyone ,
i'm working a smart meter project with EV-ADE9153ASHIELDZ , my IC was working well with the arduino UNO , but when i tried to move to Teensy LC , i found that i should disconnect the 5 V SPI jumper and connect a 3 V SPI jumper so i did it
but my ADE no longer works and the diodes do not light up when i connect the SPI port to the Teensy
You really need to show your setup. Can you measure 3v? are you supplying 3v? The 3v I think is supplied by the esp8266 socket. you will need to bring over 3.3v
hello dave.smith thank you for your answer , yes thes Teensy LC deliver 3.3v and i can measue it ,
i powered the Shieldz with an external 5V source , but the i get no response from the ADE9153A when i configured the teensyLC as
i used the example code https://github.com/analogdevicesinc/arduino/blob/master/Arduino%20Uno%20R3/examples/ADE9153A_examples/ADE9153AAPI_Test/ADE9153AAPI_Test.ino
and just change the slavePin to 10
You need to supply the shield with 3v3 the 5v is only for 5v there is no onboard 3v3 reg. Connect a wire from the teensy to the 3v3 on the shield. You can verify this by measuring the 3v3 on the shield when powered with 5v. There will be no 3v3. IF the esp8266 was installed it supplies the 3v3 to the board. Check for 3v3 as indicated below. This is were you should connect 3v3 from the teensy.
when i supplied the shield with 3.3V on the 3.3V in of the shield it doesn't work
but when i connect the 3V3 to the 5v in of the shield it the diodes light up ( but without any result on the response from SPI )
It is my first time with SPI and i'm confused , does the connection with only SPI can supply power to the ADE ?
do i have to do this connection even if i'm not going to use the pins of the esp8266 ( juste connection on the Pin for arduino ) ??