CS250 Lab 4

Introduction to Microcontrollers  / Implementing a Temperature and Light Alarm

Grading Form

Goal

In this lab you will get familiar with the Arduino Board and Microcontrolers. The Arduino board is an easy to use microcontroller platform that you can use to interact with the physical world. In this lab you will do a few small projects to get familiar with the Arduino and then you will implement a temperature alarm.

Step 1. Introduction to the Arduino

Read the "Arduino Inventor's Kit" documentation pages 1 to 7. Also, install the Arduino IDE if necessary (the machines in the lab already have it installed)  and then implement and test the following circuits:

Circuit
Implemented and Tested (Write a checkmark)
Circuit 1: Blinking LED
Circuit 7: Push Buttons

Circuit 8: Potentiometers

Circuit 9: Photoresistors

Circuit 10: Temperature

Circuit 12: RGB LEDs


Do as many of these circuits as you can during the lab and then complete them at home. You can copy and paste the code but make sure that you understand what it does. You will need this knowledge to implement the next step and future projects.

Step 2. Building a Temperature and Proximity Alarm.

For next lab bring a circuit that will turn on the RGB LED

Turn on RED -
Turn on BLUE
Turn on GREEN

For Your Next Lab

For your next lab make sure you implemented and tested all the circuits from step 1 and the table is completely check marked. Also, bring the implementation from Step 2.