2014-03-25 05:24 AM
Hi,
Anyone of you have worked on WIFI? I need a small help related to that.I need to develop an application that sends and receives some data via usart, cause I need to communicate with a wifi device (i'm using a stm32f4discovery board).but the problem is that i can't find a wifi module which is compatible with my stm32f4several questions running through my headcan i use any module found in the internet ? what about Software? what about compatibility?also can i wired this module SG901-1098 from Sagrad directly to my stm32f4 board and making the necssary configuration to make it work (sending and receiving data in a standalone mode)?the project idea is to make the system (STM32F4 discovrey Board and wifi module) operate in a standalone mode without the PC being used.thx in advance S.Laaroussi2014-03-25 07:45 AM
Done ANY network programming before?
You'd presumably want to look for a module/chipset providing a CMOS serial port, and a TCP/IP stack, and WiFi WEP/WPA configuration. Would seem to describe a whole slew of devices using chips from GainSpan, RedPine, BlueGiga,...Using Ethernet and WiFi, what networking applications would need a PC, if they were already connected to a Hub, Router, Access-Point, etc?2014-03-25 09:20 AM
Hi Clive
Thx for help, butcan i use this module( )directly with my stm32f4 discovrey board, i mean wiring it directly without using an evaluation board (just wiring it to the my stm32f4 discovrey board by using a bread board) thx againLaaroussi2014-03-25 12:44 PM
Looks like it could be attached directly to an STM32 USART, the module itself uses an STM32
http://www.inventeksys.com/wp-content/uploads/2012/09/Schemtaic_UART_Min_CFG.pdf
2015-09-24 05:53 AM
hi,
i have similar requirement but i want to connect wifi adaptor in USB port on my stm board for communication purpose. presently i have USB mass storage device support implemented and its fully functional. but i want to use same usb port to communicate when i connect wifi adapter to it....any help or hint on this??2015-09-24 06:11 AM
So look at USB Wifi dongles that have open support in Linux, review the drivers and determine if you have the skills, and horse-power, to migrate that into an STM32F4. The size of the Windows driver may also be a significant tell.
You want to look for highly integrated modules that support the features you're looking for.2015-09-24 06:45 AM
thanks clive for this quick response...
i hv few doubts now...1) driver written for ''x'' company's dongle will work for ''y'' company's dongle? all dongles need their specific drivers? or single driver will work fine for any dongle??2) in your personal opinion, which one will be better bluetooth or wifi in terms of availability of source code and implementation?? My requirement is wireless communicate with a smartphone/pc in range of 10 meters.2015-09-24 07:29 AM
Consider using ESP8266, it's very cheap and easy to integrate using UART.
2015-09-24 01:19 PM
Most of the drivers are written by the chipset vendor, these may then be branded by individual vendors of dongles. Chip vendors have about zero interest is talking to end users, or in fact anyone who is unlikely to be immediately purchasing >$1M in chips or lacks RF experience. The chipset/dongle market is very transient, Chinese vendors will make a lot of one dongle, and then immediately move on to something else, it's not considered a long term business, so picking a horse you like is hard. Look for availability of support in the Linux kernel.
Getting data out of Marvell and Broadcom is very difficult. Players like RaLink perhaps less so. For Bluetooth, take a look at the HC-06, hooked these up to several STM32 designs.http://mcuoneclipse.com/2013/06/19/using-the-hc-06-bluetooth-module/
Bluetooth is probably your best bet into the phone/tablet space. PC dongles are also cheap enough.2015-09-24 01:52 PM
One of the things that Clive is avoiding asking, he's such a diplomat, is the second part of your question. Do YOU have the ability to get the module working?
ST has a line of WiFi modules, the SPWF01. They seem to have bought a licence from Sagrad and are bringing up their own software. I tried for many months to get this module to do something useful outside of STs demo web pages, and I've failed.Granted, I've only got 32 years of experience, so maybe it's me.I'm quite interested in the ESP8266 with my own code, that I could handle. Elecia White from the Embedded.fm podcast will be posting a shoot-out article between the particle.io Photon (ST processor, Broadcom WiFi chip), and SparkFun's Thing (ESP8266) around October 9 on her blog http://www.element14.com/community/blogs/linker.Each has its own benefits and drawbacks. A lot of the drawbacks deal directly with the business models of the manufacturers and it is up to you to understand their business model and see if your device fits in.