Difference between revisions of "Getting Started with Arduino & Lights"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 38: Line 38:
  
 
===Programming the LED strip===
 
===Programming the LED strip===
color, intensity, for loop
+
color, intensity, for loop <br>
 
[[File:Ledstrip_pot.jpg|700px]]
 
[[File:Ledstrip_pot.jpg|700px]]
  

Revision as of 14:03, 14 April 2023

Stationskill lights.png

Introduction

Are planning to add light to your work?
Do you want the light source in your installation to be controlled by sensor data?
Are you curious about the possibilities of programming lights with Arduino?


During this station skill, you will be introduced to some standard methods of programming lights with Arduino.
Arduino is a microcontroller that makes it easy for us to work with different kinds of hardware like lights, motors and a wide array of sensors. During this station skill, we will use it to work with lights. We will do this during three sessions, each one focused on working with different kinds of lights: LEDs, LED strips and light bulbs.

Session 1

Arduino and LEDs

Examples of work

The LED

Arduino: how does it work

board

Connecting the LED to Arduino

breadboard
Led one.jpg

Programming the LED

blink, delay, fade

LEDs traffic light

600px

LED Morse code

Resources/More

Arduino reference page more leds : series parallel circuit, calculating resistance

Session 2

Arduino and LED strips

Examples of work

Types of strips

addressable, rgb, one color

Calculate the current

Connecting the LED strip to Arduino

Ledstrip basic.jpg

Programming the LED strip

color, intensity, for loop
Ledstrip pot.jpg


Ledstrip currentupgrade.jpg

Session 3

Arduino and Relays: how to control light bulbs (and not only)

Examples of work

The Relay

Connecting the Relay and the light bulb to Arduino

900px 900px

Programming the relay

Add a distance sensor

Relay ultrasonic.jpg

Useful links