Maker Pro
Maker Pro

serial interfacing

hello.
i would like to be helped in a serial interfacing problem that i am facing.
i have a ntc thermistor connected to a max 187 analog to digital converter.
the output of adc is fed to max232 driver ic.
rs232 wire is used to carry the data from max232 to the usb port of a laptop.
here is my problem,, i want to read the temperature variation detected by thermistor on pc.
but i am not able to do that.
it seems that the hardware circuit that i have on bread board is not feeding anything to pc.
i have tried writting programs in c as well.
if you please suggest me the easiest way to adress the above said problem.
thankyou.

Screen Shot 2017-11-18 at 8.17.47 PM.png
 
Coding issue?

The serial port connections aren't 'usual' for such comms - have you configured correctly for those control lines?
 
"it seems that the hardware circuit that i have on bread board is not feeding anything to pc"
How did you check this?
Have you used a scope?

The circuit is taken from Maxim App note 827 ,it should work.

Consult the datasheet for sequence of operation and timing the device
 
Last edited:
Why are you using DSR RTS DTR?
The TX/TX is 2 & 3
Nowadays with high speed peripherals, there is no need for hardware handshake, although it pays to jumper them out at the socket, 1-4-6 and 7-8.
I see that the app note uses abnormal to convention use of the RS232 port.
Any use of the H.W. handshake lines such as this requires that the receiving program has it enabled.
M.
 
Last edited:
Why are you using DSR RTS DTR?
The TX/TX is 2 & 3
Nowadays with high speed peripherals, there is no need for hardware handshake, although it pays to jumper them out at the socket, 1-4-6 and 7-8.
I see that the app note uses abnormal to convention use of the RS232 port.
Any use of the H.W. handshake lines such as this requires that the receiving program has it enabled.
M.

Because the MAX187 doesn't talk "rs232" !
There are not used as handshake,
rather they "toggle" the "command" lines of the MAX187 and read, bit by bit ,it's output.
 
Still, the receiving PGM would need to have H.W. handshake enabled, as it is rarely used now in RS232 comm's.
Does a USB RS232 in port or convertor even use it?
M.
 
Still, the receiving PGM would need to have H.W. handshake enabled, as it is rarely used now in RS232 comm's.
M.

Yes absolutely,it may be easier done in a DOS environment.
The program (and programmer) needs complete access to all com. port lines...
And the knowledge of how to do that;)
 
OK so how do they enter a USB (2wire) port on a laptop?
It has to be achieved via hardware, if at all.
M.
 
Yes absolutely,it may be easier done in a DOS environment.
The program (and programmer) needs complete access to all com. port lines...
And the knowledge of how to do that;)

yes i wrote a program in .cmd but everytime the value it returns is zero.
i was thinking if there is any other way to access the hardware using pc apart from writing a pgm in .cmd
 
i have used a d9 to usb connector.
I still don't see how that is going to work.
Is it one constructed yourself just to steer the H.S. lines or is it a off-the-shelf RS232/USB convertor?
As the latter versions have different configurations in them to take care of the H.S. lines.
M.
 
I still don't see how that is going to work.
Is it one constructed yourself just to steer the H.S. lines or is it a off-the-shelf RS232/USB convertor?
As the latter versions have different configurations in them to take care of the H.S. lines.
M.
yes sir it is off the shelf rs232to usb converter, but any ways i am also trying it on pc having a serial port instead of using usb port on laptop.
 
The method shown appears to rely on using a standard COM port 9 pin D.
A RS232/USB convertor generally only operates on the RX/TX lines,
Probably the only hope of getting it to work is the standard COM port method.
M.
 
Top