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.
  • 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
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #126

                                    The problem with rfm69 is that they work on 3 different frequencies, so you have to choose which frequency you want to support. I'm not sure if the correct length for the 433mhz is good also for the 866mhz. Let's hope somebody more expert shows up 😀

                                    sundberg84S 1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      The problem with rfm69 is that they work on 3 different frequencies, so you have to choose which frequency you want to support. I'm not sure if the correct length for the 433mhz is good also for the 866mhz. Let's hope somebody more expert shows up 😀

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

                                      @gohan - You mean with the antenna? (But the footprint is the same?)
                                      Well, if the trace isnt added to the lenght of the antenna and I add a through-hole the user can just add what kind of lenght they want?

                                      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
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #128

                                        The trace adds up to the antenna lengths for what I have seen so far, so I'd say to play safe and leave a hole where to solder the wire antenna or even better if it's near the edge of the pcb you could design a place to mount a sma connector for a real antenna. What do you think?

                                        sundberg84S 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          The trace adds up to the antenna lengths for what I have seen so far, so I'd say to play safe and leave a hole where to solder the wire antenna or even better if it's near the edge of the pcb you could design a place to mount a sma connector for a real antenna. What do you think?

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

                                          @gohan - the problem is then if you buy a antenna from ebay with the right length. Added to the PCB trace the length will not match. I have to make the antenna hole as close as possible to the module then.

                                          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


                                          8

                                          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