Wednesday, May 23, 2012

Interfacing with TL-WR740N

     
In this post i will try to explain how to interface with a router. By interfacing i mean connecting another embedded devices to router. For example:
  • tmperature sensor
  • port expander
  • external ADC(analog to digital converter)
  • a radio module
  • motors (servo, stepper)
Any router has GPIO. Actually all led's and buttons are connected to GPIO. We can use them. But there is a problem controlling them. You can't control the GPIO in a router the way you can control them in a microcontroller. You don't have precise timers to measure time between edges. Or you can, but i don't know how :D. So i will need to use a microcontroller, so i can do all the above thinks. It will not add big cost to ower system, because you can get a microcontroller for under 1$.  I will use PIC24 microcontroller, PIC24F04KA201. I am already familiar with ATMEL 8 bit microcontrollers. For a while i wanted to learn a 16 bit family from the microchip. So this will be a good start.

I will use TL-wr740N, because it's chip :) .This is how it looks like inside:


        

No comments:

Post a Comment

Write your comments here...