Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
cyprio7 said:hi blueroom thanks for your post. if im not mistaken youe circuit doesnt actually convert to rs232 but just acts as an inverted for the TTL logic coming out of the pic? are there any premade chips which u recommend from maplin electronics which i can buy for inverting the TTL logic, because i really want to keep the hardware components and soldering to a bare minimum due to debugging etc. im not sure which one to get. and to be honest, i dont understand actually why i have to invert the ttl logic from 0 to 5V and 5 to 0V. why does this inversioin have to be done? doesnt the pic uart take care of this? thanks
You've got to invert the signal from the hardware USART. Simple but not as cheap or common as a MAX232 is the DS275.cyprio7 said:hi blueroom thanks for your post. if im not mistaken youe circuit doesnt actually convert to rs232 but just acts as an inverted for the TTL logic coming out of the pic? are there any premade chips which u recommend from maplin electronics which i can buy for inverting the TTL logic, because i really want to keep the hardware components and soldering to a bare minimum due to debugging etc. im not sure which one to get. and to be honest, i dont understand actually why i have to invert the ttl logic from 0 to 5V and 5 to 0V. why does this inversioin have to be done? doesnt the pic uart take care of this? thanks
cyprio7 said:k im a lil confused coz of what blueroom and nigel said. just to confirm.... if i was to feed the data DIRECTLY from d pic uart to the PC, in terms of inversion nothing needs to be done, but it just needs to be converted from ttl to rs232.... however, because we are feeding it into a max232 chip to convert ttl to rs232, this chip will invert the signal from the PIC uart, which means, as soon as the data leaves pic uart, we invert it before supplying it to max232 chip, so that when max232 chip inverts it, and data leaves this chip, it is now in the correct "inversion" or polarity state? is this right? coz blueroom said it differently to nigel so its confused me a bit. thanks