Here is a small microcontroller for $10: https://www.sparkfun.com/products/11113
This may be useful in the design of smaller wearables.
A tutorial for using the device can be found here:
You can email your answers to me (Kevin) anytime before Sunday, November 2nd at 11:59 if you would like verification that your answers are correct.
Here is a function that may be useful for many of the projects.
map(value, fromLow, fromHigh, toLow, toHigh)
Here is a diagram of how this function works
The function takes a value that is in the range of fromHigh to fromLow. It then remaps the value to toHigh to toLow.
One very nice applicatin of this technique is for remapping analog input to analog output.
int val = analogRead(0);
val = map(val, 0, 1023, 0, 255);
Another interesting aspect of this function is that it allows us to flip the lows and highs as shown in the diagram below.
This may be really useful for items such as the RGB LED that work by driving a signal low.
Here is a link for the functions of the arduino programming language.
To log into the website you need to have a campus IP. If you are off-campus you can use VPN to obtain a campus IP. Here are instructions on how to do so:http://www.doit.wisc.edu/network/vpn/