17
Sep 12

Chapter 08 – Experiment 01 – BLINKING LED

LEDs (light emitting diodes) are used in all sorts of clever things which is why we have included them in this kit. We will start off with something very simple, turning one on and off, repeatedly, producing a pleasant blinking effect. To get started, grab the parts listed below, pin the layout sheet to your breadboard and then plug everything in. Once the circuit is assembled you’ll need to upload the program. To do this plug the Arduino board into your USB port. Then select the proper port in Tools > Serial Port > (the comm port of your microcontroller). Next upload the program by going to File > Upload to I/O Board. Finally, bask in the glory and possibility that controlling lights offers.

Wiring

Schema

The code

/*

Blink

Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.

*/

// Pin 12 has an LED connected on most Arduino boards.

// give it a name:

int led = 12;

// the setup routine runs once when you press reset:

void setup() {

// initialize the digital pin as an output.

pinMode(led, OUTPUT);

}

// the loop routine runs over and over again forever:

void loop() {

digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)

delay(1000); // wait for a second

digitalWrite(led, LOW); // turn the LED off by making the voltage LOW

delay(1000); // wait for a second
}

NOT WORKING? (3 things to try)

LED Not Lighting Up?

LEDs will only work in one direction. Try taking it out and twisting it 180 degrees. (no need to worry, installing it backwards does no permanent harm). You can consider like a diode that we will try in one of the next experiments.

Program Not Uploading

This happens sometimes, the most likely cause is a confused serial port, you can change this in tools>serial port>

Still not Success?

A broken circuit is no fun, come to visit us and ask some support. You will meet nice and friendly people.

Making it better changing the pin:

The LED is connected to pin 12 but is possible to use any of the microcontroller’s pins. To change it, simply disconnect the wire and plug to a different pin (from 0- 12). Check on the specific page of the manual where you have listed all the pins.

check this amateur video showing the experiment working


12
Sep 12

FSK12: first presentation

Here are some photos from the first unboxing of the WeMakeIt by Mike Dupont. This was the first 20 piece limited edition Alpha version. More pics from the unboxing can be found here

WeMakeIt unboxing from Mike Dupont


istanbul evden eve nakliyat istanbul evden eve nakliyat istanbul evden eve nakliyat sarıyer evden eve nakliyat beylikdüzü evden eve nakliyat şişli evden eve nakliyat