Hook up Sensors

To make something with the Arduino, hook up some sensors (inputs) and actuators (outputs).


Instructions

1 Hook up a knob sensor

A good way to get started with an Arduino is to hook up a 10K linear “potentiometer” (knob) to an Arduino analog input.

  • Hook the center wire from the knob, which is the “signal” wire (usually WHITE or YELLOW) to an Analog In port, marked “A0”.
  • Hook the ground wire (usually BLACK) up to the pin marked “GND”
  • Hook the power wire (usually RED) up to the pin marked “5V”

potentiometer.fzz_-_Fritzing_-__Breadboard_View_

IMG_2599

2 Hook up a light sensor

For another kind of input sensor, hook up a light sensor by following the below diagram.

photosensor.fzz_-_Fritzing_-__Breadboard_View_

3 Hook up an LED output

To have an actuator (output), hook up an LED by following the below diagram. The resistor shown has RED, RED, BROWN, which indicates that the resistor has a value of 220. You can try any resistor from 100 ohms to 400 ohms.

led_pwm.fzz_-_Fritzing_-__Breadboard_View_

 

led-anode-cathode-2

4 Connect to Computer

Arduino

Once all your connections are complete, use a USB cable to connect your Arduino to a computer. This will also provide power to the Arduino

Edison (or other WiFi system)

Identify the IP address of the device, and point your browser to it. E.g. http://10.0.1.6:9001

NETLabTK - Tangible IoT