Controlling Your chipKIT WF32 through a Network

The chipKIT WF32 was the first Digilent board to have an on-board Wifi MRF24. By using the SD card port and WiFi module, we can host our own server from the WF32. We’re going to check out a demo where you can control the WF32 by using your computer.


First, I recommend checking out this Instructable, which has all the files and instructions to get everything set up. When everything is loaded, you’ll have a list of all the pins, and access to almost all of them. In this instructable you’ll be downloading the test version of MPIDE, installing code, and setting up your WF32!


Besides changing the LEDs on the WF32 by using the computer, my favorite example is changing the potentiometer on the WF32 and seeing the voltage change on the webpage.


To see the voltage changes, go to Pin 61 and set it to Analog Input. You can now change the potentiometer on the board, then refresh the page to see the changes. Check out the pictures below to see it in action! (Green arrows are added for visibility)


Potentiometer is set to the farthest left setting (0 Volts).
Potentiometer is set to around the middle (1.62 Volts).
Potentiometer is set to the farthest right setting (3.3 Volts).

This is just one of the things you can do with this demo. It’s really just limited by your imagination!


Be the 1st to vote.

About Josh

I love Coding!

View all posts by Josh →

One Comment on “Controlling Your chipKIT WF32 through a Network”

  1. Greetings JOSH, thanks for your work, I would like to know how I can do the same with a CHIP WI-FIRE KIT, how can I use your code with this card? I hope you can help me, thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *