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. OpenHardware.io
  3. πŸ’¬ Easy/Newbie PCB for MySensors

πŸ’¬ Easy/Newbie PCB for MySensors

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsbatteryeasynewbiepcbmysx
716 Posts 111 Posters 306.2k Views 93 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.
  • sundberg84S sundberg84

    @dakipro the dht22 is a hot potato not only due to 3.3 req but also quality... I know this has been requested for removal on homepage before and I think it's just a matter of someone makes a good example for another sensor to replace it with.

    Yes you can cut the trace for vcc and hardwire it from bat if you want to lower bod.

    And yes it's not that hard to lower bod... but harder than booster and therefore I choose the easiest option since that's my board goal.

    I'm running 1mhz with booster and motion without problems... but same there, with a bad booster it will false trigger.

    D Offline
    D Offline
    dakipro
    wrote on last edited by
    #411

    @sundberg84 just to update success of the story, I cut the vcc trace and connected mini directly to battery, burned the fuses based on your advice here https://forum.mysensors.org/topic/7296/burning-fuses/8, and now the sensor goes down to 2.0v :)
    Booster is still used but only for dht22, radio and pro mini run directly from the battery.

    Thank you very much guys for help, now I have a foundation (and the knowledge) for more awesome sensors! :)

    C: OpenHAB2 with node-red on linux laptop
    GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
    GW: Arduino Mega, RFLink 433Mhz

    1 Reply Last reply
    3
    • T Offline
      T Offline
      Tommas
      wrote on last edited by
      #412

      Dear All!

      I would like to use this PCB. I would like power it with 5V, but I would like to use a 3.3V version mini Pro. How should I do it? I would like to use it from 5V (USB adapter) or battery 2xAA . Could I do it?

      Best regards,
      T

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #413

        just power it from the usb adapter, the pro mini can work at 5V. If you have other HW not 5V tolerant you need to use the RAW pin and let the pro mini regulator to its job. It all depends on what you want to do with the node

        T 1 Reply Last reply
        0
        • gohanG gohan

          just power it from the usb adapter, the pro mini can work at 5V. If you have other HW not 5V tolerant you need to use the RAW pin and let the pro mini regulator to its job. It all depends on what you want to do with the node

          T Offline
          T Offline
          Tommas
          wrote on last edited by
          #414

          Dear @gohan !

          Thank for your help!
          Which configuratation should i use? Or do i have to modify one of the above configurations? (3.3V , 5V regulated, or 6-12V) ?

          sundberg84S 1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #415

            There is no right answer since without knowing what you want to do, they could be all wrong or even all correct. :)

            T 1 Reply Last reply
            0
            • T Tommas

              Dear @gohan !

              Thank for your help!
              Which configuratation should i use? Or do i have to modify one of the above configurations? (3.3V , 5V regulated, or 6-12V) ?

              sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #416

              @Tommas 5v + 3.3v pro mini there is no example for this. Add your 3.3v pro mini and radio. Connect 5v to raw and put a jumper/connect both reg and bat.

              If you want to use to for 2xaa please follow the example.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              T 2 Replies Last reply
              0
              • sundberg84S sundberg84

                @dakipro - hi!

                but they just wont work reliably on lover battery power then 2.8v . Is that the limit?

                No, the limit should be (if you have a genuine radio) 1,9v. Im not sure what kind of voltages a clone will manage, but my nodes goes below 2.8v!

                I cannot debug using serial adapter, as when I connect it, then pro works fine as it gets 3.3v from the pc.

                This should not be a problem - you can power the node from the "normal" way and just connect RX/TX and GND from the ftdi to the arduino ftdi header. I have done this several times.

                D2-gnd show 2.5v

                The IRQ line from the radio is 2.5v since thats what the radio gets. Im not exactly sure what this does, but in SPI which is what the radio are using, its either HIGH or LOW so 2.5v sounds right since the radio has that voltage. This should not disturb the arduino! This is changed in REV9 so you can disconnect D2 from the radio if wanted. You should not use D2 for any sensor below Rev9.

                The led on arduino goes red for 3-4s, then goes off for 2s then again red for 3s, then off...

                Sounds like the radio is transmitting... if this goes on and on it can mean the radio isnt getting connected/ack or establish a way to the gateway.

                Do you have some suggestions on how I can debug what is going on?

                You need to check the debut output (see above)!
                Could you describe the issue? Are the node lost from the controller?

                What is the lowest voltage the batteries can go (with the 3.3v booster)?

                1.9v is the minimum to the radio.
                0,8v is the minimum for the booster.

                keldandorinK Offline
                keldandorinK Offline
                keldandorin
                wrote on last edited by
                #417

                @sundberg84 I do have the same problem with my setup. As soon as power drops below 2.8 the radio will have problem connecting to gateway. Sometimes it connect after 10-15 tryes. Is there any way to see if nrf sending or any outer way to test stuff? Any ideas are welcome //HΓ₯kan

                sundberg84S 1 Reply Last reply
                0
                • keldandorinK keldandorin

                  @sundberg84 I do have the same problem with my setup. As soon as power drops below 2.8 the radio will have problem connecting to gateway. Sometimes it connect after 10-15 tryes. Is there any way to see if nrf sending or any outer way to test stuff? Any ideas are welcome //HΓ₯kan

                  sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #418

                  @keldandorin - are you using a booster as mentioned above?
                  The problem is in that case noice introduces in the radio from the booster (a known issue). I will in the future try to buy me a oscilloscope and diagnose more... but for now, if you add a "bad/cheap" booster it will be this problem. 2.8v sounds really bad though, and most likley a really bad clone.

                  You have two options.

                  1. Try another booster, and/or try to filter with capacitors.
                  2. Load a new bootloader that can handle lower voltages accoring to link above.

                  Let me know if I can assist you in any way.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  keldandorinK 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @Tommas 5v + 3.3v pro mini there is no example for this. Add your 3.3v pro mini and radio. Connect 5v to raw and put a jumper/connect both reg and bat.

                    If you want to use to for 2xaa please follow the example.

                    T Offline
                    T Offline
                    Tommas
                    wrote on last edited by
                    #419

                    Dear @sundberg84 !
                    Thank you! ANd which example should i follow with this modification?
                    Thanks
                    T

                    1 Reply Last reply
                    0
                    • gohanG gohan

                      There is no right answer since without knowing what you want to do, they could be all wrong or even all correct. :)

                      T Offline
                      T Offline
                      Tommas
                      wrote on last edited by
                      #420

                      @gohan

                      Dear gohan!
                      I would like to power all my nodes from a central power source with 5V . I would like to use 3.3V microcontroller with 3V sensors... because of the voltage drop down caused by the distance (5-15m from the power source). Maybe there will be 1-2 battery powered sensor nodes..
                      This is my plan.
                      I dont like using battery. It is too hard for me to optimize the sensors for battery...

                      Best regards
                      T

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #421

                        In that case you could also go for rs485 bus. Voltage sources could be also 7 or 9v since you will be using the internal regulator anyway. Most sensor can operate at 5v too, so you don't actually need 3.3v. Optimizing for battery isn't that bad too. Since you are powering the nodes you could also use esp8266 nodes

                        1 Reply Last reply
                        1
                        • sundberg84S sundberg84

                          @Tommas 5v + 3.3v pro mini there is no example for this. Add your 3.3v pro mini and radio. Connect 5v to raw and put a jumper/connect both reg and bat.

                          If you want to use to for 2xaa please follow the example.

                          T Offline
                          T Offline
                          Tommas
                          wrote on last edited by
                          #422

                          Dear @sundberg84

                          If i use 5V regulated example, has it got 3.3V output for the sensors?

                          Thanks
                          T

                          dbemowskD 1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #423

                            if you install the voltage regulator in the top left area, you will have the 3.3v ( if I got your question right)

                            T 1 Reply Last reply
                            0
                            • gohanG gohan

                              if you install the voltage regulator in the top left area, you will have the 3.3v ( if I got your question right)

                              T Offline
                              T Offline
                              Tommas
                              wrote on last edited by
                              #424

                              @gohan

                              Oh OK! Thank you! The decision is hard for me, which solution i should use:) .

                              1 Reply Last reply
                              0
                              • T Tommas

                                Dear @sundberg84

                                If i use 5V regulated example, has it got 3.3V output for the sensors?

                                Thanks
                                T

                                dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #425

                                @Tommas If you are using 5 volts in and not using a 3.3v pro mini that has the 3.3v regulated output, then you have to add a TO92 case style 3.3v regulator and two capacitors to the board. Here are some that should work. Whatever one you get, make sure you check the pinout against the markings on the board as not all regulators have the same pinout.
                                http://www.mouser.com/Semiconductors/Power-Management-ICs/LDO-Voltage-Regulators/_/N-5cgac?P=1z0y3jsZ1z0wa2e&pop=88zz

                                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                T 1 Reply Last reply
                                0
                                • dbemowskD dbemowsk

                                  @Tommas If you are using 5 volts in and not using a 3.3v pro mini that has the 3.3v regulated output, then you have to add a TO92 case style 3.3v regulator and two capacitors to the board. Here are some that should work. Whatever one you get, make sure you check the pinout against the markings on the board as not all regulators have the same pinout.
                                  http://www.mouser.com/Semiconductors/Power-Management-ICs/LDO-Voltage-Regulators/_/N-5cgac?P=1z0y3jsZ1z0wa2e&pop=88zz

                                  T Offline
                                  T Offline
                                  Tommas
                                  wrote on last edited by
                                  #426

                                  Dear @dbemowsk

                                  I bought these: https://www.ebay.com/itm/401088383355

                                  Thank you!

                                  sundberg84S 1 Reply Last reply
                                  0
                                  • T Tommas

                                    Dear @dbemowsk

                                    I bought these: https://www.ebay.com/itm/401088383355

                                    Thank you!

                                    sundberg84S Offline
                                    sundberg84S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by sundberg84
                                    #427

                                    @Tommas - this is the voltage regulator that the board is designed for so the markings/pinout will be right for you. If you put 5v on the PCB input and use 3.3v pro mini though, the only choise you have is to put 5v on RAW and let the onboard voltage regulator on the PCB regulate it down to 3.3v. The voltage regulator on the PCB only regulate the voltage to the radio and are meant for a 5v input on a 5v pro mini. Using raw means there is no need for the LE33.

                                    Controller: Proxmox VM - Home Assistant
                                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                    1 Reply Last reply
                                    0
                                    • sundberg84S sundberg84

                                      @keldandorin - are you using a booster as mentioned above?
                                      The problem is in that case noice introduces in the radio from the booster (a known issue). I will in the future try to buy me a oscilloscope and diagnose more... but for now, if you add a "bad/cheap" booster it will be this problem. 2.8v sounds really bad though, and most likley a really bad clone.

                                      You have two options.

                                      1. Try another booster, and/or try to filter with capacitors.
                                      2. Load a new bootloader that can handle lower voltages accoring to link above.

                                      Let me know if I can assist you in any way.

                                      keldandorinK Offline
                                      keldandorinK Offline
                                      keldandorin
                                      wrote on last edited by
                                      #428

                                      @sundberg84 Is there any way to say if booster is a bad one or not before ordering them?
                                      The one I ordered was the one on shoping list from aliexpress. Will try I capacitator and see if I can get a new booster from kjell&Comany tomorrow just to try. Build a setup on bread bord where I powered radio with 2 AA and got the same result. Got a fju places where I like to put some sensors with no power so realy need to get this working :). Could the radiomodules be bad to?

                                      sundberg84S 1 Reply Last reply
                                      0
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #429

                                        Bad quality from cheap Chinese suppliers, is always an option 😁

                                        1 Reply Last reply
                                        0
                                        • keldandorinK keldandorin

                                          @sundberg84 Is there any way to say if booster is a bad one or not before ordering them?
                                          The one I ordered was the one on shoping list from aliexpress. Will try I capacitator and see if I can get a new booster from kjell&Comany tomorrow just to try. Build a setup on bread bord where I powered radio with 2 AA and got the same result. Got a fju places where I like to put some sensors with no power so realy need to get this working :). Could the radiomodules be bad to?

                                          sundberg84S Offline
                                          sundberg84S Offline
                                          sundberg84
                                          Hardware Contributor
                                          wrote on last edited by
                                          #430

                                          @keldandorin - could be a weak clone radio yes.
                                          Just to get your hopes up, I got booster driven nodes all around the place with Nrf24l01+ radio and they works great!
                                          I change battery every 1-1.5 years but as I said, the experience is that the radio - booster needs a good teamwork :)

                                          Controller: Proxmox VM - Home Assistant
                                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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


                                          15

                                          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