loading

Hey Guys, this is my first instructable and in this Instrutable I'm going to show you how to control high current consuming LEDs with the LinkIt One board. If you have some experience with the LinkIt One board you already know that the Linkit one board has a lesser current rating than an Arduino so powering electronics which you could power using the Arduino might be a challenge. So in this tutorial I'm going to show you how to overcome the problem and power on LEDs.

Step 1: Requirements

Here is a list of all the electronic components required to get started with the circuit.

LinkIt One

BC547 Transistor

Breadboard

Connecting Wires

330 Ohm Resistor

LED (I'm using a 10mm Led)

Step 2: Circuit

For this circuit I'm using a BC547 Transistor as it is capable of handling the current requirements of the LED but if you are looking for higher power rated electronics like a LED strip you might want to use a MOSFET instead.

The circuit is very simple and it uses a BC547 which collects the digital signal from the LinkIt one and control's the led respectively.

Step 3: Code

There is no program for this tutorial and to the test out the circuit I used the blink example found in the arduino IDE. And you will need the Arduino IDE modified to work with the LinkIt One board, the IDE can be downloaded from the official website.

void setup() {
// initialize digital pin 13 as an output. pinMode(13, OUTPUT); }

// the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

Step 4: Testing

In the above pictures I have the LinkIt one board power the LED directly and you can see it is lit up very dim and in the next image I have the circuit set up and then you can see that the LED is we lit and is very bright to get a proper focus.

Similarly we can work with servos and other electronics that would work with the Arduino.

<p>Nice intro to LinkIt One tutorial</p>

About This Instructable

213views

2favorites

License:

Bio: Eat*Sleep*Code Repeat
More by Prem67:Build a Proximity Sensor with the Linkit One Linkit One Play Music Linkit One Oscilloscope  
Add instructable to: