Hello everyone,
I want to ask ,when i create a circuit to communicate pic with a omputer via rs232 and i want to transmit analog signal (no character) .I must to use max232 component (or something similar)????
First, you have to convert this anaolg signal to digital signal - hex numbers - and then you can transmit these hex bytes via RS-232 link to your PC ..
So, choose a PIC that has build-in ADC, or use external ADC and control it with any PIC microcontroller ..
Attached is an example: PIC controls ADC via I2C bus (SCL and SDA lines) and re-transmits data out via RS-232 (MAX232 as CMOS/TTL-RS-232 level converter) ..
my project is soil moisture sensor with measure using altera de2 board..anybody can help me, how to convert my analog to digital into this board and the source code..