Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 18th July 2004, 01:31 PM   #1
Morbid is offline Morbid  Israel
diyAudio Member
 
Morbid's Avatar
 
Join Date: Jun 2004
Location: israel
Send a message via ICQ to Morbid
Default RS232 Relay Control (Logic)

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.
  Reply With Quote
Old 20th July 2004, 02:23 AM   #2
diyAudio Member
 
jobstens's Avatar
 
Join Date: Jun 2004
Location: near Hannover
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
Attached Files
File Type: pdf par-ser.pdf (16.3 KB, 57 views)
  Reply With Quote
Old 20th July 2004, 12:47 PM   #3
Morbid is offline Morbid  Israel
diyAudio Member
 
Morbid's Avatar
 
Join Date: Jun 2004
Location: israel
Send a message via ICQ to Morbid
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?
  Reply With Quote
Old 20th July 2004, 02:39 PM   #4
diyAudio Member
 
jobstens's Avatar
 
Join Date: Jun 2004
Location: near Hannover
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/componen...ay.htm#protect
http://www.ami.ac.uk/courseware/micr...ro05diode.html
)



Datasheets:

4017 - 5-stage Johnson counter
http://www.semiconductors.philips.co...017B_CNV_3.pdf

4021 - 8-bit static shift register
http://www.semiconductors.philips.co...021B_CNV_3.pdf

4060 - 14-stage binary ripple counter with oscillator
http://www.semiconductors.philips.co...4060_CNV_2.pdf

4081 - Quadruple 2-input AND gate
http://www.semiconductors.philips.co...081B_CNV_3.pdf

4094 - 8-stage shift-and-store bus register
http://www.semiconductors.philips.co...094B_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
  Reply With Quote
Old 21st July 2004, 02:50 PM   #5
Morbid is offline Morbid  Israel
diyAudio Member
 
Morbid's Avatar
 
Join Date: Jun 2004
Location: israel
Send a message via ICQ to Morbid
thanks! i made some transmitter programming circuit with the MAX232, and i guess its easier to get one here instead of the other chip mentioned....thanks
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q For Those Who Know about Logic-Controlled Relay Attenuators thermionic Solid State 6 21st May 2008 02:07 PM
relay volume control cubezone Chip Amps 14 3rd May 2007 07:12 AM
relay volume control - POP! wayne325 Pass Labs 22 26th August 2006 01:58 AM
ADC for relay volume control? hegestratos Solid State 7 17th January 2005 11:39 PM
Relay Volume Control for BLS promitheus Pass Labs 60 10th May 2004 06:12 AM


New To Site? Need Help?

All times are GMT. The time now is 10:03 PM.

Page generated in 0.09022 seconds (73.66% PHP - 26.34% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio