ESP8266 + Arduino Solar Charger to Emoncms

5.4K262

Intro: ESP8266 + Arduino Solar Charger to Emoncms

In this case it has been used an Arduino Nano and ESP8266 module for monitoring temperarure, voltage of 2 solar panels, measuring voltage and current of a battery of 6 VDC.

More Info

Blog PDAControl English

Blog PDAControl Español

Emoncms (Openenergymonitor)

We used this platform to record and graph changes in the variables mentioned above, this platform uses mysql and performs sending data via JSON from the ESP8266 module, Emoncms platform is mounted in this case on my server on windows.

That Is Emoncms Openenergymonitor ?

Meet Emoncms from Raspberry pi ...

Arduino Emoncms Python on Windows ....


The idea

Monitor and charge the battery in the process and experience...

STEP 1: Components and Materials Required for Testing

  • Components and materials required for testing

Assemble

photovoltaic panels have achieved the 2 lamps for garden.

2 voltage dividers for measuring converters arduino Analogues are created.

STEP 2: Testing


During testing the system given the large amount of sunlight had a time of 2 days given the freciencia shipping data and high consumption of Arduino 1+ ESP8266, the results were satisfactory since the voltages, currents were recorded and Emoncms temperatures in the platform.

More info:

Blog PDAControl English

Blog PDAControl Español


Code Git Hub Jhon_Control

More tests and similar examples ...

Comments

I have made it, but I can't connect with the local server, the monitor gives me this message:

16:43:56.975 -> AT+CIPSTART=”TCP”,”192.168.xxx.xx”,80

16:43:56.975 -> CONNECT

16:43:57.029 ->

16:43:57.029 -> OK

16:43:57.978 -> AT+CIPSEND=144

16:43:57.978 ->

16:43:57.978 -> OK

16:43:57.978 -> >

16:43:59.135 -> Recv 144 bytes

16:43:59.135 ->

16:43:59.135 -> SEND OK

16:43:59.135 ->

16:43:59.135 -> +IPD,487:HTTP/1.1 400 Bad Request

16:43:59.182 -> Date: Sat, 13 Mar 2021 15:43:59 GMT

16:43:59.235 -> Server: Apache/2.4.38 (Raspbian)

16:43:59.282 -> Content-Length: 303

16:43:59.282 -> Connection: close

16:43:59.336 -> Content-Type: text/html; charset=iso-8859-1

16:43:59.336 ->

16:43:59.336 ->

16:43:59.436 ->

16:43:59.436 -> 400 Bad Request

16:43:59.436 ->

16:43:59.483 -> Bad Request

16:43:59.483 -> Your browser sent a request that this server could not understand.

16:43:59.583 ->

16:43:59.583 ->

16:43:59.583 -> Apache/2.4.38 (Raspbian) Server at localhost Port 80

16:43:59.636 ->

16:43:59.683 -> CLOSED

16:44:01.122 -> AT+CIPCLOSE=0

16:44:01.169 -> MUX=0

16:44:01.169 ->

16:44:01.169 -> ERROR

Could you help me figure out where I'm wrong?