Documentos de Académico
Documentos de Profesional
Documentos de Cultura
LUMINOSO MÓVIL
K-370
Gracias
por la compra de este producto Steren.
Características ......................................................................................... 7
Partes ...................................................................................................... 9
5
IMPORTANTE
Este kit se basa el fenómeno P.O.V. (persistencia de la visión, por sus siglas
en inglés) explicado en el libro “ABC de los microcontroladores” p. 119 y
desarrollado en el experimento No. 20 del mismo.
7
2. EQUIPO REQUERIDO
• Cautín tipo lápiz
• Soldadura
• Pinzas de punta
• Pinzas de corte
• 1 batería cuadrada de 9 V
8
3. PARTES
• 1 ventilador • 1 base
9
10
4. ARMADO E INSTALACIÓN
11
4.1 Montaje del LED infrarrojo en el ventilador
2. Solde la resistencia de 560 Ohms (verde, azul, café) al cátodo del LED,
dejando una separación de 1,5 cm entre el cuerpo y la resistencia.
12
7. Repita la operación anterior con la terminal del ánodo del LED
IR. Quite un pedazo de la cubierta aislante del cable rojo y suelde la
terminal del ánodo. Aísle y acomode el conjunto tratando de que quede lo
más plano posible.
13
8. Para verificar que todo está correcto, conecte el cable positivo del
eliminador al cable rojo del ventilador y el negativo al cable azul.
14
4.2 Montaje de los componentes en el circuito impreso
15
3. Coloque los LEDs en sus respectivas posiciones (L1-L8). Verifique la
posición de cada uno de sus cátodos. Suelde las terminales por la parte
inferior y corte el exceso de metal.
5. Reduzca la longitud del cable del portabatería cortándole 7,5 cm. Suelde
los cables en su posición (J1).
17
4.3 Montaje del circuito
13. El circuito se atornilla a la base que está adherida al ventilador con las
pijas proporcionadas. Verifique que el diodo infrarrojo y el fototransistor
queden alineados y lo más cercanos posible. Tal vez sea necesario poner
al fototransistor una protección contra la luz, utilizando un trozo de tubo
termocontráctil, (thermofit).
18
14. Por último, atornille el ventilador a la base de plástico. Las tuercas deben
quedar por debajo. Pase el cable de corriente del ventilador por el orificio
que deberá quedar a su izquierda.
15. Coloque una pila de 9 V en el broche de la batería y ajústela con los dos
cinchos.
19
4.4 Software
(Para más detalles, consulte las páginas 122 a 126 del libro “ABC de los
microcontroladores”).
20
Copie en el editor la secuencia del programa tal como aparece en la imagen
(excepto las indicaciones).
main:
cmcon=7 ' inicialización del PIC
trisb = %00000000
trisa = %00000010
portb=0'// se declara una constante de 70 elementos, y en los elementos se
guardan los
'//valores de cada segmento de letra, los valores deben escribirse en un solo
renglón.
const luces as byte [70] =
($00,$00,$00,$00,$00,$00,$00,$72,$FB,$DB,$DB,$DB,$DF,$4E,$00,$00,$00,$40,$C0,$C0,$FF
,$FF,$C0,$C0,$C0,$00,$00,$00,$FF,$FF,$DB,$DB,$DB,$C3,$00,$00,$00,$FF,$FF,$D8,$D8,$DC
,$FE,$73,$01,$00,$00,$00,$FF,$FF,$DB,$DB,$DB,$C3,$00,$00,$00,$FF,$FF,$70,$38,$1C,$FF
,$FF,$00,$00,$00,$00 )
dim i as byte
dim CT1 as BYTE
T1 = 0
sinc:
if sensor = 1 then 'los leds prenden hasta que reciban señal IR
goto sinc
end if
FOR i= 0 to 70
for CT1 = 0 to 3 'determina el ancho de la letra
portb = luces [i]
delay_us (75)
portb= 0
delay_us (30)
next CT1
next i x
GOTO MAIN
end.
21
5. SOLUCIÓN DE PROBLEMAS
Problema Soluciones
- Verifique que el LED infrarrojo esté encendido.
Nota:
El diseño del producto y las especificaciones pueden cambiar sin
previo aviso.
22
Producto: Kit para armar un letrero luminoso móvil
Modelo: K-370
Marca: Steren
PÓLIZA DE GARANTÍA
Esta póliza garantiza el producto por el término de un año en todas sus partes y mano de obra, contra
cualquier defecto de fabricación y funcionamiento, a partir de la fecha de entrega.
CONDICIONES
1.- Para hacer efectiva la garantía, presente esta póliza y el producto, en donde fue adquirido o en
Electrónica Steren S.A. de C.V.
2.- Electrónica Steren S.A de C.V. se compromete a reparar el producto en caso de estar defectuoso sin
ningún cargo al consumidor. Los gastos de transportación serán cubiertos por el proveedor.
3.- El tiempo de reparación en ningún caso será mayor a 30 días, contados a partir de la recepción del
producto en cualquiera de los sitios donde pueda hacerse efectiva la garantía.
4.- El lugar donde puede adquirir partes, componentes, consumibles y accesorios, así como hacer válida esta
garantía es en cualquiera de las direcciones mencionadas posteriormente.
K-370
Thank You
on purchasing your new Steren product.
The instructions of this manual are for reference about the product. There may
be differences due to updates.
Please check our web site (www.steren.com) to obtain the latest version of the
instruction manual.
3
4
CONTENT
Highlights .............................................................................................. 7
Requirements ........................................................................................ 8
Parts ......................................................................................................9
Operation .............................................................................................11
Troubleshooting ................................................................................... 22
5
IMPORTANT
This kit relates to experiment No. 20 of the book “ABC de los micro
controladores”.
Do not use or store the LED sign kit where it may get wet as this can
cause malfuntions.
The LED sign kit contains small parts; do not leave within reach of
small children.
Always use a soft, dry cloth to clean the Led sign kit.
6
1. HIGHLIGHTS
The LED sign kit allows you to have a luminous scroll and build your electronics
and microcontroller knowledge.
7
2. REQUIREMENTS
• Soldering iron.
• Welding.
• Nose pilers.
• Cutting pilers.
8
3. PARTS
• 1 fan • 1 base
9
10
4. OPERATION
1 uF +5V
7805
+9V +12V fro m
R1
fan
Phototransisto r
RA2 RA1
PT1302B IR LED
RA3 RA0
RA4 CLK
RST CLK
6F628 A
GND VSS
RB0 RB7
Circuit mounted
RB1 RB6 on the fa n
RB2 RB5
RB3 RB4
L1 L2 L3 L4 L5 L6 L7 L8
R2
Electrical circuit kit
11
4.1 Infrared LED assembly on fan
1. Connect the LED to the input of 12V fan. Place the fan.
2. Solder 560 Ohms resistance (green, blue, brown) to the LED´s cathode,
leaving about 1.5 cm, between the body and resistance.
6. Insert LED on the fan and align the end of the resistance of 560 Ohms with
the blue wire. Remove a section of the insulating cover on the blue wire and
solder resistance insulate.
12
4” 12 Volts D C
plastic fa n
12VDC
Red cabl e
Blue cabl e Introduce
LED
LED
IR 383
Under the fan connect
560 Ohm s
the red cable
Resistor
to the cathode Under the fan connect
the blue cable
7. Repeat with the terminal for the anode of the IR LED. Remove a section
of the insulating cover on the red wire and solder the anode terminal to it.
Insulate and place it as fiat as possible.
13
Red cabl e
Blue cabl e
LED
IR 560 Ohms Resistor
one end to the cathode, and
the other to the blue cable
14
4.2 Assembly of components in the circuit tablet
1 uF 10,000 Ohms
Capacitor Resistance Phototransistor
Emitter LEDs
L1 to L8
C1
R1
16
D1
+ D9 D8 D7 D6 D5 D4 D3 D2
-BATT+
L8
L7
L6
L5
L4
L3
L2
L1
J1
U3
17
U2 REV A R2
LED Cathode
Battery 5V CI 22 Ohms
contact Regulator base Resistance
Components arrangement
on the printed circuit
2. Place the 10 Kilo Ohms and 22 Ohms resistances in their respective positions
(R1-R2). Solder the terminals by the lower part and cut off the excess metal.
15
3. Place the LEDs in their respective positions (L1-L8), check the position of
the cathode of each of them. Solder the terminals by the lower part and cut
off the excess metal.
4. Place the controller 7805 in its respective position (U2). Solder the terminals
by the lower part and cut off the excess metal.
5. Reduce the cable lenght by 7.5 cm. Solder the cables in place (J1).
6. Place the 10uF capacitor in its respective position (C1). Check the position
of the positive (+), solder terminals by the lower part and cut off the excess
metal.
7. The components are soldered to printed circuit inserting in its entirety, the
phototransistor must be welded in its respective position (D1), lifting it of the
circuit board with a surplus of 1.5 cm in the terminals. Check the position
of the cathode terminal, solder terminals by the lower part and cut off the
excess metal.
8. Carefully place the PIC micro controller, taking care to insert in the
base of IC and verifying the position of Pin1.
9. To verify that the assembly was correct, place a 9 volt battery, and direct
the photo transistor to a light source, the LEDs will flash.
16
Photo transistor
Solder to
1.5 cm
distance from the
10 uF 10 K Ohms printed circuit
Capacitor Resistance
LEDs
Emitter L1 to L8
10uF
LED Cathode
Pic
Battery 5V CI
contact Regulator base 22 Ohms
Resistance
17
4.3 Montaje del circuito
13. Screw the circuit to the base. Check that the IR diode and the photo
transistor are aligned and closer as possible. It could be neccesary place in
the photo transistor a protection against the light using a piece of thermofit.
18
14. Screw the fan to the plastic base. The nuts must be placed under the base.
Pass the fan´s wire by the left hole from the fan.
15. Place a 9V battery in the battery fastener. Adjust the battery with two
ty-raps.
19
4.4 Software
(For details, see pages 122 to 126 of the book “ABC de los microcontroladores”).
To program characters, you need to draw and fill the spaces to complete the
desired letter or number. In binary language every empty space corresponds
to 0 and the occupied with the number 1.
20
In your editor copy the sequence of the program (except indications).
After the line “const luces as byte” enter between brackets the hexadecimal
values, also enter the number list between parentheses (add three $00 for each
space between letters).
program POV_3
' *** programa para microcontrolador PIC16F628A
' *** version6_nov 2010 // original JCM // mesys.com.mx
' ***** abc de los microcontroladores *****
' ***** IMPORTANTE, editar proyecto con la opción
' ***** oscillator seleccionar INTOSC
' ***** master clear enable seleccionar disable
‘ ***** Editado y compilado con mikrobasic versión 4.15
main:
cmcon=7 ' inicialización del PIC
trisb = %00000000
trisa = %00000010
portb=0'// se declara una constante de 70 elementos, y en los elementos se
guardan los
'//valores de cada segmento de letra, los valores deben escribirse en un solo
renglón.
const luces as byte [70] =
($00,$00,$00,$00,$00,$00,$00,$72,$FB,$DB,$DB,$DB,$DF,$4E,$00,$00,$00,$40,$C0,$C0,$FF
,$FF,$C0,$C0,$C0,$00,$00,$00,$FF,$FF,$DB,$DB,$DB,$C3,$00,$00,$00,$FF,$FF,$D8,$D8,$DC
,$FE,$73,$01,$00,$00,$00,$FF,$FF,$DB,$DB,$DB,$C3,$00,$00,$00,$FF,$FF,$70,$38,$1C,$FF
,$FF,$00,$00,$00,$00 )
dim i as byte
dim CT1 as BYTE
T1 = 0
sinc:
if sensor = 1 then 'los leds prenden hasta que reciban señal IR
goto sinc
end if
FOR i= 0 to 70
for CT1 = 0 to 3 'determina el ancho de la letra
portb = luces [i]
delay_us (75)
portb= 0
delay_us (30)
next CT1
next i x
GOTO MAIN
end.
21
5. Troubleshooting
Trouble Solutions
- Verify that the LED is ON.
Note:
Product design and specifications are subject to change without
previous notice.
22
Product: LED sign kit
Part number: K-370
Brand: Steren
WARRANTY
This Steren product is warranted under normal usage against defects in workmanship
and materials to the original purchaser for one year from the date of purchase.
CONDITIONS
1.- This warranty card with all the required information, invoice, product box or
package, and product, must be presented when warranty service is required.
2.- If the product stills on the warranty time, the company will repair it free of charge.
3.- The repairing time will not exceed 30 natural days, from the day the claim was
received.
4.- Steren sell parts, components, consumables and accessories to customer, as well
as warranty service, at any of the addresses mentioned later.
If the product has been damaged by an accident, acts of God, mishandling, leaky
batteries, failure to follow enclosed instructions, improper repair by unauthorized
personnel, improper safe keeping, among others.
a) The consumer can also claim the warranty service in the purchase establishment.
b) If you lose the warranty card, we can reissue it, if you show the invoice or purchase
ticket.
RETAILER INFORMATION
Name of the retailer In case your product fails
or have questions, please
Address contact your nearest dealer.
Product If you are in Mexico, please
Brand give a call to our
Part number Call Center.
Serial number
Date of delivery 01 800 500 9000
23