Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

do we use a not after a max232!?!?

Status
Not open for further replies.

KarimPain

Junior Member level 2
Joined
Feb 13, 2012
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,450
hello everyone!
i'm sending data using matlab via the serial port this data is about a charachter '1'
then i interfaced the tx of the serial port with the max232 then to a not befor the final step the rx of pic16f877a.
i made the simulation using proteus and matlab everything works. but if i don't use the not for example the '1' sent from the serial port is changed to 'g' after the max232. and putting the not it turn '1'.
i made the circuit but doesn't work.
so please can anyone help!!. is right to put the not or i have to see whioch carachter gives me the max232 and programming the pic depending on it!!!??
Thanks 4 reading.
P.S:this is the circuit
foto1.jpg
 

You normally wouldn't bother with a hardware inverter. You should have the ability in your UART setup in the microcontroller to set whether IDLE is a 1 or 0. If your microcontroller doesn't have that then you might need the inverter.

Keith.
 

it seems that the programm proteus gave me wrong information, i connect the rout of the max232 to rx of pic directly and if i send any type of charachter i receive the same without using theInverter... Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top