PDA

View Full Version : Interfacing microcontroller into wifi module or wifi adapter...



kenruizal
- 17th November 2011, 04:51
Guys need help.. i wanna interface a microcontroller(eg. 877 or pic18) and create an IP through a wifi and receive an IP through laptop..i dont have any idea yet..plz guys i nid help..tnx a lot..

dhouston
- 17th November 2011, 13:18
It's not clear what, exactly, you want to do but the WizFi210 (http://www.wiznet.co.kr/Sub_Modules/en/product/Product_Detail.asp?cate1=&cate2=&cate3=&pid=1132)is an inexpensive WiFi-to-Serial adapter that can do both infrastructure (connect to LAN) or ad hoc (connect peer-to-peer with your laptop). It is SMD so you might want to look, instead, at the ConnectOne Nano Socket iWiFi (http://www.connectone.com/products.asp?did=73&pid=98) or Mini Socket iWiFi (http://www.connectone.com/products.asp?did=73&pid=73) which cost about twice as much but are simpler to handle as far as mounting. All are rather simple to work with, offering modem-like AT commands for control. The ConnectOne modules have additional interfaces (SPI, USB for both & Parallel for the nano) and also have more built-in protocols like email and network time and have SSL3 security.

kenruizal
- 18th November 2011, 07:44
is nano socket wifi is serial to wifi?...because i want in my project is to monitor all my sensor status in realtime...is nano socket wifi has its own IP address?..tnx for your reply..plz..

kenruizal
- 18th November 2011, 08:21
how about ZG2100M/ZG2101M Wi-Fi® Module in microchip.com?..tnx

jellis00
- 22nd November 2011, 04:20
ConnectOne's iWiFi MiniSocket module uses an on-board serial interface with your PIC chip. PIC chip uses SEROUT2 PICBASIC statments to send AT+i commands to the MiniSocket. One of the commands will set the MiniSocket up as its own web site on the internet via the iWiFi interface to a router that is connected to the internet. You can also use it as a LAN to FTP data to a web site and also to send emails via the iWiFi interface to the internet via the router. You can give it its own IP address or run it in DHCP mode where it gets assigned an IP by the WiFi router. Any other questions?

kenruizal
- 23rd November 2011, 15:52
Thank you so much for your help sir..may i know what part number and model maker of your mini socket iwifi?tnx

jellis00
- 25th November 2011, 21:00
Thank you so much for your help sir..may i know what part number and model maker of your mini socket iwifi?tnx

The iWiFi MiniSocket is made by ConnectOne. You can purchase it from Mouser for $59.00 at http://www.mouser.com/ProductDetail/Connect-One/IW-SM2128M1-US/?qs=Fg5d7evCuak1dw1SNlPxFA%3d%3d .
If you can afford to purchase the EVB version, it includes one of the MiniSocket modules and will help speed up your development of code and debugging. Once you get your AT+i command statements debugged using the EVB you can move the MiniSocket from the EVB to your own PCB with assurance it is going to work with your PicBasic code.
You can purchase the EVB for the WiFi MiniSocket for $160 at
http://www.mouser.com/ProductDetail/Connect-One/II-EVB-362MW-US-110/?qs=Fg5d7evCuakvDeF%252bGbISyw%3d%3d .

mackrackit
- 26th November 2011, 14:02
kenruizal
The Evaluation Board is not needed. Just use a MAX232 to connect the iChip to a PC and use the free Config Utility. Save yourself the headache and some money.

dhouston
- 26th November 2011, 16:09
kenruizal
The Evaluation Board is not needed. Just use a MAX232 to connect the iChip to a PC and use the free Config Utility. Save yourself the headache and some money.
Or spend $10 for this USB-Serial adapter (http://www.byterunner.com/byterunner/product_name=Y-105).

dhouston
- 26th November 2011, 23:08
Or spend $10 for this USB-Serial adapter (http://www.byterunner.com/byterunner/product_name=Y-105).
Ooops - wrong link. I meant to link to this adapter (http://www.sparkfun.com/products/133).

kenruizal
- 4th December 2011, 12:53
Guys...i tried everything to get negotiate to distributor of connectone but i failed because of they require me of minimum order quantity of 50 pcs..huhuh..very harsh..but i will try the Rabbit Semiconductor 20-101-1309..i dont have any idea but if you ever try this let me know because theres no further information in there product so i need more information before buying this product..

dhouston
- 4th December 2011, 14:55
Datasheet for the Rabbit Semiconductor 20-101-1309 (http://www.digi.com/pdf/ds_rcm5600w.pdf)

However, that has no application with PicBasic Pro nor even with a PIC as it includes its own microcontroller and is programmed in a dialect of C.

Where are you located? Mouser has branches worldwide (http://tw.mouser.com/localsites/) so you may be able to find the ConnectOne device through one of those branches.

kenruizal
- 4th December 2011, 16:17
I am from philippines..I tried the mouser and avnet but they refuse because of delivery and minimum order sir..is there any ways?

dhouston
- 4th December 2011, 16:55
Then your best bet is the WIZ610wi (http://www.wiznet.co.kr/Sub_Modules/en/product/Product_Detail.asp?cate1=5&cate2=43&cate3=0&pid=1020#tab) which you can buy online from Wiznet directly for $35US.

It is through-hole but the pins are on 1.27mm centers so you cannot use it with a breadboard. To test with a PC, use the Sparkfun adapter (http://www.sparkfun.com/products/133) I referenced earlier

kenruizal
- 4th December 2011, 17:13
Sir May i ask if what is the difference wiz610 to connect one?tnx

dhouston
- 4th December 2011, 18:23
Read the datasheets and user manuals. They have similar features.

kenruizal
- 8th December 2011, 14:28
ive finally purchase in connectone..waiting for deliver..uhm i just want to ask if it is ok without a sparkfun converter to john schematic?tnx

mackrackit
- 8th December 2011, 14:45
The Connect One devise is ~3 volts only. Run the whole project at ~3 volts and you will be fine.

kenruizal
- 8th December 2011, 16:52
thank u sir..Sir if it is ok to u sir..can i have ur full schematic?if not thats ok sir..tnx

Normnet
- 9th December 2011, 07:04
Would I be correct in saying the Microchip MRF24WB0MB isn't mentioned here due to it's requirement of a "C" library of the TCP/IP protocol stack?

Norm

dhouston
- 9th December 2011, 13:11
I didn't mention it because I was unaware of it. I doubt the C stack is a necessity but have not looked at whether it's inputs/outputs are documented sufficiently to use with other languages/chips. The price is good ($30 at Mouser). It's surface mount which makes it tough to breadboard.

Normnet
- 9th December 2011, 14:29
I didn't mention it because I was unaware of it. I doubt the C stack is a necessity but have not looked at whether it's inputs/outputs are documented sufficiently to use with other languages/chips. The price is good ($30 at Mouser). It's surface mount which makes it tough to breadboard.

From the data sheet:

The MRF24WB0MA/MRF24WB0MB modules are designed to be used with Microchip’s TCP/IP software stack. The software stack has an integrated driver that implements the API that is used in the modules for command and control, and for management and data packet traffic.
The Microchip TCP/IP software stack is available in the free Microchip Application Libraries download (including example applications and source code) from the Microchip web site, http://www.microchip.com/wireless
The combination of the module and a PIC running the TCP/IP stack results in support for IEEE Standard802.11 and IP services. This allows, for example, the immediate implementation of a wireless web server.
It is breadboard able with thin lead wires soldered to each MRF24WB0M connection and at the other end a short length of a clipped resistor lead to connect to the breadboard.

Norm

kenruizal
- 5th January 2012, 07:49
Sir do you have a schematic in minisocket iwifi to max232 to rs232?...tnx