Arduino as DiY tool

Twitter: @dieguich


Are we ready??

Let's start!

Ardu...What?


Ardui...What?


Arduin...What?


Arduino!!!

What's inside?


How powerful is that gizmo?


How many boards are out there?


How many boards are out there?


How many boards are out there?


Arduino is OHSW  


What does it means?


What does it mean?

      

Community


Want more?

Or go to the street?

The Shields



Shields



Communication

Hello??


 

What can I do with all that?




Sensors


even more?


 

Which Arduino is for
me?

Comparing...


Easing...



What's about the Pi?

 

What can I sketch with
Arduino?

Cool Projects 1

Arts:

For the city:

In your household or @work: 

Cool Projects 2

Music:

Games:

Freaks:

I want UNO!


In Bilbao and Online

 

Demo
time!!!

 

Hands On!!!

The IDE

Your first example


Blink..what?


Select a board


This is your schema



Let's see what's happening!


Remember your schema

Your first circuit (loving LEDs)


Fade...fading

int ledPin = 1;    // LED connected to digital pin 9

            void setup()  { 
              // nothing happens in setup 
            } 

            void loop()  { 
              // fade in from min to max in increments of 5 points:
              for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { 
                analogWrite(ledPin, fadeValue); // sets value (range from 0 to 255):             delay(30);  // wait for 30 milliseconds to see the dimming effect                                } 
              // fade out from max to min in increments of 5 points:
              for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { 
                // sets the value (range from 0 to 255):
                analogWrite(ledPin, fadeValue);         
                // wait for 30 milliseconds to see the dimming effect    
                delay(30);                            
              } 
            }
            

Time for physical interaction


Physical interaction COdE


 
            int led = 11;    // LED connected to digital pin 9
            int LDR = A0; //analog pin 0

            void setup()  {
              Serial.begin(9600);
              pinMode( led, OUTPUT );
            }
            void loop()  {
                int LDRReading = analogRead(LDR); 
                Serial.println(LDRReading);
                LDRReading = map(LDRReading, 600, 50, 0, 255);
                analogWrite(led, LDRReading);        
                delay(10);                            
            }

            

Images

Todas las imágenes
son propiedad e

sus respectivos dueños*,
el resto del

contenido está licenciado bajo Creative Commons by-sa 3.0


* see references --> images

Made with Slides.com