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. Easy/Newbie PCB for MySensors

Easy/Newbie PCB for MySensors

Scheduled Pinned Locked Moved Hardware
257 Posts 37 Posters 105.2k Views 38 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.
  • S SolderNewbie

    @sundberg84 Thanks for clarification! Do you have any idea how long i can power a NRF24 module with two AA batteries until the voltage is to low?

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

    @SolderNewbie - it depends on many factors, but one example I have 2xAA, Pro Mini (Led and Voltage reg removed), DHT22, Voltage divider (for battery measurment), booster and sending temp & humidity + battery status every 15min should last 1-1.5 years.

    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

      @sincze

      use the pins TX/RX

      what do you mean? You can find the pins on the MysX connector (bottom left on the PCB). Instructions on how to use the pins isnt my cup of tea. You need to google that or you have to look at the arduino homepage.

      There isnt anything to convert from nano to EasyPCB (except to find the right pins). The sketch will work just fine as it is.

      sinczeS Offline
      sinczeS Offline
      sincze
      MySensors Evangelist
      wrote on last edited by sincze
      #182

      @sundberg84 Got it. In the end it I did not have to use them.

      All devices I was looking for to use are working except for my Dallas Temp Sensors.
      The resistor is between the wires VCC and DATA in the connectors so not soldered on the board itself.

      I checked if pin header
      D3 had connection with D3 on the arduino (beep),
      GND with GND on the arduino (beep),
      VCC with VCC on the arduino (beep) at 4,7v.

      So the connector should be okay (no soldering error this time). If I connect the wire to the old Arduino nano the temp sensors are found... Connect them to the PCB.. Nothing found. Well must be something stupid I am missing here right?.

      To check D3, I made an RX tranmission Led attached and it flashed fine. So it should be okay.

      sundberg84S 1 Reply Last reply
      0
      • sinczeS sincze

        @sundberg84 Got it. In the end it I did not have to use them.

        All devices I was looking for to use are working except for my Dallas Temp Sensors.
        The resistor is between the wires VCC and DATA in the connectors so not soldered on the board itself.

        I checked if pin header
        D3 had connection with D3 on the arduino (beep),
        GND with GND on the arduino (beep),
        VCC with VCC on the arduino (beep) at 4,7v.

        So the connector should be okay (no soldering error this time). If I connect the wire to the old Arduino nano the temp sensors are found... Connect them to the PCB.. Nothing found. Well must be something stupid I am missing here right?.

        To check D3, I made an RX tranmission Led attached and it flashed fine. So it should be okay.

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

        @sincze - that sounds strange.
        Is it the same sensor or could the dallas sensor be broken?
        Can you see anything in the debug/serial? /(Sometimes you can see -127 and so).

        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

        sinczeS 1 Reply Last reply
        0
        • sundberg84S sundberg84

          @sincze - that sounds strange.
          Is it the same sensor or could the dallas sensor be broken?
          Can you see anything in the debug/serial? /(Sometimes you can see -127 and so).

          sinczeS Offline
          sinczeS Offline
          sincze
          MySensors Evangelist
          wrote on last edited by
          #184

          @sundberg84 Strange thing is.. If I unplug the temp cable from the PCB and plug it into the NANO the sketch detects the sensor. The exact same sketch on the mini says "0 sensors found" as I just print the number of sensors detected.
          For debugging purposes If I would solder the resistor on the PCB and I have a different temp sensor with resistor within the cabling. Would that hurt (double resistors) ?
          Would I have to look for a specific voltage between D3 and GND ?

          sundberg84S 1 Reply Last reply
          0
          • sinczeS sincze

            @sundberg84 Strange thing is.. If I unplug the temp cable from the PCB and plug it into the NANO the sketch detects the sensor. The exact same sketch on the mini says "0 sensors found" as I just print the number of sensors detected.
            For debugging purposes If I would solder the resistor on the PCB and I have a different temp sensor with resistor within the cabling. Would that hurt (double resistors) ?
            Would I have to look for a specific voltage between D3 and GND ?

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

            @sincze - so it sounds like you have issues between pcb connector and A0 pin on the atmega328. You could try to do a continuitytest between that - and check soldering job on the MysX connector and on the back on the pro mini (A0)

            0_1510823476205_upload-31f0d5a6-9fc8-42a1-bf58-2a6d7f490457

            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

            sinczeS 1 Reply Last reply
            0
            • sundberg84S sundberg84

              @sincze - so it sounds like you have issues between pcb connector and A0 pin on the atmega328. You could try to do a continuitytest between that - and check soldering job on the MysX connector and on the back on the pro mini (A0)

              0_1510823476205_upload-31f0d5a6-9fc8-42a1-bf58-2a6d7f490457

              sinczeS Offline
              sinczeS Offline
              sincze
              MySensors Evangelist
              wrote on last edited by
              #186

              @sundberg84 Just for the check A0 or D3 (temp sensor)?
              As A0 is working, I have a relais attached to it. ;)

              sundberg84S 1 Reply Last reply
              0
              • sinczeS sincze

                @sundberg84 Just for the check A0 or D3 (temp sensor)?
                As A0 is working, I have a relais attached to it. ;)

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

                @sincze sorry - my misstake, D3 offcourse. You can do if from D3 on the MysX connector to D3 on the atmega chip. D3 on the cjip is the upper left pin on the image.

                0_1510831452813_upload-0d859cac-e93c-40ad-9f2f-f68ddcd6fdeb

                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

                sinczeS 1 Reply Last reply
                0
                • sundberg84S sundberg84

                  @sincze sorry - my misstake, D3 offcourse. You can do if from D3 on the MysX connector to D3 on the atmega chip. D3 on the cjip is the upper left pin on the image.

                  0_1510831452813_upload-0d859cac-e93c-40ad-9f2f-f68ddcd6fdeb

                  sinczeS Offline
                  sinczeS Offline
                  sincze
                  MySensors Evangelist
                  wrote on last edited by sincze
                  #188

                  @sundberg84 yes, I have a 'beep' pffffff would a double resistor hurt ?? 1 on pcb the other one in the cable?
                  I tried connecting it directly to pin 3 on the arduino, no detection, I tried replacing the resistor. nothing. I tried a different temp sensors.. No detection. I moved the new temp sensor to the nano... detected.
                  I tried an empty Dallas temp only sketch on the mini... no detection. Well Now I'm lost ;-)

                  dbemowskD sundberg84S 2 Replies Last reply
                  0
                  • sinczeS sincze

                    @sundberg84 yes, I have a 'beep' pffffff would a double resistor hurt ?? 1 on pcb the other one in the cable?
                    I tried connecting it directly to pin 3 on the arduino, no detection, I tried replacing the resistor. nothing. I tried a different temp sensors.. No detection. I moved the new temp sensor to the nano... detected.
                    I tried an empty Dallas temp only sketch on the mini... no detection. Well Now I'm lost ;-)

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

                    @sincze Can you possibly send pictures with how you have it connected both on the nano and on the mini? I am thinking that it is something obvious that is being missed.

                    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/

                    1 Reply Last reply
                    2
                    • sinczeS sincze

                      @sundberg84 yes, I have a 'beep' pffffff would a double resistor hurt ?? 1 on pcb the other one in the cable?
                      I tried connecting it directly to pin 3 on the arduino, no detection, I tried replacing the resistor. nothing. I tried a different temp sensors.. No detection. I moved the new temp sensor to the nano... detected.
                      I tried an empty Dallas temp only sketch on the mini... no detection. Well Now I'm lost ;-)

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

                      @sincze - and you use the right power source on the PCB? (VCC = 5v and 3.3v = Well... 3.3v) Please send pictures of both setup as mentioned.

                      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

                      sinczeS 1 Reply Last reply
                      0
                      • BarnaB Offline
                        BarnaB Offline
                        Barna
                        wrote on last edited by
                        #191

                        Hi Sundberg84,

                        I have some v8 and now enough time for playing.
                        I setup with v3.3 2xAA, booster, NRF24, simple door sensor or DHT.
                        1-2 week and the batteries are discharged, I hear little buzz from the mini or other components.
                        This is the 2nd built where I meet this problem.
                        Do you have any idea what component is the failed ?
                        thanks
                        Barna

                        sundberg84S dbemowskD 2 Replies Last reply
                        0
                        • gohanG Offline
                          gohanG Offline
                          gohan
                          Mod
                          wrote on last edited by
                          #192

                          Did you remove the regulator and LED from the pro mini? Have you tried a different booster?

                          1 Reply Last reply
                          0
                          • BarnaB Barna

                            Hi Sundberg84,

                            I have some v8 and now enough time for playing.
                            I setup with v3.3 2xAA, booster, NRF24, simple door sensor or DHT.
                            1-2 week and the batteries are discharged, I hear little buzz from the mini or other components.
                            This is the 2nd built where I meet this problem.
                            Do you have any idea what component is the failed ?
                            thanks
                            Barna

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

                            @Barna as @gohan said I suspect the booster as well. A small buzz is normally from that hardware.
                            Also did you implement sleep() ?

                            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

                            BarnaB 1 Reply Last reply
                            0
                            • sundberg84S sundberg84

                              @Barna as @gohan said I suspect the booster as well. A small buzz is normally from that hardware.
                              Also did you implement sleep() ?

                              BarnaB Offline
                              BarnaB Offline
                              Barna
                              wrote on last edited by
                              #194

                              @sundberg84 this is not normal buzz, stronger than before.
                              I have used this source only: https://www.ebay.com/itm/mini-DC-DC-0-8-3-3V-to-DC-3-3V-Step-UP-Boost-Power-Module-For-Breadboard-Arduino-/281556288481?hash=item418e1003e1
                              which another part could make the buzz ?
                              yes, I use sleep
                              sleep(1, CHANGE, SLEEP_TIME); SLEEP_TIME is 900000 , but the node does not wake up and send the battery status, only when door sensor changes.
                              No, I have not removed the led and regulator, this is the testing period only :)

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

                                Those draw quite some energy, you'd better remove them and see from there

                                1 Reply Last reply
                                0
                                • BarnaB Barna

                                  Hi Sundberg84,

                                  I have some v8 and now enough time for playing.
                                  I setup with v3.3 2xAA, booster, NRF24, simple door sensor or DHT.
                                  1-2 week and the batteries are discharged, I hear little buzz from the mini or other components.
                                  This is the 2nd built where I meet this problem.
                                  Do you have any idea what component is the failed ?
                                  thanks
                                  Barna

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

                                  @Barna What if you used a setup like this:
                                  0_1510936047717_upload-c0db2caa-660d-4a18-a9a9-c9c2cf96935c
                                  The 3volt tap can be used to power the arduino, and the DHT can be run from the 4.5v. With that you wouldn't need the step up booster.

                                  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/

                                  1 Reply Last reply
                                  0
                                  • sundberg84S sundberg84

                                    @sincze - and you use the right power source on the PCB? (VCC = 5v and 3.3v = Well... 3.3v) Please send pictures of both setup as mentioned.

                                    sinczeS Offline
                                    sinczeS Offline
                                    sincze
                                    MySensors Evangelist
                                    wrote on last edited by
                                    #197

                                    @sundberg84 @dbemowsk Thank you guys for still trying to help me. I almost gave up on using a Dallas Termp sensor o n a pro mini. As said I even tried connecting the temp sensor directly to the pins with same results. If I connect the pins to my nano, it is being detected and transmitting temp values. I even used a different sketch.. Just for the temp sensor. link found_here. Changed it to use Pin 3 ofcourse. I even connected the whole thing to D2 (resistor back in the wires)... without being succesful either.

                                    0_1510938558966_Dallas Not Detected.png

                                    dbemowskD 1 Reply Last reply
                                    0
                                    • sinczeS sincze

                                      @sundberg84 @dbemowsk Thank you guys for still trying to help me. I almost gave up on using a Dallas Termp sensor o n a pro mini. As said I even tried connecting the temp sensor directly to the pins with same results. If I connect the pins to my nano, it is being detected and transmitting temp values. I even used a different sketch.. Just for the temp sensor. link found_here. Changed it to use Pin 3 ofcourse. I even connected the whole thing to D2 (resistor back in the wires)... without being succesful either.

                                      0_1510938558966_Dallas Not Detected.png

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

                                      @sincze Are you sure you sure you got correct power on the GND and VCC pins on the MySX connector?

                                      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/

                                      sinczeS 1 Reply Last reply
                                      0
                                      • dbemowskD dbemowsk

                                        @sincze Are you sure you sure you got correct power on the GND and VCC pins on the MySX connector?

                                        sinczeS Offline
                                        sinczeS Offline
                                        sincze
                                        MySensors Evangelist
                                        wrote on last edited by
                                        #199

                                        @dbemowsk I had those thoughts as well.
                                        0_1510946155798_Dallas Voltage.png
                                        The voltage should be okay. I can solder a new Arduino Pro Mini and see if that one wants to work with me ;-)

                                        1 Reply Last reply
                                        0
                                        • sundberg84S Offline
                                          sundberg84S Offline
                                          sundberg84
                                          Hardware Contributor
                                          wrote on last edited by
                                          #200

                                          Dallas temp sensors needs 3.3v VCC if I remember right. Not 5v.

                                          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

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


                                          7

                                          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