Loading...
Pages: [1]   Go Down
Author Topic: wifi using USB host shield and usb wifi dongle  (Read 2259 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone tried adding a $5 wifi dongle to a USB host shield to get a low cost wifi solution?
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 41
Posts: 5172
CMiYC
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Part of the reason the WiFi shields are costly is that they implement the TCP/IP stack internally.  Cheap USB dongles rely on the operating system for that.

So you want to run a USB Host Stack, drivers (that probably wouldn't be universal) for a WiFi Dongle, and a TCP/IP stack in 2K of RAM.  Hopefully  there wasn't anything else you wanted the microcontroller to be able to do once the dongle was connected.
Logged

www.cmiyc.com - A guide to being an Enginerd

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 277
Posts: 25501
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Anyone tried adding a $5 wifi dongle to a USB host shield
Lots of people have tried to do this.

I haven't heard of one single success.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Part of the reason the WiFi shields are costly is that they implement the TCP/IP stack internally.  Cheap USB dongles rely on the operating system for that.

So you want to run a USB Host Stack, drivers (that probably wouldn't be universal) for a WiFi Dongle, and a TCP/IP stack in 2K of RAM.  Hopefully  there wasn't anything else you wanted the microcontroller to be able to do once the dongle was connected.
George Carlin said "I think it's the duty of the comedian to find out where the line is drawn and cross it deliberately."
eh, i just found a shield that can provide some external RAM, so is the RAM's problem solved?
MEGARAM Shield:
http://hackaday.com/2011/09/05/upgrading-ram-in-an-arduino-mega/
http://ruggedcircuits.com/html/megaram.html

I think it's also fit for us.
I also focus on drive USB WiFi dongle on USB HOST Shield.
I found a low cost usb wifi dongle, it use realtek RTL8188CUS chip

this's some spec of the chip:http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=274
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 41
Posts: 5172
CMiYC
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

eh, i just found a shield that can provide some external RAM, so is the RAM's problem solved?
That only works with the Mega boards based on the ATmega1280/2560.  Not the Uno which is based on the ATmega328.  So no, the RAM issue hasn't been solved.

Plus you still have to write the drivers for the Arduino to support the USB Dongle device.  Without documentation from the manufacturer, that might be difficult.
Logged

www.cmiyc.com - A guide to being an Enginerd

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

eh, i just found a shield that can provide some external RAM, so is the RAM's problem solved?
That only works with the Mega boards based on the ATmega1280/2560.  Not the Uno which is based on the ATmega328.  So no, the RAM issue hasn't been solved.

Plus you still have to write the drivers for the Arduino to support the USB Dongle device.  Without documentation from the manufacturer, that might be difficult.

so, what we're trying to do is to repeat create the wheel.
if we want to cost down, the best idea is use other wireless solutions.
the cost seems cheaper than wifi, i think the restrict maybe bigger than wifi.
think about the Smart homes, thousands of sensors and switch, use wifi maybe a better choice.

anyway, i found a datasheet of the RTL8188CUS http://wenku.baidu.com/view/6eadaf215901020207409c77.html
i always looking forward to low price wifi module.
Logged

Pages: [1]   Go Up
Print
 
Jump to: