Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Arduino Pro Mini & DS18B20

Arduino Pro Mini & DS18B20

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 4.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    martim
    wrote on last edited by
    #1

    Hi,

    I tried for 2 days now to build this project https://www.mysensors.org/build/temp. Unfortunatly I am not able to get this temperature read out with a Arduino Pro Mini. When I use a Nano it works. !?!

    What could be wrong here? I tried 2 different Arduino Pro Mini boards but both don't work.

    What could be different between the Arduino Pro Mini and Nano?

    1 Reply Last reply
    0
    • bjacobseB Offline
      bjacobseB Offline
      bjacobse
      wrote on last edited by bjacobse
      #2

      Do have the famous 4k7 Ohm resistor from VCC to data pin? DS18B20 min voltage is 3.0V and regardless if you use a 5V or 3,3V Arduino voltage it should work.
      Maybe if you use read too quick it can't get enough voltage/power to the DS18B20 in parasite power mode

      1 Reply Last reply
      0
      • M Offline
        M Offline
        martim
        wrote on last edited by
        #3

        Yes, I have the 4k7 resister from VCC to data pin. The voltage is 3.3.

        1 Reply Last reply
        0
        • bjacobseB Offline
          bjacobseB Offline
          bjacobse
          wrote on last edited by
          #4

          when compiling in Arduino IDEdo you remember to select correct Arduino board, Pro Mini and choose 3.3v 8MHz.
          Tools->Board->"Arduino Pro or Pro Mini"
          Tools->Board->Processor->3,3V 8MHz
          Maybe if you forget this you will compile with wrong oscillator frequency and get wrong timings to your communication to DS18B20

          M 1 Reply Last reply
          4
          • bjacobseB bjacobse

            when compiling in Arduino IDEdo you remember to select correct Arduino board, Pro Mini and choose 3.3v 8MHz.
            Tools->Board->"Arduino Pro or Pro Mini"
            Tools->Board->Processor->3,3V 8MHz
            Maybe if you forget this you will compile with wrong oscillator frequency and get wrong timings to your communication to DS18B20

            M Offline
            M Offline
            martim
            wrote on last edited by
            #5

            @bjacobse

            Thanks!! Yes this was the trick! Wrong Speed!

            Happy New Year!!

            bjacobseB 1 Reply Last reply
            1
            • M martim

              @bjacobse

              Thanks!! Yes this was the trick! Wrong Speed!

              Happy New Year!!

              bjacobseB Offline
              bjacobseB Offline
              bjacobse
              wrote on last edited by
              #6

              @martim
              Good that you replied what made the trick for you, so other can read what to check :-)
              Godt Nytår

              solaS 1 Reply Last reply
              1
              • bjacobseB bjacobse

                @martim
                Good that you replied what made the trick for you, so other can read what to check :-)
                Godt Nytår

                solaS Offline
                solaS Offline
                sola
                wrote on last edited by
                #7

                @bjacobse
                Couldn't agree more.
                This might just be the problem I face.

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                25

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular