-
Notifications
You must be signed in to change notification settings - Fork 25
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
Analysis of original wifi-module to find powersource for ESP8266 #25
Comments
So far so good! As expected the ESP8266 will lose power when the sun has gone down and the inverter powers off. But this morning it was happily uploading to PVoutput again! Conclusion: yes it works, but it depends on your usecase if it is a suitable solution for you. |
I am investigating if it is possible to feed the ESP8266 and RS485-TTL-converter from the power that the inverter offers for the original wifi-module, instead of using an external USB-powersupply.
I carefully opened the original Goodwe wifi-module, it resembles a PCB ("190-00069-00") with a
Rakwireless RAK41X
module (P/N: 151-30028-00). According to a sticker on the module it usesRAK496
.With some Googling i found this interesting page which has pictures and wifi certification stuff about the chip, but also the datasheet of the chip (should the page go offline, i saved a copy of the datsheet here User-manual-2799522.pdf.
What i was interested in, is the voltage that the chip needs to work. It needs 3.3V according to the datasheet. On the PCB we see a TO-252 package, i suspect that this is a voltage regulator (haven't found datasheet yet). Following the traces to the white connector, i found out that power is supplied through pins 1 and 2. When measuring on the Goodwe while it is active, it supplies +5V on pin 1 and the GND is on pin 2.
I will investigate some more on the voltage converter, to find out if the Goodwe would be capable of powering our ESP8266's.
Some additional information: apparently the protocol that the wifi-module uses to talk with the inverter is
SPI
according to the datasheet. I think it uses pin 3, 4 and 5 for that. It is a bit unclear which pin does what. It looks like pin 4 is MISO but not sure. I will not investigate this further, as we already have working communications over RS485. I am just writing it down here, in case someone else could need it.To be continued.
The text was updated successfully, but these errors were encountered: