WiFi For Arduino

Sept. 4, 2012
Technology Editor Bill Wong takes a look at one way to add WiFi support to Arduino boards with Digilent's WiFi Shield.

The Arduino form factor was based on Atmel's 8-bit AVR ATmega microcontroller. It has since progressed to a range of more powerful micros including Microchip's PIC32 based on the MIPS architecture and found on Digilent's Max32 board (see PIC32 Arduino Modules). I've been using the Digilent Max32 with the Ethernet Network Shield but this tends to be a bit difficult for robotics. That is why I was happy to check out Digilent's WiFi Shield (Fig. 1).

Figure 1. Digilent's WiFi Shield uses Microchip's MRF24WB0MA WiFi module. It also has a microSD socket.

The WiFi Shield includes Microchip MRF24WB0MA WiFi module along with a microSD socket. More on the latter later.The WiFi module supports 802.11b 1 and 2 Mbit/s data rates. The software drivers supports WEP security as well as the more advanced WPA.

This feature list is more than adequate for Arduino platforms. 802.11g or 802.11n would simply be overkill although the faster 32-bit platforms might be able to take advantage of the added bandwidth. It can securely connect to any 802.11b/g/n router or access point. It work fine with the Belkin and Linksys routers I have in the lab. Communication with the module is via SPI. It has an integrated PCB antenna with a range up to 400m.

The shield comes in a box by itself. I had to download the software from Digilent's website. These include the DNETcK and DWIFIcK network libraries, DNETcK and DWIFIcK. These are based on Microchip Applications Library software. Connecting to the network was a trivial software excercise. Mostly it is a matter of getting the device fuction arguments correct.

As noted, the WiFi Shield also has a microSD card connector. Most Arduino motherboards lack removable storage and this addition fills in the missing piece. It uses the same SPI interface with a different chip select. There are also four LEDs on the shield that can be used to provide status information. These are controlled by I/O pins.

Digilent's WiFi Shield can work with other Arduino motherboards but it may take a little work to get the software to work with another IDE. I have not tried that approach since I do not have another Arduino motherboard handy.

Sponsored Recommendations

The Importance of PCB Design in Consumer Products

April 25, 2024
Explore the importance of PCB design and how Fusion 360 can help your team react to evolving consumer demands.

PCB Design Mastery for Assembly & Fabrication

April 25, 2024
This guide explores PCB circuit board design, focusing on both Design For Assembly (DFA) and Design For Fabrication (DFab) perspectives.

Unlocking the Power of IoT Integration for Elevated PCB Designs

April 25, 2024
What does it take to add IoT into your product? What advantages does IoT have in PCB related projects? Read to find answers to your IoT design questions.

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!