Best way to get wireless networking on microcontroller?

In summary: Wi-fi might be easier to set up if you're not limited on space, but bluetooth is cheaper and has a longer range.
  • #1
KingNothing
881
4
Hi. I am planning to build a controller for a machine I have built. I can handle all the normal operation with any standard microcontroller and a few other components. However, I want my board to be able to communicate over a wireless network as well as wired network.

Can anyone point me to a decent starting point for using wireless networking with a microcontroller?

PS: By "best", I mean cheapest.
 
Last edited:
Engineering news on Phys.org
  • #2
Start here http://www.freeduino.org/
The arduino (atmel uC board) has a range of Wifi/Bluetooth/416Mhz RF boards

Generally the design has to be certified (for power output/interference etc) so it's easier to buy a finished module to connect to your uC
 
Last edited:
  • #3
You would need a wireless transceiver or controller of the specific wireless standard you want to use (802.11, zigbee, bluetooth etc.). If you want to use ethernet, you may want to check out something from here, although I think broadcom chips might be hard to get a hold of and hard to solder by hand:
http://www.broadcom.com/products/Wireless-LAN

You just have to know the proper interface to your microcontroller and if it suits a specific solution, such as a memory mapped device, USB, UART, SPI etc.

Some microcontrollers come with ethernet controllers, and you could possibly find a wireless transceiver/PHY that interfaces on a MII or RMII channel. Not sure what you're using.

Also, when you build this, be careful that you have the proper impedance matching signals required on the physical layer.
 
  • #4
Microchip makes a few microcontrollers with built-in ethernet handling capabilities. They also have some with built-in ZigBee or RFID, but, to the best of my knowledge, they don't have any with 802.11a, b, or g.

If you search through your favourite online components dealer (e.g. DigiKey, Mouser, etc.) you should be able to find some add-on WiFi modules. In addition to what mgb_phys says, you can also try Gumstix or Rabbit Semiconductor for some all-in-one type modules.

http://www.gumstix.com/
http://www.rabbit.com/
 
  • #5
If your application needs extra fast latency but doesn't require a lot of bandwidth I'd like to suggest DataBridge modules from Starman Electric. These modules provide an easy wireless link, and allow you to treat the wireless like a regular wire. For more information on this, visit http://www.starmanelectric.com

- mstarman

<< note that the above like has been posted by an employee of that company -- I'm okay with this for now (berkeman) >>
 
Last edited by a moderator:
  • #6
mstarman said:
If your application needs extra fast latency but doesn't require a lot of bandwidth I'd like to suggest DataBridge modules from Starman Electric. These modules provide an easy wireless link, and allow you to treat the wireless like a regular wire. For more information on this, visit http://www.starmanelectric.com

- mstarman

Interesting: ADC on one end and DAC on the other? What sort of sampling / refresh / slew rate do you get? The datasheet doesn't mention that specification.
 
  • #7
MATLABdude said:
Interesting: ADC on one end and DAC on the other? What sort of sampling / refresh / slew rate do you get? The datasheet doesn't mention that specification.


Hi MATLABdude,

The sampling rate is 200hz, with a latency of 5 milliseconds. All inputs (analog, digital, and uart) are sampled and repeated at this rate.

Let me know if you have any more questions.

- mstarman
 
  • #8
The cheapest would def. be bluetooth, but I have seen it done with a wi-fi print server
 

FAQ: Best way to get wireless networking on microcontroller?

1. What is the best microcontroller for wireless networking?

The best microcontroller for wireless networking depends on your specific needs and project requirements. Some popular options include ESP8266, ESP32, and Arduino boards with added WiFi or Bluetooth modules.

2. What type of wireless protocol should I use for my microcontroller?

The type of wireless protocol you should use depends on factors such as range, data rate, and power consumption. Popular options for microcontrollers include WiFi, Bluetooth, and Zigbee.

3. How can I improve the range of my microcontroller's wireless network?

To improve the range of your microcontroller's wireless network, you can use a signal amplifier or a directional antenna. You can also try optimizing the placement of your microcontroller and reducing interference from other devices.

4. Can I connect multiple microcontrollers to the same wireless network?

Yes, you can connect multiple microcontrollers to the same wireless network by using a mesh network or by setting up a central server that communicates with all the microcontrollers.

5. Are there any security concerns with using wireless networking on microcontrollers?

Yes, there can be security concerns with using wireless networking on microcontrollers. It is important to implement encryption and authentication protocols to secure your network and prevent unauthorized access.

Back
Top