Building in a day – Construction Site

My mini project was a building that would rise up with the press of a button. Then when night comes the lights turn on. A second button lowers the building back to it’s original state.

Materials:

1 – DC motor (stepper motor might work better)

3 – 220 ohm resistors

2 – 10k ohm resistors

2 – pushbutton switches (spst)

1 – Photoresistor

2 – bright LEDs (yelllow)

1 – H-bridge

1 – 9v battery

Lots of wire

Here is the Circuit Board layout:

crane circuit board

And here’s the code:

Arduino Sketch: Kaeo_Crane

More to come later today

Advertisements

~ by Kaeo Helder on March 30, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: