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.3k 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.
  • M martim

    Yesterday I have received Rev 9 of Newbie PCB board. I am a newbie and I purchased this board to make building easier. I have soldered a radio and Arduino Pro Mini 3.3 V to it and the radio module with a 47uF cap. The power is supplied using the FTD232 board. Because the radio module is not powered using the 3.3V of arduino I wired this using a separate wire. I also connected a DTH 11 with the resistor on the board (4K7). I used a test sketch to read the DTH 11 and this is working well.

    When I load the MySensors sketch I get a radio failure. I have no Idea what this is? Bad wiring, not correct power?? Anyone can help me started?

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 !TSM:INIT:TSP FAIL
    14 TSM:FAIL:CNT=1
    16 TSM:FAIL:PDT
    10018 TSM:FAIL:RE-INIT
    10020 TSM:INIT
    10027 !TSM:INIT:TSP FAIL
    10031 TSM:FAIL:CNT=2
    10033 TSM:FAIL:PDT```
    Nca78N Offline
    Nca78N Offline
    Nca78
    Hardware Contributor
    wrote on last edited by Nca78
    #106

    @martim said in Easy/Newbie PCB for MySensors:

    Because the radio module is not powered using the 3.3V of arduino I wired this using a separate wire.

    Can you show a picture of your setup and give more explanation on this sentence ? This part about connection of the radio smells fishy ;)
    It seems the radio cannot be initialized, so I suppose the power supplied to it is not correct, but I'm not sure of what you did.

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

      This is the front part. The connected cable goes to the FTD232 which also is currently the power supply.

      0_1486835929737_IMG_3545.JPG !

      The red wire on the back plane connects the plus from arduino to the plus for the radio (soldered on the + of cap)
      0_1486835943373_IMG_3546.JPG !

      Try to zoom in.
      0_1486835954003_zoomed.png

      sundberg84S 1 Reply Last reply
      0
      • M martim

        This is the front part. The connected cable goes to the FTD232 which also is currently the power supply.

        0_1486835929737_IMG_3545.JPG !

        The red wire on the back plane connects the plus from arduino to the plus for the radio (soldered on the + of cap)
        0_1486835943373_IMG_3546.JPG !

        Try to zoom in.
        0_1486835954003_zoomed.png

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

        @martim - read the insctructions again.
        If you are using the board with a 3.3v arduino and battery you need to connect the BAT jumper and use a booster.

        If you are using a 3.3 arduino with a regulated power you can add a jumper/wire over the booster and connect the BAT jumper.

        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

        M 1 Reply Last reply
        0
        • sundberg84S sundberg84

          @martim - read the insctructions again.
          If you are using the board with a 3.3v arduino and battery you need to connect the BAT jumper and use a booster.

          If you are using a 3.3 arduino with a regulated power you can add a jumper/wire over the booster and connect the BAT jumper.

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

          @sundberg84
          Ok, Thanks I will try the second suggestion. (my booster is still not delivered and hard to get at the moment :()

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

            Found one issue. On the PCB board the was a very small broken wire. I think the postman was not very careful with it. At least I have some better logging but still not there.

            How can I solve this one?

            0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
            4 TSM:INIT
            4 TSF:WUR:MS=0
            12 TSM:INIT:TSP OK
            14 TSM:INIT:STATID=20
            16 TSF:SID:OK,ID=20
            18 TSM:FPAR
            55 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            2064 !TSM:FPAR:NO REPLY
            2066 TSM:FPAR
            2103 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            4112 !TSM:FPAR:NO REPLY
            4114 TSM:FPAR
            4151 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            6160 !TSM:FPAR:NO REPLY
            6162 TSM:FPAR
            6199 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
            8208 !TSM:FPAR:FAIL
            8210 TSM:FAIL:CNT=1
            8212 TSM:FAIL:PDT
            

            Does this mean the gateway does not reply? It does with other sensors?

            sundberg84S 1 Reply Last reply
            0
            • M martim

              Found one issue. On the PCB board the was a very small broken wire. I think the postman was not very careful with it. At least I have some better logging but still not there.

              How can I solve this one?

              0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
              4 TSM:INIT
              4 TSF:WUR:MS=0
              12 TSM:INIT:TSP OK
              14 TSM:INIT:STATID=20
              16 TSF:SID:OK,ID=20
              18 TSM:FPAR
              55 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2064 !TSM:FPAR:NO REPLY
              2066 TSM:FPAR
              2103 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              4112 !TSM:FPAR:NO REPLY
              4114 TSM:FPAR
              4151 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              6160 !TSM:FPAR:NO REPLY
              6162 TSM:FPAR
              6199 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              8208 !TSM:FPAR:FAIL
              8210 TSM:FAIL:CNT=1
              8212 TSM:FAIL:PDT
              

              Does this mean the gateway does not reply? It does with other sensors?

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

              @martim - yes, it doesnt get the connection to the GW as it wants... might be node or gw. Do you have caps on both?

              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
              • M Offline
                M Offline
                martim
                wrote on last edited by
                #112

                Have solved the issue. Removed the cap from the board and directly soldered to the Radio Board. That's was solving the issue.

                1 Reply Last reply
                2
                • H Offline
                  H Offline
                  hiddenuser
                  wrote on last edited by
                  #113

                  Awesome board!!!
                  How do I access A2, A3 and D8?

                  Thanks a lot

                  sundberg84S 1 Reply Last reply
                  0
                  • H hiddenuser

                    Awesome board!!!
                    How do I access A2, A3 and D8?

                    Thanks a lot

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

                    @hiddenuser - they are not accesses through the PCB:
                    0_1490798623451_1.JPG

                    You need to solder a wire on the Pro Mini and run somewhere, like the prototyping area.

                    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

                    H 1 Reply Last reply
                    0
                    • sundberg84S sundberg84

                      @hiddenuser - they are not accesses through the PCB:
                      0_1490798623451_1.JPG

                      You need to solder a wire on the Pro Mini and run somewhere, like the prototyping area.

                      H Offline
                      H Offline
                      hiddenuser
                      wrote on last edited by
                      #115

                      @sundberg84 Thanks a lot.... My ebay seller sent me a Atmega168 5v. I have noticed that you boards supports 5v version too. Would I be able to power it using raw (12v).

                      Thanks a lot .

                      sundberg84S 1 Reply Last reply
                      0
                      • H hiddenuser

                        @sundberg84 Thanks a lot.... My ebay seller sent me a Atmega168 5v. I have noticed that you boards supports 5v version too. Would I be able to power it using raw (12v).

                        Thanks a lot .

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

                        @hiddenuser - as long as the voltage divider on the board supports 12v that will work. A warning on the cheap chinese stuff is that this voltage regulator is bad and might fry.

                        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

                        A 1 Reply Last reply
                        1
                        • sundberg84S sundberg84

                          @hiddenuser - as long as the voltage divider on the board supports 12v that will work. A warning on the cheap chinese stuff is that this voltage regulator is bad and might fry.

                          A Offline
                          A Offline
                          achurak1
                          wrote on last edited by
                          #117

                          @sundberg84 - thanks for your board, it seems to be almost exactly what I was looking for! What do you think would be the best way to adjust it if I need to boost the batteries not only to 3.3V, but also to 5V to run the pir sensor?

                          sundberg84S 1 Reply Last reply
                          0
                          • A achurak1

                            @sundberg84 - thanks for your board, it seems to be almost exactly what I was looking for! What do you think would be the best way to adjust it if I need to boost the batteries not only to 3.3V, but also to 5V to run the pir sensor?

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

                            @achurak1 - do you mean running 5v on batteries? Sorry - thats out of my knowledge.
                            I guess there are 5v boosters but my guess is also that this will drain the batteries pretty fast.
                            I have made test with 9v batteries and voltage regulaters and this has worked for some time but never gives the lifetime as 3.3v on 2xAA.

                            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

                            A 1 Reply Last reply
                            0
                            • sundberg84S sundberg84

                              @achurak1 - do you mean running 5v on batteries? Sorry - thats out of my knowledge.
                              I guess there are 5v boosters but my guess is also that this will drain the batteries pretty fast.
                              I have made test with 9v batteries and voltage regulaters and this has worked for some time but never gives the lifetime as 3.3v on 2xAA.

                              A Offline
                              A Offline
                              achurak1
                              wrote on last edited by
                              #119

                              @sundberg84 - correct, the 5v booster looks exactly like the 3.3v booster. I have another sensor I've built manually and it works exactly like that, arduino/temp/hum/radio all work from 3.3v and pir works from 5v. I power it all with two rechargeable batteries (so ~2.6 max charged, not even 3) and it's been running good for several months already and still shows 2.45-2.50.

                              gohanG 1 Reply Last reply
                              0
                              • A achurak1

                                @sundberg84 - correct, the 5v booster looks exactly like the 3.3v booster. I have another sensor I've built manually and it works exactly like that, arduino/temp/hum/radio all work from 3.3v and pir works from 5v. I power it all with two rechargeable batteries (so ~2.6 max charged, not even 3) and it's been running good for several months already and still shows 2.45-2.50.

                                gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #120

                                @achurak1 do you know you could modify the pir sensor to work directly from batteries by removing the regulator?

                                A 1 Reply Last reply
                                0
                                • gohanG gohan

                                  @achurak1 do you know you could modify the pir sensor to work directly from batteries by removing the regulator?

                                  A Offline
                                  A Offline
                                  achurak1
                                  wrote on last edited by
                                  #121

                                  @gohan - I tried to connect the 3.3v to one of the three pins where you'd usually put a jumper (H, L pads) as I've seen people discussing it on this forum and it just didn't work for me, the sensor did work, but very unstable, would fire up every time radio sends or receives something.

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

                                    Because you need to add an extra AA battery to increase voltage to around 4,5v just for the pir sensor

                                    A 1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      Because you need to add an extra AA battery to increase voltage to around 4,5v just for the pir sensor

                                      A Offline
                                      A Offline
                                      achurak1
                                      wrote on last edited by achurak1
                                      #123

                                      @gohan - not sure how exactly it answers my question? I thought you meant I could run the pir from 3.3v. I could plug everything to an outlet and don't worry about the batteries at all. The pir works perfectly from two batteries and the 5v booster, so why would I want to add more batteries and make the whole thing much bigger?

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

                                        I was just saying that without regulators/boosters you can still make a working sensor and get a better battery life. If you don't mind battery life or you can make an outlet powered sensor, of course it makes not much sense.

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

                                          Im doing a new revision here with RFM69 support.
                                          I never used the RFM69 though - is there anything I should take in mind?

                                          • Is it the same with IRQ as Nrf24l01+ - not used, but good to have ie. should i have a jumper so the user can connect IRQ ?
                                          • The antenna, is it enough with a jumper/hole so the user can solder a antenna of their own? Or is the trace/trace-length also included as the antenna?

                                          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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          18

                                          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