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. Hardware
  3. Distance sensor power

Distance sensor power

Scheduled Pinned Locked Moved Hardware
10 Posts 4 Posters 3.0k Views 4 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.
  • fhenrycoF Offline
    fhenrycoF Offline
    fhenryco
    wrote on last edited by
    #1

    the HC-SR04 distance sensor needs 5v so i can't use the 3.3 mini pro. I was just wondering if it also makes sense for the 5V minipro to remove leds and regulator to have a long lasting set of AA battery in series with this arduino.... wondering because so far i only saw this method adviced for the 3.3 mini pro.

    For the 5V arduino what is the best strategy to power it : 3 AA = 4.5V or 2 AA =3V and 5V step up boost module ?

    1 Reply Last reply
    0
    • TmasterT Offline
      TmasterT Offline
      Tmaster
      wrote on last edited by
      #2

      step up modules ALWAYS consume more power than stepdown ,like a good voltage regulator.

      i'm a arduino fan .Even sometimes don't undestanding how to use it :P

      fhenrycoF 1 Reply Last reply
      0
      • TmasterT Tmaster

        step up modules ALWAYS consume more power than stepdown ,like a good voltage regulator.

        fhenrycoF Offline
        fhenrycoF Offline
        fhenryco
        wrote on last edited by
        #3

        sorry i should have re readen https://www.mysensors.org/build/battery
        where they say that the solution is still arduino 3.3V and step up regulator for the 5V sensor...

        1 Reply Last reply
        0
        • qqlapralineQ Offline
          qqlapralineQ Offline
          qqlapraline
          wrote on last edited by
          #4

          May be this post will help you finding a solution ;)

          Regards,

          QQ.

          fhenrycoF 1 Reply Last reply
          0
          • qqlapralineQ qqlapraline

            May be this post will help you finding a solution ;)

            Regards,

            QQ.

            fhenrycoF Offline
            fhenrycoF Offline
            fhenryco
            wrote on last edited by fhenryco
            #5

            @qqlapraline thanks but i find it more simple and have a good experience feeding the arduino 3.3 with a step up 3.3 booster. Now of course i did not realize that the 3.3 logical levels would not work with the 5V sensor so that not only a 5V step up booster is needed for the sensor but also a logical converter ... it would be a little simpler if there was such low cost distance sensors working in 3.3V rather than 5V

            fhenrycoF qqlapralineQ 2 Replies Last reply
            0
            • fhenrycoF fhenryco

              @qqlapraline thanks but i find it more simple and have a good experience feeding the arduino 3.3 with a step up 3.3 booster. Now of course i did not realize that the 3.3 logical levels would not work with the 5V sensor so that not only a 5V step up booster is needed for the sensor but also a logical converter ... it would be a little simpler if there was such low cost distance sensors working in 3.3V rather than 5V

              fhenrycoF Offline
              fhenrycoF Offline
              fhenryco
              wrote on last edited by
              #6

              @fhenryco
              Yet i can read for the HC_SR04 on some web pages:

              • Voltage : 3-5.5VDC
              • Logical lvel IO: 3.3V / 5V.

              so are you really sure guys that it does not work on 3.3 ?

              zboblamontZ 1 Reply Last reply
              0
              • fhenrycoF fhenryco

                @qqlapraline thanks but i find it more simple and have a good experience feeding the arduino 3.3 with a step up 3.3 booster. Now of course i did not realize that the 3.3 logical levels would not work with the 5V sensor so that not only a 5V step up booster is needed for the sensor but also a logical converter ... it would be a little simpler if there was such low cost distance sensors working in 3.3V rather than 5V

                qqlapralineQ Offline
                qqlapralineQ Offline
                qqlapraline
                wrote on last edited by
                #7

                @fhenryco, you have probably noticed in my post that the ultrasonic detector I use (ME007-ULS) is using 3.3v :)
                For your second question (does the HC-SR04 works under 3.3V), I would say try it :)
                But from my experience, it is quite unlikely that it works.

                QQ.

                1 Reply Last reply
                0
                • fhenrycoF fhenryco

                  @fhenryco
                  Yet i can read for the HC_SR04 on some web pages:

                  • Voltage : 3-5.5VDC
                  • Logical lvel IO: 3.3V / 5V.

                  so are you really sure guys that it does not work on 3.3 ?

                  zboblamontZ Offline
                  zboblamontZ Offline
                  zboblamont
                  wrote on last edited by
                  #8

                  @fhenryco said in Distance sensor power:

                  HC_SR04
                  The SR04 series et al can be triggered by 3v3 logic but the 5v echo from the sensor must be stepped down by dropper resistors for the timing on the 3v3 pro-mini.
                  It is regularly reported that these devices are unreliable with voltages below 5v, my project is to use the JSN version as it is in a very moist atmosphere, but the problem in using a 3v3 pro-mini was the same.
                  5v boosters consume standby power, the question is how that is controlled, and I have limited experience of mosfet control.
                  I am yet to build mine as still waiting on parts, but concept is a separate battery pack to 5v booster to the sensor fired up by a latching relay (Kemet EC2-3SNU or similar) so only the ground is common, and only the echo signal has to be stepped down.
                  Hope this makes sense.

                  fhenrycoF 1 Reply Last reply
                  0
                  • zboblamontZ zboblamont

                    @fhenryco said in Distance sensor power:

                    HC_SR04
                    The SR04 series et al can be triggered by 3v3 logic but the 5v echo from the sensor must be stepped down by dropper resistors for the timing on the 3v3 pro-mini.
                    It is regularly reported that these devices are unreliable with voltages below 5v, my project is to use the JSN version as it is in a very moist atmosphere, but the problem in using a 3v3 pro-mini was the same.
                    5v boosters consume standby power, the question is how that is controlled, and I have limited experience of mosfet control.
                    I am yet to build mine as still waiting on parts, but concept is a separate battery pack to 5v booster to the sensor fired up by a latching relay (Kemet EC2-3SNU or similar) so only the ground is common, and only the echo signal has to be stepped down.
                    Hope this makes sense.

                    fhenrycoF Offline
                    fhenrycoF Offline
                    fhenryco
                    wrote on last edited by
                    #9

                    @zboblamont just to be sure i understand : the 5V echo from the sensor is because in the case you are speaking about the sensor is still powered in 5V even though it receives triggers in 3.3V ?
                    And when you say that the sensor is unreliable in 3.3 , it's really when the sensor is both powered in 3.3 and receives triggers in 3.3, and of course should echo in 3.3V to the arduino then ? : strange that it does not work properly in this case ! ...

                    zboblamontZ 1 Reply Last reply
                    0
                    • fhenrycoF fhenryco

                      @zboblamont just to be sure i understand : the 5V echo from the sensor is because in the case you are speaking about the sensor is still powered in 5V even though it receives triggers in 3.3V ?
                      And when you say that the sensor is unreliable in 3.3 , it's really when the sensor is both powered in 3.3 and receives triggers in 3.3, and of course should echo in 3.3V to the arduino then ? : strange that it does not work properly in this case ! ...

                      zboblamontZ Offline
                      zboblamontZ Offline
                      zboblamont
                      wrote on last edited by
                      #10

                      @fhenryco
                      Yes to the first.
                      The 5v supply will give a 5v logic output from the sensor on the echo pin. That must be reduced.
                      Below a good 5v supply these sensors has been found to give unreliable results, although there are many different model numbers which look identical, so it is a bit of a minefield.

                      No to the second, this particular sensor will not work reliably at other than a good 5v supply.
                      The 3v3 is sufficient to give a logical high to the sensor to initiate measurement on this 5v device, a 5v trigger would also work from a 5v board. The echo output is at the sensor voltage of 5v level.
                      If I recall one past thread on this, the poster was getting weird readings using a 3AA supply over time, the booster gave him rock solid readings until the batteries reached 1v.

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


                      31

                      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