Wednesday, 29 February 2012

More on the Arduino

So today we soldered up our potential meters and connected it to the arduino board. This allowed us to control the brightness of the LED however the most interesting element is that you can print this to the serial monitor which allows you see the resistance that you have the potential meter at. Interesting tool which allows you to monitor the input of a device. Below is a short video showing the serial monitor in action and what lines of code that you need to create a reading from your device.

video

In this video I outline the code that is needed to control a LED with a potential meter. I also show you what happens when you change the resistance and how the serial monitor prints this on the screen. Very handy device if you are not sure you are getting output data. The fun of using an Arduino.

No comments:

Post a Comment