How to use Wifi with AVR ?

Go To Last Post
19 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys,

Does anyone of you know on how to use Wifi with AVR ?
Is it another SPI device or there's a special uC with this ability ?
Any links or references will be appreciated,

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Arduino YUN (mega32u4, MIPS 24K and OpenWRT for WiFi) will have an ecosystem with it.
Welcome Arduino Yun - ... (Arduino, Blog; May 18th, 2013)

Atmel has third parties that add WiFi to AVR:
Software Atmel AVR Reference Sample Code (GainSpan)
Wi-Fi add-on cards for Atmel processors (RedPine Signals)

"Dare to be naïve." - Buckminster Fuller

Last Edited: Thu. Aug 1, 2013 - 12:23 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would bet that they come as modules with various interfaces. In fact, I see that there is one for Arduino. So, there must be something that works with AVRs. I just Googled: wifi module and the Arduino thing was near the top.

You are welcome to search.

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sparfun have a wifi board for the arduino. For less money you can buy an arduino board and a cheap wifi router like a tplink wr703 or 3020
For battery power you can use tplink wr3040 and it will power the arduino as well.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Basically, you attach a module that has an internal processor much more powerful than the AVR itself. Then you communicate with the module using SPI, or Async Serial or whatever. Thanks to the whole "Internet of Things" hype (and the reality too), there are LOTS of these sorts of modules around.

Atmel's partnered vendor is (huh. Currently hard to find; interesting.)

For one THING, few modules end up being cheaper than buying a low-end WIFI router and putting custom firmware on it (OPENWRT or similar.) Those boxes sell for under $40, and have 4M to 8M of flash and 32M of RAM, and run Linux. Depressing :-(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have a look at he Wiznet site - I think they do some wi-fi modules that can be attached to AVR (in fact I have a strong suspicion that any wi-fi shield for Arduino is very likely based on Wiznet electronics).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The sparkfun one is based on a roving networks rn131 module. I had no end of problems with software bugs on it. I think they may actually have it stable now.
BrandX bought roving networks of recent times.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have one ethernet W5100 for Arduino Mega 2560, is it possible for me for using it on ATMEGA128,
any experiences guys? before I continue to Wifi ?
I have SdCard and ethernet chip embeded there...
http://arduino.cc/en/uploads/Main/arduino-ethernet-shield-06-schematic.pdf
http://arduino.cc/en/Main/ArduinoEthernetShield

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I have one ethernet W5100 for Arduino Mega 2560, is it possible for me for using it on ATMEGA128,

It's exactly the same isn't it?

But W5100 is a wired Ethernet controller - not Wi-Fi?!? I suppose you could then connect that to a wireless Bridge.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've had plenty of experience - and i've told you how i did it. Then Arduino yun does much the same as I have done, but integrates it all onto one board.

Once you've got wifi - what do want to to do with it? Control things from your iphone?
Silicon Chip magazine had a series of articles late last year on hacking a wifi access point and having it control things.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

To Kartman,

"....Silicon Chip magazine had a series of articles late last year on hacking a wifi access point and having it control things...."

Where can I find that ?
thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yea, it's wired ethernet, that's like my path of learning to Wifi level...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Once you've got wifi - what do want to to do with it? Control things from your iphone?

Yea, that's one of the purpose, but I want to create a webserver with it...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where can you find it? Errrrr siliconchip.com.au?...... Your local library???

1 second of googling hacking wr703 silicon
Got me this:
http://archive.siliconchip.com.a...

Google just hacking wr703 and you get a lot of hits
Add arduino to the search and some more

Whether or not you use arduino is not the point - how to do it is what you look for. Besides, you don't need an Arduino board to use arduino code. Using an Arduino board will save you lots of time as the connection is rather simple - usb cable from wifi router to arduino board. Your way, you will have to find a usb to serial converter and ask us how to connect it. Then how to init the uart, then how to send the data.

When i was in China last year i picked up two wr703 for $17 ea. you can get them on ebay for around $25 the last time i looked.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

o, really, that's quite reasonable price, I saw $67 for arduino wifi module..
http://www.aliexpress.com/item/RedBack-Shield-WiFi-Module-Yellow-jacket-Compatible-for-Arduino/799938707.html

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

do they have one in my local library ? or just try finding the pdf one on torrent, do you still remember which edition was it ?
was it december 2012 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bianchi - are you really that dumb? I searched and posted a link especially for you, but it seems you didn't read it. Google first, ask questions later.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok....sorry about that

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Carambola is another nice device , and powerfull

/Bingo