BS-1 Universal Led Flasher
By Peter Giling.
Many items in the market give a rather poor method of Leds just going on and off.
This very small unit is more than that.
The ready made and available printed circuit measures only 27 x 17 mm.
The double sided and trough-hole metallised board contains a small microprocessor.
This makes it possible to have a selection of different programs for various tasks.
The firmware can be extended with more selections, if somebody comes up with a good suggestion.
Up until now, there are 10 available programs.
One of these programs can be selected just by a little jumper on board.
The board also contains the necessary resistors to connect leds, so all you have to do is connecting leds and power, nothing more.
The selected program will be remembered and start anytime you power up.
Power can be from 9 to 16Vdc, and power consumption is extremely low.
But you will be surprised about the quality of the light patterns it will give you!
Technical description
The unit is build around a Microchip PIC12C675.
The program is written in PicSimulator IDE Basic, from www.oshonsoft.com
The suplly bis no more tan a transistor and a Zenerdiode.
It is made in such a way, that swapping the connections of power does not harm anything.
The 5 connections for Leds all have a resistor on board so leds can be connected directly.
For all leds there is only one common (-).
The connection marked #5 is used as input for the program that can switch between two red flashing lights and
a slow white flashing led for railroad crossings (dutch pattern).
Program selection is done by putting on jumper and take it off again.
Each time the jumper is attached, the program will shift to the next one.
After removing the jumper, the selection is stored in internal EEprom memory.
Available programs
| Description (up until now (27 july 2010) | Used Leds 1st task | Used leds 2nd task | Used leds 3nd task | special remarks |
|---|---|---|---|---|
| Nightrider | All 5 | |||
| 2 independable flashers for police cars | 1 and 2 | 3 and 4 | use blue leds | |
| 2 independable working turnlight flashers | 1 and 2 | 3 and 4 | use orange leds | |
| High tower flashers | All 5 | |||
| Traffic blockade | All 5 | |||
| Normal flashers for dangerous road crossings | 1 and 2 | 3 and 4 | ||
| Traffic lights (dutch pattern) | 1 Red | 2 Yellow | 3 Green | |
| Traffic lights (german pattern) | 1 Red | 2 Yellow | 3 Green | |
| Railroad crossing Dutch type (lights only) | 1 White | 2 Red | 3 Red | connect pin 5 to ground te change pattern |
| Rairoad crossing German type (with barriers) | 1 Yellow | 2 Red | 3 cmd barrier enter, 4 cmd barrier exit. For Servo driven barriers, use MGV136 | |
| Who's next??? |
The real thing
The Hardware
The Firmware
Partslist
| Qty | Reference | Part |
|---|
| 5 | R1..5 | resistor 330 Ohm |
| 1 | R6 | resistor 4.7 KOhm |
| 1 | R7 | resistor 10 KOhm |
| 1 | D1 | Zener diode 5V1 400 mW |
| 1 | C1 | capacitor 100 nF |
| 1 | T1 | Transistor BC337-40 |
| 1 | U1 | PIC12F675 DIL8 |
| 1 | Socket | DIL8 |
| 1 | Jp1 | header 2 pins + jumper |
Trace: » mttmfcc-en » english » ord3-cs-de » locobuffer-nl » slx-en » italian » androc-intro-en » barjut-de » bs-1-en

