Anyone know about this PIC?


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    79


    Did you find this post helpful? Yes | No

    Smile

    Your a star Thats almost exactly what I was after as i wont be using anything on the pic other than straight digital inputs and outputs, not using any of the "fancy function"
    Its basically going to be 3 inputs that go high a number of outputs that go high or low depending on the inputs, an lcd display connected to it, and a DS18B20 temp sensor.
    Oh quick question I'm pretty sure the answer is yes but can you directly substitute a DS18B20 - PAR (parasitic takes it's power from DQ pin) the with a 18B20 just by leaving the other pin unconnected?
    Last edited by karenhornby; - 21st May 2008 at 18:08.

  2. #2
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by karenhornby View Post
    ... can you directly substitute a DS18B20 - PAR (parasitic takes it's power from DQ pin) the with a 18B20 just by leaving the other pin unconnected?
    Not quite clear on which one you plan to substitude for which, so here is the answer either way:

    Yes, you can use a DS18B20 to replace a DS18B20-PAR without problems, just connect Pin 3 (Vdd) to your power supply.

    No, you can not use a DS18B20-PAR to replace a DS18B20 unless you modify the circuit. The reason is that the PAR version requires a "strong pullup" during temp conversion. Page 3 "Parasite Power", and figure 2, of the DS18B20-PAR data sheet has the details. If the number of PAR units is small, you can (I have) eliminate the MOSFET they suggest and just hook it directly to a pin to drive it, as the total current is well below the 25ma limit of a single PIC pin.

    HTH,
    SteveB

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts