ArTe Arduino Letizia Jaccheri www.letiziajaccheri.com Pisa February 2010.

Slides:



Advertisements
Similar presentations
Wireless Cue Light Project
Advertisements

Making Electronic Fashion Welcome Pink Team!. Etiquette Creative Girls Technology Arts.
EMS1EP Lecture 4 Intro to Programming Dr. Robert Ross.
ARDUINO CLUB What we’re really doing. BASICS The setup() and loop() functions.
Lab7: Introduction to Arduino
Embedded Sumo 1T4 – 1T5 UTRA.
Re-programming the Simon Says with Arduino Linz Craig, Brian Huang.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
ELCT 201 week 13 Analog ON/OFF control system conversion to Digital ON/OFF control system.
Intro to Programming and Microcontrollers. Activity Group into pairs and sit back-to-back. Pick one person who is going to draw. The other person will.
Beginning Arduino Session 2 AN INTRODUCTION TO HACKING THE WORLD’S MOST POPULAR MICROCONTROLLER PLATFORM
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Embedded Programming and Robotics Lesson 2 C Programming Refresher C Programming1.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
ArTe Open Source Software Tools for creativity Letizia Jaccheri Torino May 2010.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Arduino Part 2 Topics: Serial Communication Programming Constructs: functions, loops and conditionals Digital Input.
chipKit Sense Switch & Control LED
ArTe artentnu.com letiziajaccheri.com ITovation 27 th October 2009.
ProtoSnap Introduction to Arduino Casey Haskell, Pete Lewis, David Stillman, Jim Lindblom, Pete Dokter, Lindsay Levkoff, Trevor Zylstra.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Cascade switching of an LED EAS 199B Winter 2013.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
Getting Started With the Arduino Uno
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
Arduino libraries Datatekniker Udvidet hardware/software.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
Microcontroller basics Embedded systems for mortals.
1 Introduction to Haptics Introduction to the Hapkit board Allison M. Okamura Stanford University.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
Introduction to Arduino A very basic intro to Arduino, the IDE and the Servos class.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
:Blink Blink: Er. Sahil Khanna
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Introducing the Arduino Uno Presented by Dave Mawdsley, DACS Member, Linux SIG Member (wiring, programming and running a cute traffic light simulation)
Having fun with code, using Arduino in a middle school CS classroom
Getting Started: Building & Programming
Assist. Prof. Rassim Suliyev - SDU 2017
Microcontroller basics
Downloading Arduino FOR WINDOWS.
Microcontroller basics
Wireless Cue Light Project
Arduino & its hardware interfacing
UTA010 : Engineering Design – II
Cascade switching of an LED
Welcome to Arduino A Microcontroller.
Get Your Project Started with Arduino
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
INC 161 , CPE 100 Computer Programming
مقدمة في الاردنيو د فضل الاكوع.
Arduino 101 Credit(s):
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Welcome to Digital Electronics using the Arduino Board
Introducing the Arduino Uno
Arduino Part 4 Let there be more light.
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Aeroponic Engineering and Vertical Farming
Lab #1: Getting Started.
Arduino Uno circuit basics
Setting up a basic program with Arduino
SAURABH GINGADE.
Presentation transcript:

ArTe Arduino Letizia Jaccheri Pisa February 2010

Structure How to start how many do have a computer? connected? windows/mac/linux? IDE and language Project

Set up FTDI Basic Breakout - 3.3V LilyPad Arduino AT Mega 168

Arduino software Download Select serial port Select board – AT Mega 168 Install the USB drivers

Programmin steps Write/reuse Verify/Compile Upload Run

Language based on processing which is based on java e

Language (comments) // This is a comment. It doesn't do anything. /* This is a comment. It doesn't do anything. Comments just make code easier for you and other people to understand */

Language (variables) int ledPin = 13; // This statement declares a variable called "ledPin" and sets its initial value to 13. // We'll use "ledPin" later to control the LED that is on the LilyPad

Language (variables) int switchPin = 2; // This creates a variable called "switchPin" //and sets its initial value to 2 // We'll use "switchPin" later to read data from //a switch attached to petal 2.

Language (variables) int switchValue; // This creates a variable called "switchValue", // but does not initialize it

Language (delay) delay(1000); // This tells the LilyPad to do nothing for 1000 milliseconds (1 second).

Language (digitalWrite) digitalWrite(ledPin, HIGH); // This sets ledPin (pin 13 on the LilyPad as defined above) to +5 volts // Setting pin 13 to +5 volts/HIGH will turn the LED on the LilyPad on. digitalWrite(ledPin, LOW); // This sets ledPin to 0 volts // Setting pin 13 to 0 volts/LOW will turn the LED on the LilyPad off.

Language (if while) if (switchValue == LOW) // if the switch is pressed {digitalWrite(ledPin, HIGH);} while (switchValue == LOW) {digitalWrite(ledPin, HIGH); delay(100); digitalWrite(ledPin, LOW); delay(100); switchValue = digitalRead(switchPin);}

Program structure Variables Setup Loop

examples blink RGB sound switch

Art project Poetic message – technology possibilities

In ArTe In the ArTe project we see technology as a possibility to introduce in our life more creativity, cooperation, and openness Sewing as a way of seing

The LED on the lillac gown displays a beautiful yellow color to symbolize day light. The LED switches to a deep blue night color and again to yellow. Day after day. By moving my arms, jumping, walking, falling down I alter this cycle. The more I stress the less I am able to observe the cycle of life. I cannot really observe myself. I need somebody else to tell what they see on my gown LED. Beautiful or less beautiful patterns can arise while I busy myself. These patterns do not always match the lilac color of my gown. the lillac gown

the lillac gown (cont.) I understand more and more the programs that govern my gown but I do not fully understand the relationships between my movements and its effects. I needed the help of both my student Hallgeir to write the code and my friend, fashion design Urd, to find my unique lilac Lilypad gown, and I need Daniela who believes in science, to observe my gown and its program to find the motivation to change. I do not fully understand the details of acceleration but I am aware I will. I know that the beautiful cycle of yellow and deep blue will come again and again.

Plan Decide what to do Choose the components Design Program, test and may be sew presentations and discussion log writing and send/store arduino programs

Log writing What I learned about Arduino is … What I take with me from today from Arduino is …

Conclusions - What did we learn in the 2 days -Most positive -What can be improved? - Which questions do we have?