• CES
  • AMARTS
  • Electronic Kid
  • Useful-news
  • Forum
  • Fellowship
  • E-Library
  • All
gravatar

Air control appliances via the Internet with Android.

Air control appliances via the Internet with Android.

This project has taken a post at Electoday Ver 3.0 and what it took to read and write again, because there are people interested.
Imply that once again

Due to the late 2554's massive floods in Bangkok when I was evacuated out of the ground (Bang Bang), in order to live in the provinces.
By leaving some property in the house. But the village also has some people still live in some of the flood was much higher than 1 meter.
I did not make the cut off electricity. I see that there are still some spaces left. But with the property and what we thought was a Loop project.
This is the power that is controlled through the Internet.
The idea is
Can control appliances through Android Phone Application which can be added later via computer control (VB6).
Can be set to turn off power to trick the robbers and the people at home, but also at home. The farther then me lol.

From Concept to work, it was easy before it is sent over the Internet is called packgage command.
To the MCU, the MCU on the board, but because the information is not necessarily Serial RS232 converter.
Called Serial to Ethernet and I use Xport for convenience and ease of development because time is limited.
When you select the MCU that supports Ethernet, it takes time to develop, although the Library to the Library I had to ride a sheep.
I think it is a waste of time too. And the idea that if you put Ethernet MCU features such as scheduling, which is difficult not to be made ​​again.
It looks like this is it.

I have the following on HW





This is the home to the first one. This put a timer into me.





This is the circuit it's rough.





From the working principle is controlled via Android phones to the Wireless Router and data through the Internet.
To the destination IP Address and data Xport (Serial to Ethernet) Serial data from a TCP data to the MCU.
So I ordered that we like to do on or off the electricity by this.






This is what the Application on Android (version first, no scheduling order).






Video on usability testing




VB Application 






Source Code:
1. MCU Code  here
2. Android Code  here
3. Android APK 
here
4. VB6 Code here

Source here