• Increase font size
  • Default font size
  • Decrease font size
Home
Home Starter Kit Lesson 4 - Potentiometer A2D

Lesson 4 - Potentiometer A2D

This lesson is to get you using the analog to digital converter on the ATMega328.  A must read for background information is a guide from parallax (page 41)

http://www.parallax.com/dl/docs/books/edu/BAADv1.3.pdf

The code for this example can be found here

http://www.arduino.cc/en/Tutorial/Potentiometer

If you just finished lesson 3, you can improvise and change the speed of the cylon eyes based on the potentiometer reading.  Ion executed this example nicely, code can be found on our google code page here

 http://code.google.com/p/rbots/source/browse/trunk/StarterKit/Lesson4_Potentiometer2CylonEyes/Lesson4_Potentiometer2CylonEyes.pde

 

pota2dcyloneyes.mp4


JavaScript is disabled!
To display this content, you need a JavaScript capable browser.
   

 

Parts List:

10k potentiometer

 

 

Newsflash

The one thing about a website, it always changes! Joomla! makes it easy to add article, content, images, videos and more. Site administrators can edit and manage content 'in-context' by clicking the 'edit' link. Webmasters can also edit content though a graphical administration panel that give you complete control over your site.