Prabhakarankft
Member level 3
- Joined
- Jun 22, 2019
- Messages
- 54
- Helped
- 0
- Reputation
- 0
- Reaction score
- 4
- Trophy points
- 8
- Location
- Chennai, India
- Activity points
- 623
Here is the link of the Data sheet -CD4094.I don´t want to search for the datasheets (If you want us to use them, please provide links) .. but I guess you need a couple of signals.
It is One way communication! Microcontroller sends data and it will not receive / wait for any reply/feedback--> We don´t know whether one direction only or both direction signals.
Honest answer is to save 4-5$ in each PCBs. Board space will be little larger then have to add RS232/RS485 bridge ICs. I believed Sending data to drive shift register will be so simple and neat!--> Why not UART? (to reduce wire count)
Only One received board with multiple relays, Say 80 Numbers approximately.--> we don´t know whther there is just one cable, and just one receiver board with 80 relays, or ar there 10 cables with ten receiver boards with 8 relays each...
Dsub -15 Connector is used on the both the sides of the cable to connect Transmitter Board (MCU ) and Relay driver board(CD4094 and ULN2803)--> we don´t know whether the cable is fixed or are there connectors at the cable
Yes. You are right. 2 Number of Cables carryinh power for the Transmitter Board (MCU )--> we don´t know whether there is only signals or also powee supply in the cable. The whole power supply system may cause new problems
I could understand RS485 having advantages. But I strongly believ implementing shift register concept is so easy & cheapest solutionIf it was my application (wired) I´d probably go for UART with RS485/RS422 differential signaling over one single pair
For every 0.5 Second We need to send 10bytes of data.(10 x 8 = 80 Relays)--> We also don´t know any timing / frequency / data rate...
I clearly understand RS485 is the best solution here!! I am curious to know what else could disrupt the data flow and potentially cause permanent damage to the hardware.. Please advice me the hardware parameters to be taken care other than RS485.Why:
* If you have clock and data signals you need to take care of timing with respect to each other. UART does not suffer form this.
* UART could be simply used with IR or fiber
* differential signaling does not suffer from different noise problems
* RS485/RS422 drivers are more rugged aginst ESD than simple microcontroller I/O.
* fixed cable, shielded (wihtout connector) does not need ESD protection .. as long as the signals on PCBs and wires can not be touched.
Dear FvM.. Thanks for giving me a new knowledge about the ESD.. So happy to speaking with worlds finest peopleLogic IC have a certain degree of built-in ESD protection. As stated in manufaturer documents, it's primarily intended to handle ESD exposure during assembly and doesn't fully protect against ESD in the application environment, other surges and particularly not against overvoltage events with simultaneously applied supply voltage.
External circuit interfaces be should generally equipped with additional protection. In case of your remote logic interface, you can probably avoid that ESD is directly applied to interface nodes because they are not exposed. But you can hardly avoid that voltage transients caused by ESD to the cable screen or device enclosure affects logic operation. At least temporary false switching can be expected.
A "dumb" remote shift register interface can't be considered reliable in presence of electrical noise. Under circumstances, you can get away with sufficient fast update rate in combination with relay switching delay. I would prefer a fail-safe protocol ignoring corrupted switching commands. This requires however additional logic or a microcontroller on the remote board.
Can you give a glimpse about the fail-safe protocol. During the communication actual clock/data will be transformed to anything due to external noise!! How we can idendify that data is not the actual one?I would prefer a fail-safe protocol ignoring corrupted switching commands
Why send/receive? I thought it is just one way.Dsub -15 Connector is used on the both the sides of the cable to connect Transmitter Board (MCU ) and Relay driver board(CD4094 and ULN2803)
Before send/receive 74HC541 iC used to kill ESD
I really thankful for giving extra knowledge about the 74HC series drivers! Sure I will add 100E Resistor in series..With 74HC series driver being approx 50 ohms and 200 ohm twisted unterminated like RS485 (which is) it is going to overshoot
I have to thank all the suggestions from you! I have changed my mind set to go with the RS-485 / RS422.If I´m not mistaken then you already made your decision, you just want to find someone to support your (in my eyes unreliable) idea.
O.K.I have to thank all the suggestions from you! I have changed my mind set to go with the RS-485 / RS422.
My actual plan is to use 6 wires. 4 for RS422 (A,B,Y,Z) and 2 wires used to carry the power supply for receiver(Relay side). Current consumption is very less about 200mA.. Power supply is used to power up the Logical ICs only( 15V --> 5V convertor (LM2576 IC used)May I ask: Do you use SPI with 3x (4x) RS485/RS422 drivers and 3x(4x) pairs cable
or UART with 1x driiver and 1x pair cable?
Hi.. I am really a lucky person to hear your 45 years R&D history! Too many things are very new for me! I will understand all and I come back if I have any other questions!!I did this 45 yrs ago for a Blank Brandt payload launch control with 15A 30A relays using extra contacts to give feedback (P&B brand).
Do you mean, You have placed across the Common and NO(Relay outputs) or across the relay's Coil?? Pullup resistor is bit confusing.. Possible share a hand sketch. I can gain extra knowledge and I am always eager to learn new stuff.. Sorry that discussion is moving to another direction! Since I have used n-number of relays might have to face other issues related to relay! So Iam preparing myself.So I put 10 uF Tanatulm caps across each sense contact that had pullup R, and problem solved.
Murphy's Law is an interesting one to read!! Mistakes may happen and I am ready to accept. Taking the advice of those who know the answers to test everything can eliminate half of the mistakesBe conservative and expect Murphy's Law to be happen.
Makes no sense. Neither for SPI nor for single direction UART.My actual plan is to use 6 wires. 4 for RS422 (A,B,Y,Z) and 2 wires
Makes no sense either. I don´t think you can power your circuitry and 80 relays from 15V 200mA.Power supply is used to power up the Logical ICs only( 15V --> 5V convertor (LM2576 IC used)
To answer your questions you need to give the requested informations first.My long terms question is What are all the external noises can be in the application area? How we can study about all?
You use DSUB connectors.... and you think ESD is not a problem? --> It´s not only the "high impedance" human body ESD .. but it´s the low impedance machine model ESD! Much higher currents should be expected.I am sure ESD can be injected whenever Human touch is possible! That is not possible in my application!
We may be right or wrong if we made incorrect assumptions. DSR, DTR, Tx, gnd or Tx, Gnd, RTS, CTS or CD, Gnd, 15V, -3V lolMakes no sense. Neither for SPI nor for single direction UART.
Makes no sense either. I don´t think you can power your circuitry and 80 relays from 15V 200mA.
What voltage drop do you allow on the 5m cable?
To answer your questions you need to give the requested informations first.
You use DSUB connectors.... and you think ESD is not a problem? --> It´s not only the "high impedance" human body ESD .. but it´s the low impedance machine model ESD! Much higher currents should be expected.
Klaus
Yes It is not a Single Direction UART.. For Debugging purpose We have moved with duplex communication! May We can use in futureMakes no sense. Neither for SPI nor for single direction UART.
Separate Power Supply used to Power Up the Relays. We need to just pass the signals via Opto-couplers. So no connections in between relay circuits and this 15V power supply! it is purely to power up the Logical ICs and MCUsMakes no sense either. I don´t think you can power your circuitry and 80 relays from 15V 200mA.
What voltage drop do you allow on the 5m cable?
I will look into MM ESD and will check the possiblities to arrest!! These terms are very new for me!!You use DSUB connectors.... and you think ESD is not a problem? --> It´s not only the "high impedance" human body ESD .. but it´s the low impedance machine model ESD! Much higher currents should be expected.
According to Me 4 wires are for A,B,Y & Z( Dedicated for RS422) and rest of the wires are for carrying the Power supply +15V and GNDWe may be right or wrong if we made incorrect assumptions. DSR, DTR, Tx, gnd or Tx, Gnd, RTS, CTS or CD, Gnd, 15V, -3V lol
Now there are optocouplers! The first time ... we are at post#18 and you refuse to draw a simple sketch. But bring new informations piece by piece.We need to just pass the signals via Opto-couplers.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?