Controlling Your chipKIT WF32 through a Network

0

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.

newtitle

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)

 

vrm000

Potentiometer is set to the farthest left setting (0 Volts).

WP_20150626_005

Potentiometer is set to around the middle (1.62 Volts).

WP_20150626_007

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!

 

Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestShare on RedditShare on TumblrShare on LinkedInShare on StumbleUponEmail this to someone
Share.

About Author

I love Coding!

Leave A Reply