Joined: 16 Oct 2009
|Posted: Tue May 26, 2015 6:30 Post subject: RT-N66U Arduino control of WiFi
I'm working on a project to improve health in the office environment. The most straight forward way to improve health is by moving a bit every 20 minutes. As a way to boost my creative process, I want to get an idea of the influence of WiFi on work habits. I used an Arduino to enable and disable a small router from time to time. (This router is now bricked, doesn't matter though)
The Arduino code controls a light that communicates that it's about to turn off WiFi. It also controls a relay that turns off the router. As these two are connected in the code (When the relay is triggered, the lights change, etc), I prefer the Arduino to do both things.
I am going to test the 'Take away Wifi setup' with some of my fellow students, so I bought an RT-N66u so it can handle quite a load. Since it's way more expensive, I want to keep it in one piece and preferably control wifi through software. Additional benefits of not powering off the router is that I can keep running bandwidth analysis to see any behavioral changes.
At home, I managed to get my arduino serial running on a WDR3600 usb port and see it through SSH. However, I have no clue how to actually use that serial to do anything on the Router.
Can you folks point me in the right direction?
- is it possible to send a command that triggers a script?
- Can I do it over SSH and USB Serial?
- Maybe Telnet with an arduino ethernet shield?
I want to control the RT-N66U WiFi radio with an Arduino that controls external LEDs and the Router, whilst keeping the router in one piece.
P.S. If it's possible by opening up the router, that's fine too, I just want to be sure.
Router: ASUS RT-N66U B1
F/W: DD-WRT v24-sp2 (02/04/15) big - build 26138M
Arduino UNO (or Duemilanove if needed)
The first "Router Lamp"
The first router with the RT-N66U