5_02_17 Arduino Questions and Review

May 2, 2017


Doing:  View the lessons on using the Arduino








Mark this page as you will be returning to it again as we work through Ardunio lessons.

Lesson 1- What is Ardunio?

Lesson 2 - Download the Arduino IDE to you Macintosh

Why to they just give away the Arduino program?

Lesson 3 - What is an Arduino sketch?

What coding language is used on the Arduino?
Where can you find sample sketches in the menu?

Lesson 4 - Coding Syntax

What does the author compare computer syntax to?
What are the four main areas of the coding sketch?
What is the purpose of coding comments?

Lesson 5 - What are Variables?

What does the author compare a variable to?
How is the name variable seemingly misnamed?
What are the two parts of variable name?
What is a "Key Word" and why are they reserved for Ardunio?
Why should you always make the variable name descriptive of its function?
What is the highest positive integer that Ardunio can use?

Lesson 6 - Blinking and LED with Arduino
How do you set a pin mode? Why do you set a pin mode?  what are the pieces of information that the pinMode needs?

Obtain the following equipment and components, follow the video and complete the circuit:
An Arduino Uno
a breadboard
an LED
a 220 resistor
male to male jumpers to complete circuit

Make sure that you show your instructor your working circuit.

Now take it to the next step:
When Tesla was working out the details for electrifying America he discovered the perfect ratio for a duty cycle (time turned off vs time turned on).  He did this determining an AC motors most efficient cycles per second.  It worked out to be 58 Hz which he just rounded to 60 – which gave perfect escapement for electrical clocks and since it was beyond the ability of the human eye to detect in lighting, always appears on.  Use your breadboard, Arduino, and LEDs to see what the threshold of frequency visibility is.

Assignment:
Alter the sleep time for turning on and turning off.  Try to see how quickly you can make the LED flash and still be able to see the light flashing.






Comments