Introduction: 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
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
- 1 Arduino Nano
- 1 ESP8266
- 2 Mini photovoltaic panels (solar panels)
- 1 diode 1N4001
- 4 resistors of 33k presicion
- 1 resistor 0.2 ohm
- 1 battery 6V 1.2 amp / h
- 1 sensor DS18B20 One wire - temperature
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:
Comments
Question 2 years ago on Step 2
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?