For all of you who have used the Mediatek Linkit ONE, you may have noticed that whenever you connect an LED to a digital pin, it's brightness is very low.
This happens because the output current voltage of linkit one's digital pin is very low as compared to arduino (3.3v, 2-3mA). This problem can be solved by using an NPN transistor for each digital pin. This instructable will guide you the same.
So let's get started.......
Step 1: Parts Required
The following parts are required for attempting this instructable:
- Linkit ONE
- LEDs (As many as you want)
- BC547 transistors (= no. of LEDs)
- Jumper wires
Step 2: Connect the Battery
The first very basic step for each Linkit ONE project is to connect the battery. Do so by simply plugging it to it's respective socket.
Step 3: Connect All the LEDs
The next step is to connect all the LEDs to your Linkit ONE. You can use any number of LEDs from 1-12 but keep in mind that you must have a transistor for each.
Connect evertyhing as per the image given above. Use a breadboard and jumper wires to connect the LEDs.
Step 4: Upload the Code
Upload the code given below to your Linkit one. The switches should be in SPI, UART, and USB modes.
Step 5: Test
Finally, switch your Linkit ONE on. All the LEDs will now blink every 3 seconds but their brighness will be much higher than before.
So this is the end of this instructable. Thanks for watching!!