4017 counter reset problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • barry wilkins
    Senior Member
    • Aug 2009
    • 172

    #1

    4017 counter reset problem

    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
  • televizora
    ghettomodmaster
    • Nov 2016
    • 957
    • Bulgaria

    #2
    Re: 4017 counter reset problem

    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.
    Last edited by televizora; 01-10-2021, 07:47 AM.
    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

    Comment

    • barry wilkins
      Senior Member
      • Aug 2009
      • 172

      #3
      Re: 4017 counter reset problem

      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

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 30953
        • Albion

        #4
        Re: 4017 counter reset problem

        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.

        Comment

        • petehall347
          Badcaps Legend
          • Jan 2015
          • 4425
          • United Kingdom

          #5
          Re: 4017 counter reset problem

          is this a can bus system ?

          Comment

          • barry wilkins
            Senior Member
            • Aug 2009
            • 172

            #6
            Re: 4017 counter reset problem

            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

            Comment

            • barry wilkins
              Senior Member
              • Aug 2009
              • 172

              #7
              Re: 4017 counter reset problem

              Here is a picture of my first design
              Attached Files

              Comment

              • televizora
                ghettomodmaster
                • Nov 2016
                • 957
                • Bulgaria

                #8
                Re: 4017 counter reset problem

                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, 12:50 PM.
                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

                Comment

                • barry wilkins
                  Senior Member
                  • Aug 2009
                  • 172

                  #9
                  Re: 4017 counter reset problem

                  wont work the switch is binary ,the lamps are controlled by the ecu

                  Comment

                  • redwire
                    Badcaps Legend
                    • Dec 2010
                    • 3900
                    • Canada

                    #10
                    Re: 4017 counter reset problem

                    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.

                    Comment

                    • barry wilkins
                      Senior Member
                      • Aug 2009
                      • 172

                      #11
                      Re: 4017 counter reset problem

                      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

                      Comment

                      • barry wilkins
                        Senior Member
                        • Aug 2009
                        • 172

                        #12
                        Re: 4017 counter reset problem

                        Thinking about it I decided to use two transistors in a darlington configuration .seems to work OK .
                        Next step is to try it out.

                        Comment

                        Related Topics

                        Collapse

                        • lafilipczyk
                          lc 80le632u - Lamp error - TV working after counter reset via buttons
                          by lafilipczyk
                          Hello everyone, I just got my hands on a Sharp lc 80le632u TV that initially had the 1 short, 1 long blink sequence. That indicates a lamp error, however if I follow the isntructions to reset the error counter, the TV starts correctly: no missing LEDs everything lods just fine.

                          I went through the process to get to the diagnostic screen, and got this ( attached).

                          Since all LEDs are working correctly, and the TV seems to load fine after reset, that tells me that the power board and the LED strips are working correctly. Could this be a main board issue?

                          Any...
                          07-29-2024, 11:00 AM
                        • Tom41
                          Honeywell Accenta G3 tamper alarm
                          by Tom41
                          This house has a Honeywell Accenta G3 alarm system. If the main unit loses power for any reason, the external siren sounds - even if the alarm is not even armed! Entering the code to disarm it is not an option as the keypads are completely dead when the power is out.

                          I presume this means the backup battery inside the box has failed, but I can't get in there and replace it without also setting off a tamper alarm! Is there any way to disable the tamper alarm so that electrical work can be carried out with the power off? Or a way to replace the backup battery without setting off the...
                          08-31-2023, 04:00 AM
                        • odie34
                          Sony OLED XR-77A80J - 5 Flashes But Turn On After Hard Reset
                          by odie34
                          I am a hobbyist (not a professional) so please be gentle...

                          I recently received an XR-77A80J that wouldn't turn on. (Repeating 5 flashes when plugged in.)

                          I did a hard reset by holding the power button for about 30 seconds until the set powered down. I then tried to turn it on and it powered up, bringing me to the setup screen. There's not a lot of detail on the setup screen but the picture didn't have any distortions, so at least a cursory examination suggests no physical damage to the screen. The set appeared to be working normally, but it shut down after about 15 seconds,...
                          02-18-2024, 09:11 AM
                        • slybunda
                          Alarm Siren issue
                          by slybunda
                          Apologies if this is in the wrong section but being a car alarm siren that makes noise i thought it be best to put it in the audio section.
                          Had weird alarm issues where siren made a strange noise: https://www.youtube.com/watch?v=ZjsqndhionU
                          took siren out of the car and checked it out and pics attached seem to be the source of the issue.
                          shockingly the alarm still makes its normal sound if i trigger it manually so speaker seems to be intact.
                          getting a replacement is gonna be next to impossible, its a Toad Ai606 which is no longer in production and cant see to find a replacement...
                          02-04-2024, 11:01 AM
                        • ictc
                          Philips MDP 3380/12 Blu-ray Player – No Power, Reset Signal Always High
                          by ictc
                          I'm troubleshooting a Philips MDP 3380/12 Blu-ray player that shows no signs of life. The display remains off, and no buttons respond.

                          Inside, the power supply is working correctly, and all expected voltages on the mainboard match the service manual specifications. The CPU warms up slightly (checked with a thermal camera), the crystal oscillator is functioning, but the reset signal remains high at all times.

                          The reset circuit appears to consist of two NPN transistors, one driven by 5V VCC and the other by 3.3V STBY, as shown in the attached schematic. Should the reset...
                          02-25-2025, 12:15 PM
                        • Loading...
                        • No more items.
                        Working...