05 March 2010

Embedded Notices 1-33

Thursday, February 18, 2010
Some tasks
Tasks - this is the official list.

Please indicate the task number for each of your blog responses.


1) Create a blog.

2) Put link into Moodle wiki. (Moodle not ready yet.)

3)Fill in rest of your details on Moodle wiki


4)Check out all the sites related to the list in the embedded notices blog.

Write a sentence about what each one does. You don't have to be very familiar with each one.
(The blog entry is: TUESDAY, FEBRUARY 16, 2010)

5) Find 4 more Arduino LED related videos in Youtube, BlipTV etc.
Put a link and a
two-sentence review about each one in your blog.
Be prepared to talk about one or more
of them.

6) Establish a sketchpad folder in the D Drive or in a USB pen.


7)Write the original Blink program and save into a sketchpad folder.


8) Write a variation of blink that has led mostly off. Just winking on quickly.


9) Ditto but have the LED mostly on.


10)Get the led to blink at rate of 10ms on 10ms off. Can you see it blinking?

What is your cutoff point? Is this different from one other student?
Put your programs and your comments into your blog. Pictures and diagrams are good.

11) Check out the Blink2 program elsewhere in this blog. Run it and paste into your blog.

The following tasks are variations on Blink2.

12) Make one of the LEDs blink when the other one is off.


13) Get one to blink mostly on and the other is mostly off. "Mostly on" means it's on all
the time except for a little flash off about once a second.

14) Like 13 but the LEDs are reversed. That is, the one that mostly on is now mostly off.


16) Get one led to blink twice then the other one to blink once then repeat forever.


17) Write a for-loop with counter variable i.
Get one led to blink 5 times, using the
for-loop, then the other to blink once. Repeat forever.

18) Like 17 but i can be any value. Try different ones.
Later we can input this value from
the keyboard.

19) Write a program to get one led to increase its rate of blinking from 100ms to1sec.


20) Same as 19 but this time ramp up the rate from 10ms to 1 sec
then back down
again.

21) Write a program to output one led blinking at rate of 200ms that outputs the word
"blink" to the screen each time it comes on.

22) Same as 21 but this time use two leds of different colours and output the colour of
the led to the screen each time it goes on.
So you should see eg. "red yellow red yellow
..."

23) http://wwww.wikieducator.org/User:Peterb/HowManyArduinos
put at least one
Arduino variety, like Freeduino, into this wiki with a screen shot and put a link and a comment back into your blog so that it can be verified.

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.

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.

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.

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.

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.

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 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.

1 comment:

  1. ##@$%*** GRRR!!
    WHY am i getting no NewLine tags??
    Even the Preview showed new lines so what's the problem with this thing?

    FFFF...IRETRUCK!!

    ReplyDelete