![]() |
|
|
Thread Tools | Display Modes |
![]() |
#1 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() I have been trying to make a counter for my vehicle alarm .I need to reduce the pulses that operate the hazard warning lights.
Because of the ECU you cannot connect directly to the lamps ,so I fitted a relay across the hazard switch. This works ,but because the number of pulses are odd this causes the lamps stay on ,and you have to switch them off by pushing the switch once. I had a couple of ideas ,one was to use a couple of 74121 monostable ICs to give me 2 pulses. The circuit I came up with is a Decade counter that uses counts 0 and 3 summing these together gives me the 2 pulses I need if I feed back count 4 or 5 as a reset Occasionaly the second pulse returns to a high causing the relay to stay on, ,it seems like the reset might the the problem . On the TI data sheet it does show a circuit using a 4001 to reset the IC. Any thought on how I could solve this ? Barry Wilkins |
![]() |
![]() |
![]() |
#2 |
ghettomodmaster
Join Date: Nov 2016
City & State: Bulgaria
My Country: Bulgaria
Line Voltage: 230VAC 50Hz
I'm a: Student Tech
Posts: 752
|
![]() Can you provide a schematic of your alarm? Or at least detailed explanation how everything is connected and what you commutate.
Because there might be a much simpler solution or different solution.
__________________
Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me. 1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams Last edited by televizora; 01-10-2021 at 07:47 AM.. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() Hi not able to get multisim to work at the moment .
Soon as the weather improves I will first check the pusles that come out of the alarm with one of my scopes, sure that it was 5 pulses certainley an odd number which is causing the hazard light to stay on .If you set the alarm twice it cures the flashing problem. At the moment I am testing the counter indoors using a 555 monostable with a run down control, think that might be my problem the clock is not stopping at the correct time. So I am thinking of a redesign of the 555 circuit ,idealy it would be best if the reset from the counter stopped the clock pulses from the oscillator circuit. Barry |
![]() |
![]() |
![]() |
#4 |
Great Sage 齊天大聖
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 23,718
|
![]() most alarms flash the lights a different number of times for "arm", and "disarm".
you should just make a board with some fets or "high-side drivers" on it to drive the light circuits. |
![]() |
![]() |
![]() |
#5 |
Badcaps Veteran
Join Date: Jan 2015
City & State: worcester
My Country: United Kingdom
I'm a: Knowledge Seeker
Posts: 2,522
|
![]() is this a can bus system ?
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() No the alarm is not can bus ,but I expect the hazard lamps are ,as the lights seem to be controlled by an ECU.
What I did think ,if I changed the output to AC coupled it would not matter if the counter output remained at high. As I said when the weather improves I will test the circuit in the vehicle . Some reason I seem to have alot of time on my hands at the moment. Barry |
![]() |
![]() |
![]() |
#7 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() Here is a picture of my first designalarm cct 1.JPG
|
![]() |
![]() |
![]() |
#8 |
ghettomodmaster
Join Date: Nov 2016
City & State: Bulgaria
My Country: Bulgaria
Line Voltage: 230VAC 50Hz
I'm a: Student Tech
Posts: 752
|
![]() Just command the hazard lights via relay, while supplying them 12V directly from the battery. Use the original electrical wiring as control signal for the relay, then commutate 12V from the battery. So when you turn them on, they work. Then use a second relay, so you can command them via the alarm. So when either the alarm sends a signal to the relay to close or turn them on, they will work.
You need 2 relays and 1 plus wire from the battery. Last edited by televizora; 01-13-2021 at 12:50 PM.. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() wont work the switch is binary ,the lamps are controlled by the ecu
|
![]() |
![]() |
![]() |
#10 |
Badcaps Veteran
Join Date: Dec 2010
City & State: Alberta
My Country: Canada
Posts: 1,900
|
![]() In your first circuit, I would make some changes, such as adding a driver transistor for the relay because a 4017 has weak output drive a few mA. It would be a circuit that either counts to one or two. It depends if the alarm has a signal with a level for when "on", so you could add a gate to make the counter go to one or two depending if the alarm is set on or off.
|
![]() |
![]() |
![]() |
#11 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() Hi think you are right about the transistor ,just knocked up a circuit to try ,a capacitor about 10 uF and a IRFBC30 mosfet (got lts of these) .
The output from the counter is now AC coupled so if the last count stays high it should not matter Been thinking I am using the wrong type of counter,perhaps one that has a clear input would have been better Been very busy last couple of day sorting out the SOVOS Tv for a friend ,what a pig to work on. What I do need to do is to get Multisim working on this pc which is new. Barry |
![]() |
![]() |
![]() |
#12 |
Senior Member
Join Date: Aug 2009
City & State: Maidstone Kent
Posts: 155
|
![]() Thinking about it I decided to use two transistors in a darlington configuration .seems to work OK .
Next step is to try it out. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|