Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Most microcontrollers run on a single supply voltage, and 99 out of 100 times, that voltage is +5 volts. In rough terms, logical 1 on these devices indicates that +5 is the voltage on the output pin. Logical 0 specifies that 0 volts is on the line.
The RS-232-C standard specifies that the voltage on the wire for sending a logical 0 are from +5v to +15v. The voltage for sending a 1 are from -5v to -15v. Most microcontrollers not capable of generating these voltages. So, to connect a microcontroller SCI port to a true RS-232 device, you need to convert the TTL voltages of 0 and +5 into voltages between about -10 volts and +10 volts.
In general the serial port standard in the PC side needs higher voltages (positive & negative) to work so you need some king of interface between the pc and mcu
is pic16f819 able to directly connect with pc serial port or i need the ic as max232?