Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Circuit of the switch 12v. led-lighting

Status
Not open for further replies.

kaspiysk113

New Member
One Bit Switcher

I offer my own version of the circuit of the switch 12v. led-lighting for the kitchen based on the dual trigger of the hc74 chip.
Created with EasyEDA.
 

Attachments

  • FAFEA6E7-0365-4619-94CF-8E8F32625CDC.jpeg
    FAFEA6E7-0365-4619-94CF-8E8F32625CDC.jpeg
    113.5 KB · Views: 396
Last edited:
The circuit should work OK.
But: Remember one of the most basic engineering principles - KISS - Keep It Simple, Stupid!

How is that circuit in any way more functional or more advantageous than using the switch to directly control the relay coil - or indeed, control the lamp circuit directly?

As an educational project it is a novel application, but I do not see it to be more than that?
 
The circuit should work OK.
But: Remember one of the most basic engineering principles - KISS - Keep It Simple, Stupid!

How is that circuit in any way more functional or more advantageous than using the switch to directly control the relay coil - or indeed, control the lamp circuit directly?

As an educational project it is a novel application, but I do not see it to be more than that?

The scheme is assembled by me and works perfectly.
Of course, it is no more functional or profitable than what you mentioned.
This goal was never set.
The goal was to make the light switch controlled by a single button with a return to the original position. The goal was also to make a small and aesthetically pleasing switch.
So, the principle of "KISS", I believe, was taken into account, thank you for reminding me.
 
I've still no idea what it does as you've never told us. And, I'm not willing to work it out.

Mike.
 
I've still no idea what it does as you've never told us. And, I'm not willing to work it out.
The circuit converts an SPDT pushbutton switch to alternate-action. U1A is a set-reset flipflop to debounce the switch, and U1B is a toggle flipflop that drives the output stage.

There is a problem with all of the Set and Reset inputs. This would be more apparent if you drew a schematic instead of a wiring diagram. A correct schematic has separate symbols for each flipflop with the inputs and outputs arranged in a traditional manner, not the physical package. This makes its possible for any experienced viewer to see the intent of the design. Redraw the schematic and you will see the problem. Yes, the circuit works, but not by design.

See figure 3 of this datasheet for the correct schematic symbols.

ak

ps. Ground symbols never point any direction but down. Antennae and power symbols point up; grounds point downward, always.
 
Last edited:
The circuit converts an SPDT pushbutton switch to alternate-action. U1A is a set-reset flipflop to debounce the switch, and U1B is a toggle flipflop that drives the output stage.

There is a problem with all of the Set and Reset inputs. This would be more apparent if you drew a schematic instead of a wiring diagram. A correct schematic has separate symbols for each flipflop with the inputs and outputs arranged in a traditional manner, not the physical package. This makes its possible for any experienced viewer to see the intent of the design. Redraw the schematic and you will see the problem. Yes, the circuit works, but not by design.

See figure 3 of this datasheet for the correct schematic symbols.

ak

ps. Ground symbols never point any direction but down. Antennae and power symbols point up; grounds point downward, always.

Thank you for your comments about the symbols in the diagram, I will keep this in mind in the future.
I have a scheme based on separate function blocks, but I don't see any problems with the “set” and “reset”inputs on it.
What exactly do you mean?
 
This same chip was previously used by me to repair the DGT Easy chess clock.
This watch failed to switch time, and the crossbar was not held clearly in one of the positions.
The problem was solved by using the built-in R#/S# triggers in hc74.
If it is interesting, I can publish it on this forum.
 
I've redrawn it on a piece of paper, but I don't see the problem you're talking about.
Trace the four Set and Reset branches in both images, and you will see that they are not the same. The #17 image is correct.

ak
 
Unless you've already got +5V elsewhere in the system, I'd suggest changing the 74hc74 to a CD4013B flip-flop. The CD4000 series can run on 12 volts, so you wouldn't need a separate 5 Volt regulator. Be aware though, that the logic state of the S and R inputs are different between the hc74 and the 4013. Also the pinouts are different.

Also, I would eliminate the relay by using a mosfet to drive the LEDs.
 
Unless you've already got +5V elsewhere in the system, I'd suggest changing the 74hc74 to a CD4013B flip-flop. The CD4000 series can run on 12 volts, so you wouldn't need a separate 5 Volt regulator. Be aware though, that the logic state of the S and R inputs are different between the hc74 and the 4013. Also the pinouts are different.

Also, I would eliminate the relay by using a mosfet to drive the LEDs.

Thank’s Cris !
these are great notes on the circuit, but it's just that I came from the chips I have, so I used hc74
and the relay is also needed as a sound sounder, I was interested in its click when switching
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top