DS18B20 connection on FPGA?



Hello all.
I'm new to FPGA and I need a little help with connecting Dallas 1-wire
temperture DS18B20 sensor.

I used that sensor many times with ARM and AVR MCU but never with
FPGA. What I want to know is how to connect it?
DS needs to have an external pull up resistor. So sometimes I need to
release line so that line is pulled high. DS and FPGA can only drive
line low, high must come from pull up.

So..how to do that? How to use IN/OUT pin that I can "realase"? To MCU
I would simple say "pin input" and it would be released, but in VHDL I
define in entity
pin : inout STD_LOGIC;

Hmm..any ideas?

Thanks.

.



Relevant Pages

  • Re: OV7620 image sensor interface with FPGA headache
    ... LVTLL for FPGA should be ok, if it helps to sustain 5V. ... EVEN when you program the pin as Hi-Z, the internal ESD diode of the FPGA ... Are you absolutely sure of the expected effect on the sensor of the ...
    (comp.arch.embedded)
  • Re: DS18B20 connection on FPGA?
    ... I'm new to FPGA and I need a little help with connecting Dallas 1-wire ... temperture DS18B20 sensor. ... release line so that line is pulled high. ... I would simple say "pin input" and it would be released, ...
    (comp.arch.fpga)
  • Re: Possible CRC error on XC3S400 - now what?
    ... It would be easier if I was able to program the fpga so I could fling a little counter-thing on it outputting it to the led. ... the mode pin settings. ... This might be a problem if the fpga can't fully pull CCLK up to 2.5V. ...
    (comp.arch.fpga)
  • Re: Ballistic chronograph using a Spartan 3E starter board
    ... The FPGA will measure the time ... stable on both high and low signals from the photosensor. ... LEDs to display the counter still was a blur. ... I could see an issue if the sensor switches, ...
    (comp.arch.fpga)
  • Re: high speed image capture
    ... >this Image sensor and USB2 interface. ... >The next alternative is to buy a FPGA development kit with USB2 ... This assumes that you are capturing relatively short events - if you need continuous processing at ...
    (comp.arch.fpga)