Skip to main content
Topic: OpenWRT router WR703N smart home automation compared to Rasp (Read 29958 times) previous topic - next topic

OpenWRT router WR703N smart home automation compared to Rasp



The TP-Link TL-WR703N is probably the cheapest and smallest Wifi-enabled Linux platform you can get: for $20 on eBay, you get a 57mm x 57mm x 18mm small box featuring an Atheros AR9331 Chipset (integrated Wifi+ AR7240 400Mhz CPU), 4 MB flash memory, 32 MB RAM and a USB 2.0 port  that is able to run OpenWRT.

It is quite easy to connect a serial <=> usb converter to get bootloader/console access and have fun with it.

janisalnis wrote a very thorough Instructables on how the OpenWRT router WR703N smart home automation compared to Raspberry Pi:



Check the up to date files on DropBox.

However, it looks like he is also trying to sell these instructions as an eBook on eBay for $2!?!


Re: OpenWRT router WR703N smart home automation compared to

Reply #2
For some further hw/sw tricks google "minipwner build one"

Would provide a link, but too new of a user.

Link: http://www.minipwner.com/index.php/what ... -minipwner

Admin edit: link added

Re: OpenWRT router WR703N smart home automation compared to

Reply #3
RAM can be upgraded to 64MB if you are not afraid of hot air soldering.
Just take out one chip from a 512MB DDR 333MHz SODIMM module and replace the one on-board.

Re: OpenWRT router WR703N smart home automation compared to

Reply #4
[quote author="Emeryth"]RAM can be upgraded to 64MB if you are not afraid of hot air soldering.
Just take out one chip from a 512MB DDR 333MHz SODIMM module and replace the one on-board.[/quote]
Yes, more details on the compatible SDRAM chips can be found in the OpenWRT Wiki.

It looks like you can replace the 4MB SPI Flash by an 8MB (MX25L6445EM2I-10G SOP8), but this would require an SPI Flash programmer (BusPirate?) to backup and restore the Flash.

And you can also use GPIO7 and GPIO29 as a software I2C port by unsoldering the R15 and R17 pull-down resistors:

[attachment=1]YvURR[1].jpg[/attachment][attachment=0]umX5V[1].jpg[/attachment]

Re: OpenWRT router WR703N smart home automation compared to

Reply #5
Has anybody found a source for the Atheros AR7240 CPU and Atheros AR9331 Chipset found in this device?  How did you track down the GPIO pins without the datasheet?  I'm interested in using thei chip and chipset in my own design but it seems like this chip and chipset isn't available to "hobbyists" like myself.

-wookie

Re: OpenWRT router WR703N smart home automation compared to

Reply #6
You will NOT find any source for SoC including either Wifi or GPU like these, as these kind of chips are not available for retail: you need to contact the manufacturer with MOQ (Minimum Order Quantities) of 100.000s, at least...

As hobbyist, the only way to go is to find some easily hackable and cheap devices like this one and use them with mods.

As for the GPIOs, the Linux kernel is exposing the GPIOs under "/sys", so you can test them with the Shell by using "echo".

But it is one thing to have access to them from software, and one other to find were they are located on the board and for what purpose they have been used...

Re: OpenWRT router WR703N smart home automation compared to

Reply #7
i have just got one of these routers and damm they are tiny,

i have been thinking about the 8MB flash chip upgrade and i was wondering, do people think it would be possible to double stack the flash chips but connect the second chips chipselect pin to one of the spare gpio, allowing to use of both the original 4mb + the stacked 8mb chip?

i dont know much about how linux access's the flash chip so im not sure if it would be possible to mod the kernal to use the second cs pin,

what do people think?

Re: OpenWRT router WR703N smart home automation compared to

Reply #8
Welcome to the club!

Electronically, your proposal is nice, but I don't know how the CS pin is driven from the kernel driver: it may be at the lowest level by the SPI controller itself, or worse: this may not involve the CPU altogether but only the DMA engine...

We need to check into the SPI kernel driver.