Jump to content
Electronics-Lab.com Community
Sign in to follow this  

Voltage Limiter in DS1621 pc thermometer

Recommended Posts

i made the project DS1621 pc thermometer

There is something i want to ask?

1. about voltage limiters (R1, DZ2, R2, DZ1)  on the SCL clock input and SDA data input.
how  to look for the value for resistor and dioda zener for that project, i mean 4700 ohm and 5 volt dioda zener, what formula used in searching the value for that resistor and dioda zener. ? how to count it ? until we get the value for resistor and dioda zener?.

2.i'm learning the source code, but there is something i don't understand.

temperature = (temperature_int * 256 + temperature_frac) / 128 * 5 / 10
    If temperature_int >= 128 Then
        temperature = temperature - 256

i don't understand about the code, does anyone can help me to explain this code and explain the formula code? Please help.

i'm sorry about the english sentence
i'm doing my best to write it.
Thank You

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...