Call Us: 01163 666 444

WhatsApp Us: 07933930342

Trade Accounts

Credit accounts are available for ease of ordering.

Design & Consultation

Assistance from start to finish on all of your projects.

Bespoke LED Lighting

INSTYLE specialises in fully bespoke / made-to-measure orders to make installation quick & easy on site.

Next Day Delivery

HUGE stock available for a tracked & signed for next day delivery

Aftersales Support

Call, Email or WhatsApp us for any technical support or wiring diagrams for your installation.

Trade Accounts

Credit accounts are available for ease of ordering.

Design & Consultation

Assistance from start to finish on all of your projects.

Bespoke LED Lighting

INSTYLE specialises in fully bespoke / made-to-measure orders to make installation quick & easy on site.

Next Day Delivery

HUGE stock available for a tracked & signed for next day delivery.

Aftersales Support

Call, Email or WhatsApp us for any technical support or wiring diagrams for your installation.

Following this step by step guide you will be able set up LED Tape and program them to Dim and Flash using the Arduino Uno open source electronic system.

In order to control the LED Tape you will need the following items:

  • 12 volt transformer with the wire stripped back revealing the copper strands on both the Plus and Negative wires
  • 12 volt transformer with the power connector still present
  • Arduino Uno board
  • Breadboard
  • 5 Jumper Wires (various sizes)
  • 1 Transistor
  • 1 Resistor
  • LED Tape
  • USB Cable
1. Items Needed
step 1 - Items Required
2. Join the Arduino Uno board to the Breadboard using screws and nuts:
step 2 - Front Connection
step 2 - Back Connection
3. Take the 12v Transformer with the stripped ends, twist the copper fillings tightly and place into the Breadboard in the + and section at the bottom of the board (Red into the Red + and White into the Black –)
step 3 - Transformer Connected
4. With the LED Tape place the Red + wire into slot A 28 and the Black – wire into A 30 on the Breadboard.
step 4 - Wires Connected
5. Place the 30 mm Blue Jumper Wire from the + section to B 28
step 5 - Wires Connected
6. Place the Transistor in section C 9, 10 and 11
step 6 - Transistor Connected
7. Place the Resistor in section E 11 to H 11
step 7 - Resistor Connected
8. Place the 40 mm Brown Jumper Wire from the Breadboard section J 11 to the Arduino Uno slot 9
step 8 - Brown Jumper Connected
9. Place the 90 mm Orange Jumper Wire in section A 10 to B 30
step 9 - Orange Jumper Connected
10. Place the 65 mm Red Jumper Wire from the Breadboard section at the bottom of the Breadboard to the Arduino Uno GND slot
step 10 - Red Jumper Connected
11. Place the 25 mm Yellow Jumper Wire from the section at the bottom of the Breadboard to section A 9
step 11 - Yellow Jumper Connected
12. Take the 12v Transformer with the power connector and insert into the Arduino Uno power input and turn power on.
step 12 - Power Connected
13. Download the software from the Arduino site and install the software.
14.  Once installed open the app you will be greeted by this window:
step 14 - App Screen
15. Copy and paste this code into the window which will let you dim LED tape.
step 15 - Code Dim
/*
White LED Tape Dimming

Dim the brightness of the LED Tape form 100% to 0% and then 0% to 100%

Created 13/11/2014
By Joe Watts from InStyle LED Ltd (www.InStyleLED.co.uk)

*/

const int LEDPin = 9; // the pin that the LED is attached to
const int LEDValueMax = 255; // the maximum value of the LED Brightness
const int LEDValueMin = 0; // the minimum value of the LED Brightness
int LEDValue = 0; // the start value of the LED Brightness
int speedValue = 10; // the dimming speed value

void setup() {

pinMode(LEDPin, OUTPUT); // the PWM Output

}

void loop() {

do // Increase the LED Brightness untill it reaches maximum brightness
{
analogWrite(LEDPin, LEDValue);
delay(speedValue);
LEDValue = LEDValue + 1;

} while (LEDValue < LEDValueMax); do // Decrease the LED Brightness untill it reaches minimum brightness { analogWrite(LEDPin, LEDValue); delay(speedValue); LEDValue = LEDValue - 1; } while (LEDValue > LEDValueMin);

}

16.  Click File > Save As (Ctrl+Shift+S) and save this code and name it ‘white-dim’.
step 16 - App Save_As
17. Plug in the USB cable in the Arduino Uno and then into your PC.
step 17 - USB Connected
18. The app will read that it is there and will select the right programmer, to make sure select Tools > Programmer > AVRISP MKII
step 18 - Check App USB_Connection
19. Click the Upload button and it will upload the code to the Arduino Uno.
step 19 - Upload Button
20. The process is now complete and the LED tape will now be controlled by the code running – doing what you have asked it to do.
step 20 - Finished Result

To have the LED Tape flashing you use this code:

Code Dim
/*

White LED Tape Blinking

Turn the LED Tape on and off at a chosen speed

Created 13/11/2014
By Joe Watts from InStyle LED Ltd (www.InStyleLED.co.uk)
*/

const int LEDPin = 9; // the pin that the LED is attached to
int ledValueMax = 255; // the maximum value of the LED Brightness
int ledValueMin = 0; // the minimum value of the LED Brightness
int blinkSpeed = 10000; // the blink speed in milliseconds

void setup() {

pinMode(LEDPin, OUTPUT); // the PWM Output

}

void loop() {

analogWrite(LEDPin, ledValueMax); // Turn LED To maximum brightness
delay(blinkSpeed);
analogWrite(LEDPin, ledValueMin); // Turn LED To minimum brightness
delay(blinkSpeed);
}

…Or you can download the code file here

Here is an video of the whole set up and the result:

Arduino Uno setup