Saturday, February 7, 2009

Arduino 02

Initial setup with 4 inputs: 1 toggle, 1 push button, 2 photovoltaics.

The first run generated ASCII values (all of which are very difficult to see in the video) in the 700s, separated by commas, followed by two 0/1 outputs from the switches.

The second converts to binary.

*The ASCII values should be in the 200-300 range, but given that this setup is sensing light, the values change based on the environment, however I believe there are some wiring issues as well. So when converted to binary, the characters are not typical alphabetical letters.


Arduino 02 ASCII from brandt on Vimeo.


Arduino 02 Binary from brandt on Vimeo.



ASCII source code

binary source code

Labels:


Comments:

Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?