Showing posts with label lights. Show all posts
Showing posts with label lights. Show all posts
Wednesday, May 29, 2013
Bar Mode Lights Sequencer
Can drive up to 15 LEDs or LED-clusters, Selectable Bar-length
This circuit, designed on request, allows up to 15 LED clusters to illuminate in bar-mode sequence. LED sequencing will start at power-on and, after reaching the desired output, all the LEDs turn off and sequence restarts. The number of LEDs or clusters forming the bar can be selected by connecting R7 to the appropriate output pin of IC2 or IC3.
Parts:
R1,R5,R9_________1K 1/4W Resistors
R2______________33K 1/4W Resistor
R3_____________100K 1/2W Trimmer Cermet
R4_______________1M 1/4W Resistor
R6,R10__________10K 1/4W Resistors
R7,R8___________22K 1/4W Resistors
R11______________4K7 1/4W Resistor
R12_____________33R 1/4W Resistor (See Notes)
C1______________10µF 25V Electrolytic Capacitor
C2_____________100nF 63V Polyester Capacitor
C3_____________470µF 25V Electrolytic Capacitor
D1--D14________LEDs (See Notes)
Q1___________2N3819 General-purpose N-Channel FET
Q2,Q3,Q5______BC547 45V 100mA NPN Transistors
Q4____________BC337 45V 800mA NPN Transistor
IC1____________7555 or TS555CN CMos Timer IC
IC2,IC3________4094 8-stage shift-and-store bus register IC
Notes:
Continue reading...
This circuit, designed on request, allows up to 15 LED clusters to illuminate in bar-mode sequence. LED sequencing will start at power-on and, after reaching the desired output, all the LEDs turn off and sequence restarts. The number of LEDs or clusters forming the bar can be selected by connecting R7 to the appropriate output pin of IC2 or IC3.
Parts:R1,R5,R9_________1K 1/4W Resistors
R2______________33K 1/4W Resistor
R3_____________100K 1/2W Trimmer Cermet
R4_______________1M 1/4W Resistor
R6,R10__________10K 1/4W Resistors
R7,R8___________22K 1/4W Resistors
R11______________4K7 1/4W Resistor
R12_____________33R 1/4W Resistor (See Notes)
C1______________10µF 25V Electrolytic Capacitor
C2_____________100nF 63V Polyester Capacitor
C3_____________470µF 25V Electrolytic Capacitor
D1--D14________LEDs (See Notes)
Q1___________2N3819 General-purpose N-Channel FET
Q2,Q3,Q5______BC547 45V 100mA NPN Transistors
Q4____________BC337 45V 800mA NPN Transistor
IC1____________7555 or TS555CN CMos Timer IC
IC2,IC3________4094 8-stage shift-and-store bus register IC
Notes:
- R5 and D1 are optional: they could be of some utility in monitoring the sequence frequency set by means of R3.
- The terminal of R7 bearing an arrow must be connected to the desired output pin of IC2 or IC3 in order to select the number of LEDs or clusters forming the bar.
- For example: if you want to drive seven LEDs or clusters connect R7 to pin#11 of IC2 (Output 8) and the LED or cluster drivers to Outputs 1 to 7 respectively.
- Clusters can be formed by up to 12 LEDs as shown in the circuit diagram, right side. Common cluster types usually range from 5 to 10 LEDs.
- Up to 15 of these cluster driver circuits, each formed by the LEDs, two transistors and three resistors can be built and connected to the progressively numbered outputs of IC2 (the first eight clusters) and IC3 (the remaining clusters).
- If a number of clusters up to 7 is required, IC3 can be omitted.
- Constant output current value for the LEDs can be changed by varying R10.
- The formula is: R = 0.6/I (I expressed in Amperes).
- Wanting to drive only one LED per output instead of a cluster, the above mentioned cluster driver can be substituted by a single transistor, as shown in the circuit formed by D2, Q3, R8 and R9.
Thursday, April 11, 2013
How to Lights Control for Model Cars
The author gave his partner a radio controlled (RC) model car as a gif t. She found it a lot of fun, but thought that adding realistic lights would be a definite improvement. So the author went back to his shed, plugged in his soldering iron, and set to work equipping the car with realistic indicators, headlights, tail lights and brake lights.
Lights Control for Model Cars Circuit Diagram

The basic idea was to tap into the signal from the radio control receiver and, with a bit of help from a microcontroller, simulate indicators using flashing yellow LEDs and brake lights using red LEDs. Further red LEDs are used for the tail lights, and white LEDs for the headlights. Connectors JP4 and JP5 (channel 0) are wired in parallel, as are JP6 and JP7 (channel 1), allowing the circuit to be inserted into the servo control cables for the steering and drive motor respectively. The ATtiny45 micro-controller takes power from the radio receiver via diode D1. T1 and T2 buffer the servo signals to protect IC1’s inputs from damage.
IC1 analyses the PWM servo signals and gen-erates suitable outputs to switch the LEDs via the driver transistors. T3 drives the two left indicators (yellow), T4 the two right indica-tors, and T5 the brake LEDs (red). The red tail lights (JP2-8 and JP2-8) and the white head-lights (JP2-9 and JP2-10) are lit continuously. The brake lights are driven with a full 20 mA, so that they are noticeably brighter than the tail lights, which only receive 5 mA. If you wish to combine the functions of tail light and brake light, saving t wo red LEDs, sim-ply connect pin 10 of JP2 to pin 14 and pin 12 to pin 16. Then connect the two combined brake/tail LEDs either at JP2-5 and JP2-6 or at JP2-7 and JP2-8.
JP3 is provided to allow the use of a separate lighting supply. This can either be connected to an additional four-cell battery pack or to the main supply for the drive motor. The val-ues given for resistors R8 to R17 are suitable for use with a 4.8 V supply. JP2 can take the form of a 2x10 header.
As usual the sof t ware is available as a free download from the Elektor web pages accom-panying this article[1], and ready-programmed microcontrollers are also available. The microcontroller must be taught what servo signals correspond to left and right turns, and to full throttle and full braking. First connect the fin-ished circuit to the radio control electronics in the car, making sure everything is switched of f. Fit jumper JP1 to enable configuration mode, switch on the radio control transmit-ter, set all proportional controls to their cen-tre positions, and then switch on the receiver. The indicator LEDs should first flash on both sides. Then the car will indicate left for 3 s: during this time quickly turn the steering on the radio control transmitter fully to the left and the throt tle to full reverse (maximum braking).
Hold the controls in this position until the car starts to indicate right. Then set the controls to their opposite extremes and hold them there until both sides flash again. Now, if the car has an internal combustion engine (and so cannot go in reverse), keep the throttle control on full; if the car has an electric motor, set the throttle to full reverse. Hold this position while both sides are flashing. Configuration is now complete and JP1 can be removed. If you make a mistake during the configuration process, start again from the beginning. link
JP3 is provided to allow the use of a separate lighting supply. This can either be connected to an additional four-cell battery pack or to the main supply for the drive motor. The val-ues given for resistors R8 to R17 are suitable for use with a 4.8 V supply. JP2 can take the form of a 2x10 header.
As usual the sof t ware is available as a free download from the Elektor web pages accom-panying this article[1], and ready-programmed microcontrollers are also available. The microcontroller must be taught what servo signals correspond to left and right turns, and to full throttle and full braking. First connect the fin-ished circuit to the radio control electronics in the car, making sure everything is switched of f. Fit jumper JP1 to enable configuration mode, switch on the radio control transmit-ter, set all proportional controls to their cen-tre positions, and then switch on the receiver. The indicator LEDs should first flash on both sides. Then the car will indicate left for 3 s: during this time quickly turn the steering on the radio control transmitter fully to the left and the throt tle to full reverse (maximum braking).
Hold the controls in this position until the car starts to indicate right. Then set the controls to their opposite extremes and hold them there until both sides flash again. Now, if the car has an internal combustion engine (and so cannot go in reverse), keep the throttle control on full; if the car has an electric motor, set the throttle to full reverse. Hold this position while both sides are flashing. Configuration is now complete and JP1 can be removed. If you make a mistake during the configuration process, start again from the beginning. link
Subscribe to:
Posts (Atom)