I'm trying to hook up the DS18B20 sensor to a USB serial port provided
by the FTDI FT232RL IC. In fact, I'm currently using Sparkfun's FT232R
Breakout board. So far, I've followed some good instructions from here:
http://martybugs.net/electronics/tempsensor/
..but in the hardware section, the supplied schematic is for a true
RS232 port, which has the � rails. The FTDI chip that I would like to
use is just 3.3V, and it can supply 50mA to a small serial device, so I
would ideally power the DS18B20 straight from the FT232.
So far, I've put a circuit together so that the sensor has ground on pin
1, 3.3V on pin 3, and then I've connected pin 2 to the DTR line, with
two Schottky diodes and the 1.5K resistor as per the diagrams in the
link above. I've (probably incorrectly) missed off the Zener's, as the
3.3V I'm using is below the 3.9 and 6.2V anyway.
On my Ubuntu 10.10 PC, when I run:
sudo digitemp_DS9097 -i -s /dev/ttyUSB0 -q -c /etc/digitemp.conf
..it pauses for around 10 seconds or so, with no output (or config file)
being made.
BTW, the serial port is definitely working, if I connect RX+TX with a
wire, I get the characters echoed back from Minicom.
Any suggestions?
Thanks!
M