Pages

Tampilkan postingan dengan label tl. Tampilkan semua postingan
Tampilkan postingan dengan label tl. Tampilkan semua postingan

Jumat, 14 Maret 2014

OpenWrt on TL MR3020 controlling Arduino





After bricking one router i decided not to try to increase the storage and go with the capabilities which it already have.
TL-MR3020 from TP-LINK have a UART but the problem with interconnection was  TL-MR3020 out puts 3.3v and Arduino UNO is 5v. So after trying couple for methods trying to level the serial data voltage, finally 74LS04 is used the step up the TX from router to 5v and it was success and Arduino see the data.
Then tried to run a shell script from a webpage run in web server inside the router.
After couple of frustrations i manage to run with html+javascript...thats a long story...
Anyways it works perfectly and more mods will be done soon.
Read More..

Jumat, 07 Maret 2014

OpenWrt on TL MR3020 controlling Arduino CONTINUED


Temperature Monitoring added
Now temperature sensor data is view-able from the web interface, LM35 attached to arduino senses the temperature. Once the status update request send from the router to arduino in a given interval, Arduino replies with the pin status and sensor data.
That data can be stored in a Lite DB for further use or to draw the graph on the web GUI. Currently it is displayed on the GUI for testing purposes.
Read More..