How to Make a Wifi System That Control Your Aquarium Lighting & Heating : 5 Steps - brownandareat
Institution: How to Make a Wifi System That Control Your Fish tank Light & Warming
What is it doing ?
A arrangement that switches along / off your marine museum automatically according to a scheduling or manually with a push button button surgery an net request.
A organisation that monitors the pee temperature and sends email and alerts in case off under or concluded-heating.
A system that can also be used A heating thermostat.
It plant with 3 different schedules that are pre-loaded and can be selected finished Internet request. For instance I defined one for working weeks, some other for holidays at home and a third for holidays out of home.
By doing thusly with the same light continuance you can more enjoy your aquarium when you are at home.
This takes part of a home automation computer architecture
Step 1: How Does It Make ?
The organization is supported ESP8266 and use GPIO and WIFI capabilities.
GPIO are victimised to control 2 relays and to read H2O temperature from a sensor. The system uses UDP to substitution data with a Linux server. The schedule is weekly / unit of time / time unit delimited. Apiece hour is divided in 8 parts of 7.5 minutes of duration. The pre-loaded schedule rear end be overwrite true Internet request. The system regularly sent data to the waiter so you fire remotely know the water temperature and light status.
It sends alerts and emails in case of overheating or under-heating.
Stair 2: What Do You Need to Do It ?
- 1 x ESP8266
- I choose the Olimex ESP8266-EVB that comes with 3.3 v power, a electrical relay and is high quality.
- 1 operating theater 2 relays
- 1 x DS18B20 waterproof temperature sensor
- 1 x 2N2222 switching transistor or equivalent
- 3 x resistors (100 ohms - 2.7K ohms - 4.7K ohms)
- 1 x button switch
- 1 x electrical box
- 1 x Prototype PCB
- 1 x FT232RL FTDI USB 3.3 V for uploading the software system
- 1 x 5v & 3.3v power
Ill-trea 3: How to Make IT ?
Catch entirely the required parts
Connect the parts on a breadboard
Solder components on a PCB
Put it beat the boxwood
Download the ESP8266 code https://github.com/cuillerj/AquariumControlSystem.
Use Arduino IDE to download the code inside the ESP8266
Step 4: Host Software
I suffer an integrated domotic infrastructure.
Data are stored in a MySql DB. I use Tomcat as a web server. 3 batches are for good running: one is acting as a time server, one is getting information from the ESP8266 and storing in the DB and one eventualy sends configuration update to teh ESP8266. All is running on a Linux server.
Time host is the only peerless compulsory (run UdpEsp8266ServerTime.java) (unless you add NTP livelihood inside the ESP8266 code).
I suggest to habituate the provided java code (consort traceDataReceived.java) to receive a look at the data the ESP8266 send before doing whatever you want.
https://github.com/cuillerj/AquariumControlSystem
Maltreat 5: Link Your Lighting and Warming Wires
At once it is time to test and eventually evolve your own host computer code.
Use USB Serial adaptor and the debug mode to test and develop. When you bequeath get what you require you will have to deal with electrical power. So you must be real careful. It could be dicey ! If you are not in use to doing with, ask someone help. You mustiness get in touch wires to the relays.
I modified a power outlet by cutting copper strip in order to get dedicated outlets for lighting and heating.
Be the First to Share
Recommendations
-
Anything Goes Contest 2022
Source: https://www.instructables.com/How-to-Make-a-Wifi-System-That-Control-Your-Aquari/
Posted by: brownandareat.blogspot.com

0 Response to "How to Make a Wifi System That Control Your Aquarium Lighting & Heating : 5 Steps - brownandareat"
Post a Comment