Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 02:37:18 14:37


Login with username, password and session length


Pages: [1]
Print
Author Topic: max3232 to OR gate driving an LED  (Read 1265 times)
0 Members and 1 Guest are viewing this topic.
popoyboys
Junior Member
**
 Muted
Offline Offline

Posts: 49

Thank You
-Given: 12
-Receive: 3


« on: April 23, 2014, 04:05:42 04:05 »

Hi,

I would like to seek your advice on this circuit.
What are the challenges you think would arise from this circuit?
Any suggestions for improvement?



Logged
robotai
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 27
-Receive: 23


« Reply #1 on: April 23, 2014, 12:00:42 12:00 »

Do you know what MAX3232 do? I don't know MAX3232 has any pin with Rx, RTS.
It should be for level conversion between TTL voltage level from/to RS232 voltage level. No idea about what you want.
Logged
Sideshow Bob
Senior Member
****
Offline Offline

Posts: 457

Thank You
-Given: 160
-Receive: 494



« Reply #2 on: April 23, 2014, 12:51:31 12:51 »

Can you post schematic that uses pin numbers, which IC is the OR gate, what kind of LED do you plan to use? As it is now your circuit will probably not work
Logged

I really am ruggedly handsome, aren't I?
popoyboys
Junior Member
**
 Muted
Offline Offline

Posts: 49

Thank You
-Given: 12
-Receive: 3


« Reply #3 on: April 23, 2014, 02:40:03 14:40 »

My apologies. It was a mistake on the labels for the MAX3232.
The pins from MAX3232 should be R1OUT and R2OUT.
http://pdfserv.maximintegrated.com/en/ds/MAX3222-MAX3241.pdf

The OR gate is dual 2-input OR gate.
http://www.nxp.com/documents/data_sheet/74HC_HCT2G32.pdf

The LED is an 0805 SMD.
http://www.kingbrightusa.com/images/catalog/SPEC/AP2012CGCK.pdf

Logged
hate
Hero Member
*****
Offline Offline

Posts: 556

Thank You
-Given: 156
-Receive: 354


« Reply #4 on: April 23, 2014, 03:16:42 15:16 »

What is your intention with that design? Make the user aware of an incoming transmission from 2 RS232s? It seems like it will work out of the box but what do you plan to do exactly?
Logged

Regards...
Sideshow Bob
Senior Member
****
Offline Offline

Posts: 457

Thank You
-Given: 160
-Receive: 494



« Reply #5 on: April 23, 2014, 03:35:41 15:35 »

I can not find the pins named R1OUT and R2OUT. No matter that the Or gate should be connected to the TTL/CMOS Receiver Outputs and TTL/CMOS Transmitter Inputs I guess. The LED need a series resistor to limit the current. To keep things on the safe side. I would have used a LED current equal to 15mA. The forward voltage drop (LED) will then be close to 2 volts. The series resistor will then need to drop Vout(or gate)-2 volt  
Logged

I really am ruggedly handsome, aren't I?
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 3817

Thank You
-Given: 567
-Receive: 2049


There is no evidence that I muted SoNsIvRi


« Reply #6 on: April 23, 2014, 11:38:15 23:38 »

the max2323 will drive led's with just a resistor, there are loads of examples via google.
one of which is attached.
Logged

Note: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
Parmin
Hero Member
*****
Offline Offline

Posts: 544

Thank You
-Given: 357
-Receive: 126


Very Wise (and grouchy) Old Man


« Reply #7 on: April 24, 2014, 12:28:39 00:28 »

First, I think the Maxim chip is RS3222, R1Out is pin 13 and R2Out is pin 10.
Would the idea of the circuit is to have an indicator of data received?
The circuit looks workable, but damned if I know why it is needed.

Logged

If I have said something that offends you, please let me know, so I can say it again later.
hate
Hero Member
*****
Offline Offline

Posts: 556

Thank You
-Given: 156
-Receive: 354


« Reply #8 on: April 24, 2014, 01:50:40 01:50 »

The pinout of MAX3232 is on page 12 in the datasheet and corresponding pins are 12 and 9 for R1OUT and R2OUT respectively. Although I believe the idea here is to signal during an ongoing transmission, that doesn't actually mean a valid transmission will occur. Yet there is the problem of how the actual receiver will be connected. If a TTL input OR gate is to be used, a parallel connected (with the OR gate) receiver might not function correctly because of the current the OR gate will sink at high speeds and the output of MAX3232 might need to be buffered (or the input to the OR gate).

PS: I didn't realize a series resistor was missing at the output of the OR gate. The resistor should be there exactly as 'Bob' said.
Logged

Regards...
robotai
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 27
-Receive: 23


« Reply #9 on: April 24, 2014, 06:50:50 06:50 »

It seems either TTL(74HCT2G32) or CMOS(74HC2G32) now all use MOSFET internally in input side of OR gate. The sink current in input side should only takes under 1uA. So it shouldn't cause any issue when parallel it with actual circuit in normal RS232 application (communication speed less than 500Khz). Or am I wrong?

Put series resistor with LED to make output current less than 10mA should be OK, in my opinion.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #10 on: April 24, 2014, 08:25:36 08:25 »

Two diodes and a resistor before the led instead of OR gate is enough.

-ichan
Logged

There is Gray, not only Black or White.
hate
Hero Member
*****
Offline Offline

Posts: 556

Thank You
-Given: 156
-Receive: 354


« Reply #11 on: April 24, 2014, 10:38:34 10:38 »

It seems either TTL(74HCT2G32) or CMOS(74HC2G32) now all use MOSFET internally in input side of OR gate. The sink current in input side should only takes under 1uA. So it shouldn't cause any issue when parallel it with actual circuit in normal RS232 application (communication speed less than 500Khz). Or am I wrong?
Correct except that 74HCTxxx series are not TTL. HCT is short for High-speed CMOS with TTL compatible I/O meaning they have low VIH and high IOH satisfying TTL compatibility. What I was referring to as TTL was something like this:
http://eecs.evansville.edu/home/resources/pdf/dm7432.pdf

Two diodes and a resistor before the led instead of OR gate is enough.
Practical but might still cause trouble in case of parallel connected receiver if not buffered.
Logged

Regards...
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC