Monday, March 1, 2010

More tasks!!....

24) Go into the ladyada site and look at http://www.ladyada.net/learn/sensors/cds.html which deals with light dependent resistors. Put a link and comment about this page in your blog. Identify your LDR from your pack. You will not be tested on the technical details of this sensor but you'll be expected to insert it into circuits and read off the changing light values. - done.

25) Start a Arduino key words page in your blog. Put every new key word with an explanation and example when you come across it. It should have soon these keywords: setup(), loop(), analogRead(), Serial.print(), Serial.println(). This should be added to throughout the course. - done.

26) Run the ladayada photocell program that was handed out in class. Write it up in your blog about what you did and the program. - done.

27) Same as 26 above but make some changes to improve it. Put your changes into a comment so that it's obvious what the differences are.- done.

28) Write a program to turn a LED on whenever the light is blocked to your LED. You will have to play around with several values. - done.

29) Check out the wikiEducator site that has some example Arduino resources. Read the directions there about doing another one. Create one like it in your blog or create it in wikiEducator by registering and starting your own pages. If your resources page is not in your blog, create a heading and a link to it so that it can be marked.

30) Find your push button in amongst your kit. Check out use of external push buttons in http://www.arduino.cc/en/Tutorial/Button. Copy their program into your blog and make sure you can run it.

31) Change the above program by reversing the the way the led goes on/off when the button is pushed/not pushed. Publish your program with a suitable comment.

32) Same as 30 but also output the state of the button and the led to the serial screen. I might see on one line then: "button pressed ....led off".

33) Write up key words pinMode() and digitalRead() in your key words glossary. - done.

No comments:

Post a Comment