Hi im trying to build a software-controlled AC relay switches,
the idea is to control by buttons on 2-7 AC slots.
any schematic or idea??
open source software?
i know the principle.
to build relay operated by a logic status...
i need rs232 - > data -> bit decoder (or logic gates) -> bit to 5V -> 5v operate relay (220VAC) - > status change
thanks, Chen.
the idea is to control by buttons on 2-7 AC slots.
any schematic or idea??
open source software?
i know the principle.
to build relay operated by a logic status...
i need rs232 - > data -> bit decoder (or logic gates) -> bit to 5V -> 5v operate relay (220VAC) - > status change
thanks, Chen.
Hello !
Here is a circuit, that receives serial data and outputs them parallel. It also could send parallel data in serial format. You don't need to build the transmitter if you don't use it. Both units could operate on independent baudrates.
The circuit outputs all data on the serial line. You just have to send a serial byte (terminal program, basic program or something) to switch the outputs.
Regards
Jobstens
Here is a circuit, that receives serial data and outputs them parallel. It also could send parallel data in serial format. You don't need to build the transmitter if you don't use it. Both units could operate on independent baudrates.
The circuit outputs all data on the serial line. You just have to send a serial byte (terminal program, basic program or something) to switch the outputs.
Regards
Jobstens
Attachments
hi! thanks,
the 4094 is a register shift isnt it?
its the output decoder? i'll have logic 1 (5V) at 0-7 outputs by the command i send?
the 4094 is a register shift isnt it?
its the output decoder? i'll have logic 1 (5V) at 0-7 outputs by the command i send?
Moin !
the 4094 is a register shift isnt it?
Yes, see datasheet below ...
its the output decoder?
The 4094 it's the mainpart of the receiver. the both 4017 and the 4081 are only to detect the startbit and counting the bits.
i'll have logic 1 (5V) at 0-7 outputs by the command i send?
the circuit outputs ~0V at L and ~5V at H (If I remember right).
You only need to connect a transistor that drives the relay. I think that the IC couldn't drive a relay.
You know that whole stuff with diode ?
(some basics:
http://www1.jaycar.com.au/images_uploaded/relaydrv.pdf
http://www.kpsec.freeuk.com/components/relay.htm#protect
http://www.ami.ac.uk/courseware/micros/restricted/ch5/micro05diode.html
)
Datasheets:
4017 - 5-stage Johnson counter
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4017B_CNV_3.pdf
4021 - 8-bit static shift register
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4021B_CNV_3.pdf
4060 - 14-stage binary ripple counter with oscillator
http://www.semiconductors.philips.com/acrobat/datasheets/74HC_HCT4060_CNV_2.pdf
4081 - Quadruple 2-input AND gate
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4081B_CNV_3.pdf
4094 - 8-stage shift-and-store bus register
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4094B_CNV_3.pdf
LT1181 - dual RS232 driver/receiver pairs
http://www.linear.com/pdf/11801afb.pdf
If you like, you could replace the LT1181 by a MAX232 or something like that ... (if you do that, you have to compare the datasheet!)
Regards
Jobstens
the 4094 is a register shift isnt it?
Yes, see datasheet below ...
its the output decoder?
The 4094 it's the mainpart of the receiver. the both 4017 and the 4081 are only to detect the startbit and counting the bits.
i'll have logic 1 (5V) at 0-7 outputs by the command i send?
the circuit outputs ~0V at L and ~5V at H (If I remember right).
You only need to connect a transistor that drives the relay. I think that the IC couldn't drive a relay.
You know that whole stuff with diode ?
(some basics:
http://www1.jaycar.com.au/images_uploaded/relaydrv.pdf
http://www.kpsec.freeuk.com/components/relay.htm#protect
http://www.ami.ac.uk/courseware/micros/restricted/ch5/micro05diode.html
)
Datasheets:
4017 - 5-stage Johnson counter
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4017B_CNV_3.pdf
4021 - 8-bit static shift register
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4021B_CNV_3.pdf
4060 - 14-stage binary ripple counter with oscillator
http://www.semiconductors.philips.com/acrobat/datasheets/74HC_HCT4060_CNV_2.pdf
4081 - Quadruple 2-input AND gate
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4081B_CNV_3.pdf
4094 - 8-stage shift-and-store bus register
http://www.semiconductors.philips.com/acrobat/datasheets/HEF4094B_CNV_3.pdf
LT1181 - dual RS232 driver/receiver pairs
http://www.linear.com/pdf/11801afb.pdf
If you like, you could replace the LT1181 by a MAX232 or something like that ... (if you do that, you have to compare the datasheet!)
Regards
Jobstens
- Status
- Not open for further replies.