KarimPain
Junior Member level 2
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
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