OLED Timer Thermometer
OLED Frequency Counter
Android Oscilloscope
OBD2 Engine Rev Counter
OBD2 Diagnostic app
TFT Clock and Thermometer
WiFi, Ethernet
WiFi Thermometer
WiFi ESP8266
Doorbell with SD / EEPROM
SD FAT16/32 for .bmp
PETIT FAT bmp Display
TFT Timer, Thermometer
TFT Oscilloscope
SD Talking Clock
Android Talking Clock
SD Sound Recorder
SD FAT32 wav Player
SD Arduino Recorder
LED Thermometer
LED Timer
LCD Timer
TFT 10MHz Counter
100KHz Counter For PC
1MHz Counter For PC
8 Digits LED Counter
Scope Screen Counter
LCD Module Counter
LCD Arduino Counter
6MHz Android Counter
NIXIE Android Counter
Bluetooth Counters
USB Counter
USB TFT display BMP
USB DS18B20 Sensor
USB Thermometer
USB Meter
USB Oscilloscope
USB Input-Output
USB Input-Output Android
USB 16x2 LCD
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
MCP3201 on Serial Port
Serial Thermometer
Analogue Signal to Serial
Serial Thermostat
MCP3201 on LPT
Analogue Signal to LPT
LCD Display on LPT
Water Softener
HP Stream 7 docking
3.7V to 5V
Solar Charger
Infrared Decoder
PIC Music
Code Lock
Code Lock with LCD
HOME   Technical Tips

ANALOGUE INTERFACE TO SERIAL PORT

This project is for connecting analogue signal to serial port. Included a VB6 software, PIC assembly, C code and a circuit diagram. The PIC12F675 micro controller is programmed to convert the analogue input to 10 bit digital and transmit it in UART protocol to the serial port. The microcontroller is powered by the signals of the serial port, so no external power supply is needed.
You can read more about serial interface in http://www.beyondlogic.org/spp/serial.htm

Software includes PIC code and VB6 code (20KB). You are free to use the circuit diagram and the software with no limitations.


The VB6 application is a combined digital and analogue voltmeter.

Circuit Description
See also Technical Tips

Pin 4 at the serial port is turned to +12V by the software enabling RTS. It is regulated to 5V by 78L05. The 5V is also the reference voltage.
Pin 3 is at -12V and pin 7 at +12V constantly and they are used to drive RX input between -9V (input HIGH) and +8v (input LOW) . These levels are sufficient to drive the RS232 input.
Pin 4 at PIC12F675 is reset and pin 2 is output. The other pins are not in use but must be left open circuit.



      


Name:

Comments and questions

Copy the number from the picture It stops net-robots from adding comments.



11.11.2018 - 15:08
Name: Jan
Comment: Thanks for info!!

29.09.2013 - 20:04
Name: alimogh
Comment: ANALOGUE INTERFACE TO SERIAL PORT with i/o

29.09.2013 - 07:25
Name: alimogh
Comment: ANALOGUE INTERFACE TO SERIAL PORT with i/o

29.09.2013 - 06:44
Name: alimogh
Comment: ANALOGUE INTERFACE TO SERIAL PORT with i/o

06.06.2011 - 08:14
Name: Adnivog Atokpas
Comment: This is really a nice tutorial.

02.11.2010 - 14:47
Name: John
Comment: Nice project, thanks. There are many PIC12Fxxx projects on www.artic-instruments.webs.com regards
23.04.2010 - 06:23
Name: khaleel
Comment: good


moty22.co.uk  2008-2020