Need some advice.


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    thanks for you suggestion acetronics but burst will not work for me, I really need to regulate via dimming an incandescent bulb so it is not switching on and off all the time annoying eyes. I have checked only sending a
    Code:
    OWOut DQ, 1, [$CC, $44]       ' Start temperature conversion
    yet this still makes a flicker which tells me that my interupt is not being seen while sending this message. does anybody know or can work out how long this command takes so I may be able to time when to send it?

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    when sending this line ... it just tell the DS to do it's measurement.

    what takes time is wait for the DATA line to come back high ...

    you can do other things just past this line ... PbP doesn't poll the line or insert a Pause "by itself " to let you do what you want during the conversion time.

    some MPLAB "stopwatch" to justify it.

    Owout $CC,$44 ... 473 µs @ 4 Mhz
    $CC,$BE ... id !!!
    Owin.. ... 1140 µs ( read result )


    will be difficult not to see "something" happens when "talking" with the DS ...

    I remember having soldered a an Incubator regulator with a single TDA 1023 ... which has a voltage setpoint input.
    The pic could make the temp measurement, drive alarms (?), convert digital setpoint ( a simple R/2R ladder as a DAC will be enough ) to an analog setpoint , and drive a cute viewing LCD display panel ...

    can of course being done with a Pic, but some trickery will be compulsory to place the different DS commands in the cycle time ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Apr 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Thumbs up

    I love IT! This chip rocks, so an input voltage = output duty cycle. Is that right in simple terms? I'm going to study this data sheet. thanks for the suggestion!
    Clint

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    You also may download the TCA 785 or TDA 1185 Datasheets ... same kind of chips !

    Alain

    PS : Do not forget the Lilly -of-the-valley !!!
    Last edited by Acetronics2; - 1st May 2008 at 09:06.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Apr 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    i'm going to take the approach of using an 16f88 with a tca785 using the onboard pwm so there are no timing issues while keeping the ds1820. what is the lilly of the vally?

  6. #6
    Join Date
    Apr 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Befor I go on this venture.acetronic/thankyou!!!!!!1!!

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    " The Lilly of the Valley" ... is a nice little flower you are supposed to offer people you like, on the 1st of May ... as a lucky charm !!!

    I hope it's not only a French tradition ...

    Women do like you offer such nice flowers ...

    16F88 will be a bit overkill ( a 16F84 is enough ... LOL ! ) ... but you won't have "backfire" issues with this config. just don't forget an opto coupler for isolating the power section.

    IDEA !!! use "PWM", HPWM, or "SoftPwm" to issue yor required voltage ( will be the best solution for opto-coupler insulation ...)

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Maudit Francais! Yeah it seems to be an European tradition.

    Here we usually throw flower pot on the right edge of the head of someone we don't like
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Advice on Wiegand Buffer
    By brutc001 in forum Schematics
    Replies: 0
    Last Post: - 19th December 2009, 00:31
  2. Need "PIC16F84A" Controler schematic Advice...
    By Kyo_89 in forum Schematics
    Replies: 1
    Last Post: - 27th May 2009, 23:03
  3. Your OTP advice?
    By truvahorse in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th June 2008, 16:37
  4. Decoding an incoming infrared signal: need advice
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th May 2008, 16:28
  5. Advice needed on 'neat' Project!
    By vacpress in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th February 2007, 06:21

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