can i know that if i use a pic16f873 trasmit an output, can i straightly connect the pic output to rs 232 without using a max232 ?
the form that VB(rs 232) can read is in hex or binary?
for example,
if my output is 00001111 then i need convert it to h'8' just send out the result or can straight away send in binary form???
PIC16F873 run on 0/5 Volt logic level, RS232 run on +12/-12 Volt. MAX232 is a voltage translator to translate the difference voltage level of the two system.
You have to use MAX232 to interface PIC16F873 to RS232 lines.
the form that VB(rs 232) can read is in hex or binary?
for example,
if my output is 00001111 then i need convert it to h'8' just send out the result or can straight away send in binary form???
To use string mode, before you send your 4 bit data to PC RS232 port, OR-ed you 4 bit data with 0x40 (or add it with 64 decimal). At this case you will receive character '@', 'A', 'B' .... or 'O', this character represent your temperature value 0, 1, 2, ... or 15.