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. Development
  3. Power sensor? Battery?

Power sensor? Battery?

Scheduled Pinned Locked Moved Development
battery poweredbattery
12 Posts 5 Posters 3.6k 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.
  • CrankyCoderC Offline
    CrankyCoderC Offline
    CrankyCoder
    wrote on last edited by
    #1

    I have my first sensor built and ready to go into it's final casing. However, I am trying to power it via batteries. Was hoping to get away with some AAA batteries.

    Would I be better off using 2 AAA batteries and stepping up the voltage to the 5v my pro mini needs? Would I need a second step up converter to get the 3.3v for my nrf24l01? Or should I power it with 4 AAA batteries and bring it down to 5v and 3.3v? Or should I get a 3.3 pro mini and just bring voltage up or down to 3.3v for both the pro mini and nrf?

    So many options :)

    Just looking for some feed back and suggestions

    Home Automation Tinkerer
    www.CrankyCoder.net

    Controller: HomeAssistant in Kubernetes
    Gateway: MQTTClientGateway
    MySensors: 2.3

    NeverDieN 1 Reply Last reply
    0
    • mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Get a pro mini 3.3V and remove the power led and regulator. Power the Arduino and the nrf directly from 2xAA/AAA. See https://www.mysensors.org/build/battery for how & why.

      1 Reply Last reply
      0
      • alexsh1A Offline
        alexsh1A Offline
        alexsh1
        wrote on last edited by
        #3

        I complete agree with @mfalkvidd. Every time you boost or step down voltage, you waist some energy. Besides, why would you need to boost to 5v as additionally you will have to step down voltage to 3.3v for radio? Not logical.

        3.3V is the best to be used for low power devices. Just make sure you disable
        BOD via avrdude and you can have optiboot to get more space for sketches. This is optional.

        1 Reply Last reply
        0
        • CrankyCoderC Offline
          CrankyCoderC Offline
          CrankyCoder
          wrote on last edited by
          #4

          Sigh, i was afraid that was going to be the answer lol. I don't have any 3.3v mini's laying around. Oh well, time to order a batch.

          Thanks guys. Very excited to have my first sensor built and ready to get it mounted on the wall.

          Home Automation Tinkerer
          www.CrankyCoder.net

          Controller: HomeAssistant in Kubernetes
          Gateway: MQTTClientGateway
          MySensors: 2.3

          m26872M 1 Reply Last reply
          0
          • CrankyCoderC CrankyCoder

            Sigh, i was afraid that was going to be the answer lol. I don't have any 3.3v mini's laying around. Oh well, time to order a batch.

            Thanks guys. Very excited to have my first sensor built and ready to get it mounted on the wall.

            m26872M Offline
            m26872M Offline
            m26872
            Hardware Contributor
            wrote on last edited by
            #5

            @Jason-Brunk Since it's your first sensor you better buy some 3.3V pro minis. Later on you'll probably want to learn to deal with bootloader and fuses, then you could have reused your 5V pro minis as 3.3Vs.

            1 Reply Last reply
            0
            • CrankyCoderC Offline
              CrankyCoderC Offline
              CrankyCoder
              wrote on last edited by
              #6

              That looks interesting. I have saved that for some later reading thanks!

              Home Automation Tinkerer
              www.CrankyCoder.net

              Controller: HomeAssistant in Kubernetes
              Gateway: MQTTClientGateway
              MySensors: 2.3

              1 Reply Last reply
              0
              • CrankyCoderC CrankyCoder

                I have my first sensor built and ready to go into it's final casing. However, I am trying to power it via batteries. Was hoping to get away with some AAA batteries.

                Would I be better off using 2 AAA batteries and stepping up the voltage to the 5v my pro mini needs? Would I need a second step up converter to get the 3.3v for my nrf24l01? Or should I power it with 4 AAA batteries and bring it down to 5v and 3.3v? Or should I get a 3.3 pro mini and just bring voltage up or down to 3.3v for both the pro mini and nrf?

                So many options :)

                Just looking for some feed back and suggestions

                NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by
                #7

                @Jason-Brunk
                You can run a 5vpro mini at 3.3v if you remove the voltage regulator. Technically, it's out of spec for 16Mhz, but I have yet to hear that it has caused anyone problems.

                alexsh1A 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @Jason-Brunk
                  You can run a 5vpro mini at 3.3v if you remove the voltage regulator. Technically, it's out of spec for 16Mhz, but I have yet to hear that it has caused anyone problems.

                  alexsh1A Offline
                  alexsh1A Offline
                  alexsh1
                  wrote on last edited by
                  #8

                  @NeverDie I would not run 16Mhz at 3.3V as this would be unstable - however, running a 8Mhz bootloader is just fine.

                  I have a couple of 5V Pro mini which I am using with older 5V sensors.

                  NeverDieN 1 Reply Last reply
                  0
                  • alexsh1A alexsh1

                    @NeverDie I would not run 16Mhz at 3.3V as this would be unstable - however, running a 8Mhz bootloader is just fine.

                    I have a couple of 5V Pro mini which I am using with older 5V sensors.

                    NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #9

                    @alexsh1
                    Moteinos run the atmega328p at 16Mhz at 3.3v. What's the difference?

                    alexsh1A 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @alexsh1
                      Moteinos run the atmega328p at 16Mhz at 3.3v. What's the difference?

                      alexsh1A Offline
                      alexsh1A Offline
                      alexsh1
                      wrote on last edited by alexsh1
                      #10

                      @NeverDie I actually have a Moteino Mega on order so we can discuss it after I'll give it a spin :)

                      However, looking at atmega datasheet, it states that the chip is only specified at 10MHz with 3.3V supply. I know a few people who run it at 16Mhz with 2xAA batteries just fine, but given that I do not extra 8Mhz and much more in favour of stability, the choice is obvious.

                      NeverDieN 1 Reply Last reply
                      0
                      • alexsh1A alexsh1

                        @NeverDie I actually have a Moteino Mega on order so we can discuss it after I'll give it a spin :)

                        However, looking at atmega datasheet, it states that the chip is only specified at 10MHz with 3.3V supply. I know a few people who run it at 16Mhz with 2xAA batteries just fine, but given that I do not extra 8Mhz and much more in favour of stability, the choice is obvious.

                        NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by NeverDie
                        #11

                        @alexsh1
                        The Moteino Mega isn't based on the atmega328p though, so it won't really be relevant to this. Did you mean a Moteino R4?

                        alexsh1A 1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          @alexsh1
                          The Moteino Mega isn't based on the atmega328p though, so it won't really be relevant to this. Did you mean a Moteino R4?

                          alexsh1A Offline
                          alexsh1A Offline
                          alexsh1
                          wrote on last edited by alexsh1
                          #12

                          @NeverDie Yes, you are correct - it is based on ATMega1284P. So not relevant

                          My point is that I'd rather stick to the datasheet rather than overclock, but that's just me. And yes I realise that Moteino is overclocking, but the size, voltage and flash are really appealing to me.

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


                          10

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 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