www.servomagazine.com/index.php?/magazine/article/november2012_MrRoboto
both the demo sketch with helper code and the
libraries in their correct locations.
Assembling the Hardware
the HttpServer.pde Sketch
Will Use
This code requires the following hardware:
chipKIT UNO32 (US $26.95)
chipKIT Wi-Fi Shield (US $49.99)
chipKIT Basic
I/O Shield (US $37.99)
microSD Card
(any size)
(US $5.99 for a
2 GB card)
Figure 1.
Your project will probably not need
the Basic I/O Shield, but this is a cool
shield with a small OLED display,
switches, buttons, LEDs, and more on it.
It is very handy for prototyping. The
microSD card is needed to hold the HTML
pages that will be served up, and is
located on the Wi-Fi Shield. Figure 2 and
Figure 3 show a view of the individual
boards and their final stack during use.
The UNO32 is a 32-bit processor running
at 80 MHz that has 128 KB Flash
memory for programs and 16 KB RAM.
With everything assembled now,
plug in the USB connection to the
UNO32. The board will run off of the USB power,
but an external 9V battery will allow you to put it
anywhere or run it off of your robot battery.
Figure 2.
Figure 3.
Optional Hardware
My lab is too far away from my house’s wireless router
to work with this project, so I went to Best Buy and got a
cheap (US $40) Cisco Linksys E1200 wireless router that
I could fiddle with and not worry about the rest of the
computers in the house (see Figure 4). So that this router
didn’t interfere
with the Wi-Fi
signal that my
house normally
uses, I changed
its address by
connecting a
laptop directly
to it. This made
for a private
wireless network
that will come
in handy
for future
experiments,
as well.
Figure 4.
SERVO 11.2012 15