Ladder diagram to CMOS logic

Hi group,

+12v | NC | | |, .-. | IN -+--------,-=B4-------( X )-+ | =B4| | '-' | | | | | |NO .-----. | +---| |--+------| |--+ | | | | '-----' | | | RELAY | | T | | | --- | | +---o o--+ | | | (created by AACircuit v1.28.6 beta 04/19/05
formatting link

I have the above ladder diagram consisting a relay, a buzzer and a push button switch.

I would like to sound the buzzer "x" when the input is low and when the button is pressed the relay would be switched on and holds itself through the "NO" contact and the buzzer is switched off due to the "NC" contact is opened. Both the NO and NC contacts belong to the same relay. When the input goes high, the relay releases and the circuit goes back to normal waiting for the next alarm.

I would like to convert this into a circuit using cmos chips. I use an AND and inverters and a 4013 FF and came out with the circuit below.

VCC VCC + .-. | ALARM=3DL | |10K .-----. NORM=3DH | | | |BUZZER '-' '-----' IN|\\ | _4081 | -| >O---+-------| \\ __4081 | |/ | | | )------| \\ ___ |/ | +--|__/ | )--|___|--| VCC | +-----+ +---|__/ 10K |> |+ | | | | | =3D=3D=3D | o | | | | /-\\ | PB |=3D| | | =3D=3D=3D | | o | | | GND | | | | | +-------------------+ | | | | .-----. .-. | =3D=3D=3D | +--|Q S D|-VCC | | | GND | | | /| | |10K | | |_ L | |\\ | +---| >O--+ |/ (created by AACircuit v1.28.6 beta 04/19/05

formatting link

The C and R at the set input of the 4013 is a power-up set to make the Q output high during power on. The PB silences the buzzer until a new alarm is detected.

The circuit seems too complicated and I was cracking my head how to simply it. I would also like the 4013 to be toggled by both H to L as well as L to H transitions. How should I do it?

Is there any simpler way to do it? Any help very much appreciated.

Allen

Reply to
Allen Bong
Loading thread data ...

--
I posted an LTspice schematic list for you a little while ago.

Did you miss it?

JF
Reply to
John Fields

=A0 =A0 =A0 =A0VCC

=A0 =A0 =A0 =A0+

=A0 =A0 =A0 =A0|

.-----.

=A0 | =A0 =A0 |BUZZER

=A0 =A0 '-----'

=A0 |

=A0 =A0VCC

=A0 =A0|+

=A0 =A0 =A0 | =A0 =A0=3D=3D=3D

=A0 =A0 | =A0 =A0/-\\

=A0 =A0=3D=3D=3D =A0 =A0|

=A0 =A0GND =A0 =A0|

--
> > =A0 =A0 =A0 =A0 =A0| =A0 =A0| =A0 =A0 | =A0 | =A0.-----. =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 .-.
> > =A0 =A0 =A0 =A0 =A0| =A0 =3D=3D=3D =A0 =A0| =A0 +--|Q S D|-VCC =A0 =A0 =
=A0 =A0 =A0 | |
> > =A0 =A0 =A0 =A0 =A0| =A0 GND =A0 =A0| =A0 =A0 =A0| =A0 =A0 | =A0 =A0 =
=A0/| =A0 =A0 =A0 | |10K
> > =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0|_ =A0  > =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0|Q R =A0| =A0 =A0 =
=A0\\| =A0 | =A0 =A0|
> > =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0\'-----\' =A0 =A0 =
=A0 =A0 =A0 | =A0 =A0|
> > =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | 4013 =A0 =
=A0 =A0 =A0 | =A0 =3D=3D=3D
> > =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 | =A0 =A0 =A0=
 =A0 =A0 =A0 =A0| =A0 GND
> > =A0 =A0 =A0 =A0 =A0+----------|---------|--------------+
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 | =A0 =A0H ->=
 L
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 |\\ =A0 =A0|
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +---| >O--+
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |/
> >(created by AACircuit v1.28.6 beta 04/19/05www.tech-chat.de)
>
> >The C and R at the set input of the 4013 is a power-up set to make the
> >Q output high during power on. =A0The PB silences the buzzer until a new
> >alarm is detected.
>
> >The circuit seems too complicated and I was cracking my head how to
> >simply it. I would also like the 4013 to be toggled by both H to L as
> >well as L to H transitions. =A0How should I do it?
>
> >Is there any simpler way to do it? =A0Any help very much appreciated.
>
> ---
> I posted an LTspice schematic list for you a little while ago.
>
> Did you miss it?
>
> JF- Hide quoted text -
>
> - Show quoted text -

John,

Sorry about the duplicated posting.  I posted twice on the subject on
Sunday and they didn\'t appear on the newsgroup and so I posted again
on Monday and also didn\'t appear on the group.  They all turned out
this Wednesday morning.

Yes I have seen your LTspice posting and I am downloading the LTspice
software.

Thanks very much

Allen
Reply to
Allen Bong

Google Groups had what turned into a 72 hour latency starting ~2:30pm Saturday. They weren't fully sync'd until ~5:30 Tuesday.

Some people were too clueless to notice that Google wasn't doing any updates.

Reply to
JeffM

JeffM wrote: > John Fields wrote: > >I posted an LTspice schematic list for you a little while ago. > >Did you miss it? >

They (Google) want to do Phone and TV don't they? THAT should be special.

GG

Reply to
stratus46

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.