Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.48 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.48 KB

Light-tracker-ESP8266

Light tracking using micropython on ESP8266

Start of a project to make a sun tracker for a little solarpanel.

The ESP8266 only have one pin to read the input from the light dependandt resistors, so i ended up using GPIO4 and GPIO5 to power the resistors individually. The only problem was that the readings became a bit unreliable with that setup, by adding 2 diode's the current seemed to become more stable. To lower the voltage down to 1V a 10k resistor was used towards ground.

Parts so far:

1 x ESP8266 NodeMCU.

1 X 28BYJ-48 step motor

1 X https://www.clasohlson.com/no/Exibel%2C-solcellelader-med-USB-10-W/p/Pr388533000 This is what i scavenged both solar panels and the usb controller.

1 X The powerbank i use is one that can charge and be used at the same time and i have a few of. https://www.clasohlson.com/no/Clas-Ohlson,-Powerbank-6700-mAh/p/38-9060-1

1 X ULN2003APG step motor driver board.

2 X Light dependent resistors.

2 X Diode's.

1 X 10k resistor.

1 X Medium breadboard.

wires.

Connection schematic Schematic2_1

The solar panel "construction" solarpanel_construction

The electronic parts are cramed in to a box rated for outdoor use. There may be some tape covering the hole for cables electronics

Picture from the top of the setup Top

Picture from the side of the setup Side