Minggu, 21 Mei 2017

Water Keeper


Introducing

Welcome to my first english version blog.  First i'm so glad to thank you for visiting my blog. This blog I made to improve my english skill.

Okay, today i will post about my recent project called 'Water Keeper'. So What is the project for?
Simply this project is an IoT project. It used for water level monitoring through an Android. It's a solution for saving Water and Electricity.


WHAT do we need?


To build this project you will need some parts bellow:

  1. HC-SR04 Ultrasonic sensor, this to measure water level
  2. SPST Switch
  3. Female header 1x40 pin
  4. DC jack
  5. Block header
  6. 470uF/16v, 100uF/16v capasitors
  7. 390Ohm, 2x220Ohm, 10k Resistors
  8. 1N4007 Diode, red LED (another colors is possible)
  9. IC LM317T, this is an adjustable voltage regulator. In this project it  will be set to 3.3V. 
  10. The main part is ESP8266, this is an Wi-Fi module. You have to supply this module with 3.3V otherwise you will broke it
  11. an FTDI programer or you can use an Arduino uno +USB cable, this is used to upload code
  12. 9V battery, this to supply the entire project
 You will also need these tools:
  1. a solder iron
  2. Solder remover (if needed)
I will not show you the whole parts needed in details. The reason is i assume you already knows it.
Download Eagle files here. Also you have to download Cadsoft Eagle if you dont have one yet.

HOW does it work?


It so bore to discuss more about theory. We just have to know some principle work. See work-chart above.

Coding

Arduino IDE is the easiest way to program a microcontroller. It's simple, easy to understand and absolutely open source. There are so many on the go library that you can easily understand. If you dont have Arduino IDE you can download here


Download code here

In default arduino will not support to ESP8266 soy ou have to add ESP8266 board and some libraries. The simplest way to do that just follow these step below.

  • Open Arduino IDE
  • Click File>Preference
  • Paste this URL to additional boards manager textbox http://arduino.esp8266.com/stable/package_esp8266com_index.json



Upload the code to ESP8266

connect ESP8266 to Arduino uno board and hit upload button



Now your ESP8266 is ready.

APP


To communicate with our Waterkeeper we use an App. I build the App using AppInventor2. I will not show you how to build the App. You can just download it here

Congratulation!!! You just have finished your IoT project. Is any simpler project? You can send me message through my G-mail account if you're interested to this project. This is my email address ahmadfathan1021@gmail.com. You call also message me via Whats App using this id +6282385014930. You can take online course with just $25 per this project.