Editing RS232
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 82: | Line 82: | ||
* hook a TTL to RS232 level converter chip, such as the MAX232, between the PIC and a standard RS232 level. Then either connect the RS232 level side directly to a PC 9-pin "serial port", or use a off-the-shelf "USB to serial adapter cable" (which typically includes *another* RS232 to TTL level converter chip, and a FT232 chip to convert between USB and TTL level). | * hook a TTL to RS232 level converter chip, such as the MAX232, between the PIC and a standard RS232 level. Then either connect the RS232 level side directly to a PC 9-pin "serial port", or use a off-the-shelf "USB to serial adapter cable" (which typically includes *another* RS232 to TTL level converter chip, and a FT232 chip to convert between USB and TTL level). | ||
− | |||
− | |||
* directly connect a FT232 between the PIC and a PC's USB port. | * directly connect a FT232 between the PIC and a PC's USB port. | ||
Line 105: | Line 103: | ||
[http://www.moderndevice.com/connect.shtml P4 RS232 to TTL Serial Adapter Kits] also a good price. | [http://www.moderndevice.com/connect.shtml P4 RS232 to TTL Serial Adapter Kits] also a good price. | ||
− | [http://www.piclist.com/techref/io/serial/RCL1. | + | [http://www.piclist.com/techref/io/serial/RCL1.htmRLC-1 RS232 Level Converter in a DB9 backshell] A classic. |
[http://www.makershed.com/ProductDetails.asp?ProductCode=TTL232R&Redirected=Y USB-TTL Serial Cable] Usb at the pc end looks like ttl rs232 at the other, great if your pc does not have a serial port. | [http://www.makershed.com/ProductDetails.asp?ProductCode=TTL232R&Redirected=Y USB-TTL Serial Cable] Usb at the pc end looks like ttl rs232 at the other, great if your pc does not have a serial port. | ||
− | |||
− | |||
− | |||
− | |||
==Links:== | ==Links:== | ||
* [[Microcontroller Serial Communications Articles]] A root linking to other microcontroller serial communications articles. | * [[Microcontroller Serial Communications Articles]] A root linking to other microcontroller serial communications articles. | ||
− | |||
* [[Serial Communications Library -- BoostC and 16F877A]] is an example PIC program and communications library that uses the techniques discussed here. | * [[Serial Communications Library -- BoostC and 16F877A]] is an example PIC program and communications library that uses the techniques discussed here. | ||
*[http://en.wikipedia.org/wiki/UART Universal asynchronous receiver/transmitter From Wikipedia, the free encyclopedia] | *[http://en.wikipedia.org/wiki/UART Universal asynchronous receiver/transmitter From Wikipedia, the free encyclopedia] | ||
Line 124: | Line 117: | ||
* [http://en.wikibooks.org/wiki/Serial_Programming:RS-485_Technical_Manual Wikibooks: RS-485 Technical Manual] | * [http://en.wikibooks.org/wiki/Serial_Programming:RS-485_Technical_Manual Wikibooks: RS-485 Technical Manual] | ||
* [http://www.firmata.org/wiki/Main_Page Firmata ]Firmata is a generic protocol for communicating with microcontrollers from software on a host computer. It is intended to work with any host computer software package. Right now there is a matching object in a number of languages. It is easy to add objects for other software to use this protocol. More complicated than what is described here. | * [http://www.firmata.org/wiki/Main_Page Firmata ]Firmata is a generic protocol for communicating with microcontrollers from software on a host computer. It is intended to work with any host computer software package. Right now there is a matching object in a number of languages. It is easy to add objects for other software to use this protocol. More complicated than what is described here. | ||
− | |||
==Your Comments:== | ==Your Comments:== |