Sonsivri

Electronics => Hardware and Tools => Topic started by: zed65 on October 16, 2012, 05:47:24 17:47



Title: Connect microcontroller to WiFi?
Post by: zed65 on October 16, 2012, 05:47:24 17:47
I'm searching for a WiFi module so I can hookup my PIC with my WiFi.
Hope you guys can suggest a module with fairly simple protocol (I2C, Serial).

Or perhaps it's easier to use cable (Ethernet)?
 


Title: Re: Connect microcontroller to WiFi?
Post by: Gallymimu on October 16, 2012, 06:15:19 18:15
You should be able to do either.  There are lots of choices but here are two items I have used before both from Microchip.

For ethernet:
http://www.microchipdirect.com/ProductSearch.aspx?Keywords=AC164123
this little dev board is designed to be installed in a Microchip Explorer 16 but is based on the fairly easy to use ENC28J60 ethernet controller
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889

For wifi:
Roving networks RN131 and RN171, also owned by microchip.
Link below is for the pictail daughter board
http://www.microchipdirect.com/ProductSearch.aspx?Keywords=RN-131-PICTAIL
Link for raw RN131
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en558369

The biggest effort here is the stack integration into your software.  Again there are many options and microchip might not be the best choice for your application but I found their demos and stacks pretty straight forward to get off the ground.

Both of these are serial interface (UART or SPI)

Hope that helps.


Title: Re: Connect microcontroller to WiFi?
Post by: CocaCola on October 16, 2012, 06:15:55 18:15
Google 'UART WiFi Module Kit'


Title: Re: Connect microcontroller to WiFi?
Post by: dotm on October 16, 2012, 08:40:41 20:40
for ethernet/internet purposes i'd recommend you to switch over to avr and use the fantastic tuxgraphics stack.
I the used to bridge it to wifi as mentioned here:
http://tuxgraphics.org/electronics/201006/avr-wifi.shtml
this may not be the most elegant method, but it worked well for me and the stack is stable and very small.


Title: Re: Connect microcontroller to WiFi?
Post by: hbruno on October 16, 2012, 09:04:41 21:04
You can use Lantronix items :
http://www.lantronix.com/device-networking/wireless.html
it's very simple to use it


Title: Re: Connect microcontroller to WiFi?
Post by: mare69 on October 17, 2012, 06:53:21 06:53
I have good experience with Roving Networks RN-171 (http://www.rovingnetworks.com/products/RN_171). Here's one breakout board (with altium source) for experimenting:

http://e.pavlin.si/2011/06/19/rn-171-breakout-board/

M.


Title: Re: Connect microcontroller to WiFi?
Post by: elcielo on October 17, 2012, 12:49:38 12:49
Texas instruments

CC3000 SimpleLink™ Wi-Fi Module
http://www.ti.com/product/cc3000


Title: Re: Connect microcontroller to WiFi?
Post by: zed65 on October 17, 2012, 03:11:50 15:11
I think I will go with the Roving Networks RN-171. Sparkfun have it in stock :)


Title: Re: Connect microcontroller to WiFi?
Post by: mario2000 on October 18, 2012, 04:43:34 16:43
Hello, there are many modules that can be used to connect a PIC micro or other micro to wifi, such that these modules are extremely easy to use but rather expensive, for example the modules:

http://www.rovingnetworks.com/products/Wi_Fi_Modules

Wizfi modules eysi wifi:

(http://www.wiznettechnology.com/Admin_Root/UpLoad_Files/ProductImgs/Dtl_1132_20110228122345.jpg)
Module WizFi210 (http://www.wiznet.co.kr/Sub_Modules/en/product/Product_Detail.asp?cate1=5&cate2=38&cate3=0&pid=1132)

Video:  http://www.youtube.com/watch?v=kED55kjgxDg

Info spanish: http://www.elektor.es/noticias/modulo-serie-a-wifi-de-bajo-consumo.2141813.lynkx


There are also some shield for Arduin, example RN-XV WiFly

(http://www.bricogeek.com/shop/410-1332-large/rn-xv-wifly-80211-b-g.jpg)


You can also use the microchip module MRF24WB0MA (http://ww1.microchip.com/downloads/en/DeviceDoc/70632A.pdf)
(http://www.cisium.com/images/stories/hardware/pcbassembly/MRF24WB0MA_150xH.jpg)

video: http://www.youtube.com/watch?v=oKaMa2-wSgE (http://www.youtube.com/watch?v=oKaMa2-wSgE)





Title: Re: Connect microcontroller to WiFi?
Post by: mare69 on October 19, 2012, 10:48:27 10:48
Bluegiga just released WiFi WF111 module:

http://www.bluegiga.com/wf111-wi-fi-module

See link.


Title: Re: Connect microcontroller to WiFi?
Post by: Brosske on October 21, 2012, 06:03:57 18:03
I tought it was possible with MRF24J40MA (spi / 2.4GHz)


Title: Re: Connect microcontroller to WiFi?
Post by: sn00p on October 23, 2012, 03:09:51 15:09
It depends on what you're wanting to do.

If you want something truly simple an electricimp may be suitable.

It's a device that includes a wifi stack and some simple IO, it runs asynchronously to your device.  You program it via a web interface and configure how/what you want it to communicate (i2c/spi/bit banging), so in your case you'd put software on it to communicate with your microcontroller over i2c.

It just depends on what you want to do and how much effort you want to put it.

Edit:

That WF111 mentioned above doesn't look bad value tbh....goes off to read the datasheet.

Double Edit:

Seems it's not microcontroller friendly.  Says it requires linux.

Triple Edit: (sorry)

WF121 seems to be the device for micro controllers.


Title: Re: Connect microcontroller to WiFi?
Post by: zed65 on October 28, 2012, 09:50:05 21:50
Quote
It depends on what you're wanting to do.

The thing is, I don't really know what I want to do :)
I'm thinking if I can connect my microcontroller to a WiFi then to the Internet, the possibilities are endless..

For start, read some ADC/Temp, some I/O:s on and off via Internet.


Title: Re: Connect microcontroller to WiFi?
Post by: Ichan on October 28, 2012, 09:59:09 21:59
For experimenting, easy and quick way is to use SparkFun WiFly Breakout board (http://www.sparkfun.com/products/10050) with RovingNetwoks RN131C (now Microchip). Some samples in there too.

-ichan


Title: Re: Connect microcontroller to WiFi?
Post by: Taner on November 03, 2012, 08:10:31 08:10
Hi,
you can use the Microchip WiFi modules:
http://www.microchip.com/pagehandler/en-us/technology/wifi/products.html

with Microchip's free TCP/IP Stack:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2505&param=en535724

 :)


Title: Re: Connect microcontroller to WiFi?
Post by: Kabron on November 03, 2012, 07:20:53 19:20
serialio.com


Title: Re: Connect microcontroller to WiFi?
Post by: SteveyG on November 17, 2012, 06:23:38 18:23
Hi,
you can use the Microchip WiFi modules:
http://www.microchip.com/pagehandler/en-us/technology/wifi/products.html

with Microchip's free TCP/IP Stack:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2505&param=en535724

 :)

The Microchip tools work well from past experience.


Title: Re: Connect microcontroller to WiFi?
Post by: sherazi on January 28, 2013, 12:11:17 12:11
You can use Lantronix items :
http://www.lantronix.com/device-networking/wireless.html
it's very simple to use it
lantronix solution is very expensive .
does these other modules have easy interface for setting up authorisation settings??


Title: Re: Connect microcontroller to WiFi?
Post by: localcrack on October 03, 2014, 07:02:38 07:02
ESP8266 is cheapest one

Check the following link on sonsivri

http://www.sonsivri.to/forum/index.php?topic=57720.0 (http://www.sonsivri.to/forum/index.php?topic=57720.0)


Title: Re: Connect microcontroller to WiFi?
Post by: XxMohannadxX on October 13, 2014, 08:10:09 20:10
http://www.mikroe.com/click/wifi-plus/


Title: Re: Connect microcontroller to WiFi?
Post by: Ambient on January 31, 2016, 08:21:23 08:21
The WF121 is good, sometimes can even replace the controller as you can run quite good scripts on it, unless you need to do a lot of fast bit-bashing.


Title: Re: Connect microcontroller to WiFi?
Post by: SamiQ on April 21, 2016, 07:59:09 07:59
If anyone decides to use ESP8266, then I suggest using the AT commands with the help of this library:

https://github.com/ve3wwg/ESP8266

It is a mature, powerful, and reliable SDK.
I have used it successfully with PIC18F87J11 through a serial port @19200 baud.

Best regards,
Sami


Title: Re: Connect microcontroller to WiFi?
Post by: XxMohannadxX on April 21, 2016, 12:24:23 12:24
i think this one for ESP8266 will be helpful
http://nodemcu.com/index_en.html


Title: Re: Connect microcontroller to WiFi?
Post by: mare69 on April 24, 2016, 10:59:26 22:59
Check Atmel:
http://www.atmel.com/products/wireless/wifi/

I have played with http://www.atmel.com/devices/ATSAMW25.aspx quite successfully


Title: Re: Connect microcontroller to WiFi?
Post by: cesare on April 25, 2016, 08:34:27 08:34
Check ESP-12-E from ADAFRUIT https://www.adafruit.com/products/2491. ESP-12-E is a module using ESP8266 with embedded antenna and is FCC certified.


Title: Re: Connect microcontroller to WiFi?
Post by: Drako on May 16, 2016, 02:16:23 14:16
I have seen nodemcu.com is very good for WIFI and it is not expensive.


Title: Re: Connect microcontroller to WiFi?
Post by: Taner on September 18, 2016, 12:19:51 12:19
The new and cheap IoT WiFi Chips/Modules

1. From Espressif - ESP32 (WiFi and Bluetooth)
https://espressif.com/en/products/hardware/esp32/resources
http://esp32.net/
https://www.sparkfun.com/news/2017

2. From Realtek - RTL8710 (WiFi only)
https://www.rtl8710forum.com/
http://www.cnx-software.com/2016/08/18/getting-started-with-bt-rtl-00-rtl8710-module-serial-console-at-commands-and-esp8266-pin-to-pin-compatibility/
http://www.cnx-software.com/2016/08/01/development-resources-for-realtek-ameba-rtl8710-rtl8711-and-rtl8195-wifi-socs/
http://hackerboards.com/tiny-iot-module-runs-freertos-on-realtek-ameba-wifi-soc/


Title: Re: Connect microcontroller to WiFi?
Post by: pickit2 on September 18, 2016, 01:57:39 13:57
Also look for Wemos D1 Mini kits, with 8 shields for $10 on Aliexpress.
Wi-Fi with 4M of memory and high speed.

Use Arduino or Nodemcu to program.


Title: Re: Connect microcontroller to WiFi?
Post by: Xicoxloko on March 18, 2017, 07:00:13 19:00
You have this options:

ESP8266 modules - Cheap, Simple and the best choice
You can control over Serial with AT commands.
Can you change your design to just use it?
Good examples: https://www.youtube.com/channel/UCv1D6zrC0ZL0PSgM6tdEpPg

RV-171 Roving Networks Module - Robust and reliable
I used in some Arduino projects with WyFlyHQ Lib - https://github.com/harlequin-tech/WiFlyHQ
My friend made this tutorial (I help him 8)) (in PT-BR, sorry  :'()
http://labdegaragem.com/profiles/blogs/tutorial-utilizando-o-wifishield

I'm never used but exist:
Texas instruments CC3000 SimpleLink - elcielo talk about it
http://www.ti.com/lit/ml/swst009b/swst009b.pdf

u-blox Wifi Modules
https://www.u-blox.com/en/wi-fi-modules

Wiznet - WizFi310 - mario2000 talk about it
http://www.wiznet.io/product/wifi-module/

Realtek - RTL8710 (WiFi only) - Taner talk about it



Title: Re: Connect microcontroller to WiFi?
Post by: koky on March 20, 2017, 02:51:09 14:51
i have found very nice and easy
http://www.miupanel.com/



Title: Re: Connect microcontroller to WiFi?
Post by: hanle on May 22, 2017, 05:08:56 05:08
Hi
I think that it's helpful for you
https://libstock.mikroe.com/project_categories/view/25/wifi