Showing posts with label arduino. Show all posts
Showing posts with label arduino. Show all posts

Sunday, November 1, 2015

Exploring Arduino Chapter 6

6-1: Simple Serial Printing Test with a Potentiometer


6-2: Tabular Printing Using Special Characters

6-3: Arduino Serial Echo Test













6.6 - 6-9




Wednesday, September 30, 2015

Monday, September 21, 2015

Chapter 4: Arduino Mini Motor

Automatic Speed Control

Motor with potentiometer

Hbridge with potentiometer  mini motor

Sunday, September 20, 2015

Sunday, September 6, 2015

Thursday, August 27, 2015

8/26 class exercises 2, 3, & 5






























8/26 In Class Exercise



Lesson 2

In your Arduino software, change the number in the delay procedure calls to 500 (from 1000) as shown


Exercise 1.
Modify the code so that the light is on for 100 msec and off for 900 msec



Exercise 2.
Modify the code so that the light is on for 50 msec and off for 50 msec. What happens?

-The light blinks really fast


Exercise 3.
Modify the code so that the light is on for 10 ms and off for 10 ms. What happens?

-The light isn't blinking


Now pick up the Arduino and gently wave it back and forth, in a dark room. What happens?

--A trail of light


What do you think is happening here?

--The lighting is blinking so fast we dont notice a change until we move it back and forth.


Lesson 3


In our new schematic, instead of connecting the resistor to +5V power, we'll connect it to ground.

Before you change your breadboard, make a guess of what will happen:

I think the light will go out.
Lesson 5