Arduino + Button + Led

Since we are including a button to be pressed in the installation, I have already started testing. I connected a button, that I have from a previous project, with a red led to the Arduino. Using the Arduino software, I have used an example to test this simple functionality:  when the button is pressed the led turns off and when the button is not pressed the led stays on.

I also tested the PIR sensor and found out the range in which it can detect motion, is between 5 and 12 meters.

 

This slideshow requires JavaScript.

Advertisements

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