Velleman N.V. RGB-shield for Arduino operation manual

Page 1
KA01
ILLUSTRATED ASSEMBLY MANUAL HKA01IP’1
RGB Shield for
Arduino
®
Control 3 dimmer channels (1 x RGB or 3 single channels) with Arduino UNO™.
Features
• For use with Arduino DueTM, Arduino UnoTM, Arduino Mega
• RGB indicator leds
• Screw terminals for led strip connection.
• With cascade connectors for other shields
• Selectable power supply: external power or power from Arduino UnoTM board
Specifi cations
• Max. current: 2A/channel
• Max. input voltage: 50VDC
• Dimensions: 68 x 53mm / 2.67 x 2.08”
TM
Page 2
Forum
Forum
Participate our Velleman Projects Forum
Subscribing our newsletter?, visit www.vellemanprojects.eu
Page 3
Velleman N.V.
Legen Heirweg 33
9890 Gavere
(België)
Page 4
assembly
hints
1.1 Make sure you have the right tools:
• A good quality soldering iron (25-40W) with a small tip.
• Wipe it often on a wet sponge or cloth, to keep it clean; then apply solder to the tip, to give it a wet look. This is called ‘thinning’ and
• Thin raisin-core solder. Do not use any fl ux or grease.
• A diagonal cutter to trim excess wires. To avoid injury when cutting excess leads, hold the lead so they cannot
• Needle nose pliers, for bending leads, or to hold components in place.
• Small blade and Phillips screwdrivers. A basic range is fi ne.
 For some projects, a basic multi-meter is required, or might be handy
1.2 Assembly Hints :
• Make sure the skill level matches your experience, to avoid disappointments.
• Follow the instructions carefully. Read and understand the entire step before you perform each operation.
• Perform the assembly in the correct order as stated in this manual
• Position all parts on the PCB (Printed Circuit Board) as shown on the drawings.
• Values on the circuit diagram are subject to changes, the values in this assembly guide are correct*
• Use the check-boxes to mark your progress.
• Please read the included information on safety and customer service
* Typographical inaccuracies excluded. Always look for possible last minute manual updates, indicated as ‘NOTE’ on a separate leafl et.
1.3 Soldering Hints :
1. Mount the component against the PCB surface and carefully solder the leads
2. Make sure the solder joints are cone-shaped and shiny
3. Trim excess leads as close as possible to the solder joint
1. Assembly (Skipping this can lead to troubles ! )
Ok, so we have your attention. These hints will help you to make this project successful. Read them carefully.
will protect the tip, and enables you to make good connections. When solder rolls off the tip, it needs cleaning.
fl y towards the eyes.
0.000
- 4 -
Page 5
DO NOT BLINDLY FOLLOW THE ORDER OF THE
COMPONENTS ONTO THE TAPE. ALWAYS CHECK THEIR
VALUE ON THE PARTS LIST!
- 5 -
Page 6
Construction
CONSTRUCTION
I
Jumper
1
Select power source
 Vin: power from Arduino
OR
 PWR: Power from external supply
Resistors
2
R...
 R1: 1K (1 - 0 - 2 - B)  R2: 68 (6 - 8 - 0 - B)  R3: 180 (1 - 8 - 1 - B)  R4: 330 (3 - 3 - 1 - B)  R5: 330 (3 - 3 - 1 - B)  R6: 330 (3 - 3 - 1 - B)
®
Transistors
3
M3 BOLT
TRANSISTOR
M3 NUT
Female header
4
 2 x 6p
Do not cut the
connector pins!
 2 x 8p
 T1: BUK9535-55  T2: BUK9535-55  T3: BUK9535-55
PCB
- 6 -
LED’s
5
LD1
LD2
Diode
6
CATHODE
Terminal blocks
7
 LD1: blue (water-clear!)  LD2: Green  LD3: Red
Watch the polarity!
LD3
 D1: 6A6
 SK4: 2p (power)
 SK5: 2p (Red)  SK6: 2p (Green)  SK7: 2p (Blue)
C (-)
Page 7
CONNECTION DIAGRAM
II
1
EXTERNAL POWER SUPPLY INPUT
Max. 50VDC/6A
6= Blue 5= Green 3= Red
Connection diagram
2
SELECT POWER SOURCE
Vin: Power from Arduino (max. 2A) PWR: Power from external supply (max. 50VDC/6A)
3
RGB OUTPUTS
DOWNLOAD SAMPLE CODE FROM KA01 PAGE ON WWW.VELLEMAN.BE
- 7 -
Current limit resistor
Page 8
Schematic diagram
GND
AREF
D1
SK4
PWR
GND
SK10
0
2
1
3
2
4
3
5
4
6
5
7
6
ARDUINO UNO
8
7
SK11
8
1 2
9
3
10
4
11
5
12
6
13
7 8
6A6
SK9
1
A51
2
A4
3
A3
4
A2
5
A1
6
A0
SK8
1
Vin 2 3
GND
4
5V 5
3V3 6
RST
SK1
PWR
SK2
SK3
Vin
Vin
T1
GND
GND
GND
BUK9535
T2 BUK9535
T3 BUK9535
R4
6
330
R1 1K
LD1 BLUE
GND
R5
5
330
R2 390
LD2 GREEN
GND
R6
3
330
R3 180
LD3
RED
SK5
BLUE
SK6
GREEN
SK7
RED
- 8 -
Page 9
- 9 -
PCB
Page 10
Leds and how to use them
Leds feature a specifi c voltage drop, depending on type and colour. Check the datasheet for exact voltage drop and rated current !
How to Calculate the series resistor:
Example: operate a red led (1.7V) on a 9Vdc source. Required led current for full brightness: 5mA (this can be found in the datasheet of the led)
Supply voltage (V) - led voltage (V)
required current (A)
Required resistor power handling= voltage over resistor x current passed trough resistor
(9V - 1.7V) x 0.005A = 0.036W
LEDs in series:
Example: 3 x red led (1.7V) on 9V battery Required led current for full brightness: 5mA (this can be found in the datasheet of the led)
9V - 1.7V
0.005A
= series resistance (ohms)
= 1460 ohm
closest value :
use a 1k5 resistor
a standard 1/4W resistor
will do the job
Never connect leds in parallel
open collector outputs
An open collector output can be compared to a switch which switches to ground when operated
Example: How to switch an LED by means of an open collector output
Supply voltage (V) - (number of leds x led voltage (V))
required current (A)
9V - (3 x1.7V)
= 780 ohm
0.005A
= series resistance (ohms)
use an
820 ohm resistor
Page 11
Diagram
Page 12
The new Velleman Projects catalogue is
now available. Download your copy here:
www.vellemanprojects.eu
Modifi cations and typographical errors reserved - © Velleman nv. HKA01’IP Velleman NV, Legen Heirweg 33 - 9890 Gavere.
Loading...