SOS light mod

CandleEater

Newly Enlightened
Joined
Nov 23, 2005
Messages
30
Hi all I just thought I would show you a mod I am planing to make with the PICAXE chip. It will be a PR bulb with an LED, when you turn on the light it will stay on but if you turn it off and back on it will blink SOS. And to go back to the stedy mode just turn it off for 5-10 secs and turn it back on. I made the circuit and it works good. To make the circiut connect one end of a .22uf cap to gnd and the other end to input 3 of a PICAXE-08($2.60CAD HVWTech.com) connect a 3M resistor parallel to the cap. And from +V to input pin 3 goes a 1M resistor. Use a .22uf cap from +V to gnd. Connect a 1K resistor from output pin 1 to the base of a NPN transistor, the emitter goes to gnd, the collector goes to a resistor(1K-100 ohms or so) and then to an LED, the other LED lead goes to +V. Here is the code.

Eric

if pin3 = 1 then main1

main:
high 1
goto main

main1:
high 1
pause 200
low 1
pause 400
high 1
pause 200
low 1
pause 400
high 1
pause 200
low 1
pause 500
high 1
pause 600
low 1
pause 400
high 1
pause 600
low 1
pause 400
high 1
pause 600
low 1
pause 500
high 1
pause 200
low 1
pause 400
high 1
pause 200
low 1
pause 400
high 1
pause 200
low 1
pause 1000
goto main1
 
Top