The best way is to use rs232 to uart converter ($3 or so on ebay), You just plug it into pc and directly connect to rxd and txd of your MCU. This is cheap and easy solution. The converter itself uses a max232 IC to change signals from rs232 to TTL.
Dalibor Farný http://dalibor.farny.cz sent from Samsung Galaxy Pad Dne 24.8.2012 8:52 "Michel" <mic...@xiac.com> napsal(a): > I just want to establish some serial communication between my computer > and a PIC controller. Like David mentioned, RS232 is actually +/- 10V > rather than +/- 5V. The levels directly from controller are obviously > only 0V and 5V. Now I am thinking, for the Rx input this is not a > problem because it will easily handle the +/- 10V input signals if I > add a series resistor. But the Tx output needs to go from 0V/5V to +/- > 10V which is normally done with a MAX232 for example. The MAX has 4 > line converters (2 input; 2 output) but I only need 1 for my Tx > signal. So I was after something smaller like an 8 pin or even a 5 pin > driver that works on just a +5V supply. > > Michel > > > > On Aug 24, 5:43 pm, Dalibor Farný <dali...@farny.cz> wrote: > > Hello, look on rs485. I played with it a lot, ready to answer Your > > questions :-) it works for long distances and allows more devices on one > > line (bus). > > > > Try to describe your devices more.. > > > > Dalibor Farnýhttp://dalibor.farny.cz > > > > sent from Samsung Galaxy Pad > > Dne 24.8.2012 7:46 "Michel" <mic...@xiac.com> napsal(a): > > > > > > > > > > > > > > > > > I am after a driver like the MAX232 that has 5V levels on one side; > > > +/- 5 on the other side and only requires a +5V supply. The MAX232 > > > however is a 16 pin device and I am looking for something smaller (8 > > > pins). I only need one Rx and one Tx channel. > > > > > I am also thinking, maybe I don't need one and just use 0V and 5V > > > levels rather than -5V and +5V, but not sure if that will work. > > > > > Anybody knows more about that? > > > > > Michel > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "neonixie-l" group. > > > To post to this group, send an email to neonixie-l@googlegroups.com. > > > To unsubscribe from this group, send email to > > > neonixie-l+unsubscr...@googlegroups.com. > > > For more options, visithttps://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "neonixie-l" group. > To post to this group, send an email to neonixie-l@googlegroups.com. > To unsubscribe from this group, send email to > neonixie-l+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To post to this group, send an email to neonixie-l@googlegroups.com. To unsubscribe from this group, send email to neonixie-l+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.