Skip to content
  • 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
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 Easy/Newbie PCB for MySensors

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsbatteryeasynewbiepcbmysx
716 Posts 111 Posters 305.9k 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.
  • EmeE Eme

    @sundberg84 Yes you are right I meant to say ProMini not Nano - I have 18 of these PCB - not so happy I have to solder directly to the Arduino - that's exactly what I was avoiding in the first place. Do you have a good relay block sketch that works? Much appreciated if you can help.

    One last thing, I am trying to run a node off a 12Volts battery, can you explain this image below again?

    • Will this work for a 5V Promini?
    • What are the blue lines? and
    • what are the red lines?

    0_1555369081866_EasyPCBimage.png

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

    @eme - its is very strange - I have a big batch here with Rev 10 and i checked atleast 20 of them randomly and all have continutiy between D6/pro mini and D6/MysX. You must have had extreme bad luck and if you check the others it should be ok.

    Can you post a picture (close up) of the board not working please showing D6/Pro mini and D6/MysX.

    For 12v I would use the prototyping area with a 12 > 5v converter. If you want to use the internal voltage regulator on the pro mini you can connect to RAW but beware that clones will not handle this very good. The specs are 12v but I have seen many bad clones getting destroyed.

    I dont really remember this image and from which context this is from. I guess the lines represent different voltages. Adding 12V on reg and a 12>5v regulator on the TO92 footprint will convert and feed the board 5v, but kill the radio...

    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
      mickecarlsson
      wrote on last edited by mickecarlsson
      #662

      I just checked my batch of Rev 10, random check of the batch checked out OK. I have 20 boards.

      1 Reply Last reply
      1
      • J Offline
        J Offline
        JPM
        wrote on last edited by
        #663

        Dear sundberg84, thanks to your really nice and easy mysensors PCB. I ordered ten of them via SEEED and they were delivered today (REV.10). Unfortunally I found some serious bugs in the PCB design regarding the SPI Flash: First pin 6 (SPI SCK) of the flash chip is not connected at all - should be digital IO pin 13 of the Arduino pro mini. Second mistake: the filter capacitor of the flash chip is not between VCC and GND. Third mistake: pin 3 and pin 7 should be connected to VCC and not to the filter capacitor. I changed that on my arrived boards and the flash chip is now working perfectly. Kind regards, JPM

        1 Reply Last reply
        2
        • M Offline
          M Offline
          mickecarlsson
          wrote on last edited by
          #664

          I checked the schematic, and:
          First mistake: Seems that the schematic is OK, the label for SCK (pin 6) is connected to physical pin 16 which is PCINT13 on the Arduino,
          Second mistake: that is a bug, filter capacitor is not connected correctly.
          Third mistake: That is also a bug, pin 7 and 3 should be connected to VCC
          Now I am going to check the PCB, be back shortly,

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mickecarlsson
            wrote on last edited by
            #665

            I have now checked the PCB, and you are right @JPM
            Pin 6 of the flash chip is not connected at all. No wonder I could not get that to work. Strangely is that the schematic is OK.
            Thanks for finding this, I will modify my boards to get them working.

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

              Sorry for this. The flash has been untested by me. I will fix this asap and upload new files.

              The schematics is wrong:

              0_1556740599909_fa86bb19-0e0e-4d42-914a-1a5cd4214135-image.png

              New schematics:

              0_1556740825229_fd5b8945-a250-4d1f-b6e5-041a192190e0-image.png

              The same error goes for RFM version :(

              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 mickecarlsson

                I have now checked the PCB, and you are right @JPM
                Pin 6 of the flash chip is not connected at all. No wonder I could not get that to work. Strangely is that the schematic is OK.
                Thanks for finding this, I will modify my boards to get them working.

                EmeE Offline
                EmeE Offline
                Eme
                wrote on last edited by
                #667

                @mickecarlsson I found this out and wrote it above that D6 is not connected at all... but it was promptly swept aside cos nobody had reported it before now. I am glad someone else saw it, and that you had the notion to check. D4 is also not connected to the test area. I have been connecting directly to the Nano.

                sundberg84S 1 Reply Last reply
                0
                • EmeE Eme

                  @mickecarlsson I found this out and wrote it above that D6 is not connected at all... but it was promptly swept aside cos nobody had reported it before now. I am glad someone else saw it, and that you had the notion to check. D4 is also not connected to the test area. I have been connecting directly to the Nano.

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

                  @eme im sorry - since your wrote "The provisions to attach sensors are not correctly marked. D6 doesn't actually connect to D6 pin on the Arduino" I thought you was talking about the MysX connector and not flash. If you mentioned flash I would probably found the issue. They are not talking about D6 but pin 6 on flash which connects to D13 on the Arduino.

                  Are you sure it's the same problem? Not much that sounds the same.

                  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
                    mickecarlsson
                    wrote on last edited by
                    #669

                    @sundberg84 if you look at the schematic you have connected MySX pin 10 to D2, but according to the spec for the MySX 2.4 it should go to D4.

                    sundberg84S 1 Reply Last reply
                    0
                    • M mickecarlsson

                      @sundberg84 if you look at the schematic you have connected MySX pin 10 to D2, but according to the spec for the MySX 2.4 it should go to D4.

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

                      @mickecarlsson - I understand your point, and I have changed this back and forth and also asked @Anticimex becuase its a but unclear in the documentation.

                      0_1557383122415_e66b877a-1c97-4672-b38e-b6f879788b68-image.png

                      MysX 9 + 10 should go to a Digital IO with interrupt, and D2 and D3 is the only pins with interrupts on mini.

                      I guess you are refering to Mysx_D3_INT but this is the MysX name.

                      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

                      AnticimexA 1 Reply Last reply
                      2
                      • sundberg84S sundberg84

                        @mickecarlsson - I understand your point, and I have changed this back and forth and also asked @Anticimex becuase its a but unclear in the documentation.

                        0_1557383122415_e66b877a-1c97-4672-b38e-b6f879788b68-image.png

                        MysX 9 + 10 should go to a Digital IO with interrupt, and D2 and D3 is the only pins with interrupts on mini.

                        I guess you are refering to Mysx_D3_INT but this is the MysX name.

                        AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by Anticimex
                        #671

                        @sundberg84 @mickecarlsson
                        It is important to remember that MYSX is agnostic from any devices.
                        Any names in MYSX pins bear no correlation to any device specific pin naming, so D3 and D4 mentioned on pin 9 and 10 has nothing to to with any D3 or D4 on any MCU.
                        If you look here, you will find that the 'A' and 'D' notation is simply an indicator of the pin function (analog or digital) and it simply increments with the pin number, so the lowest analog or digital pin number in the MYSX connector will start at '1' and then increment as the pin number increments with '2' for the next digital being on pin '6'.
                        Also note that since some pins are deprecated in MYSX 2.x, MYSX 2.x analog pins starts with 'A3'.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                        1 Reply Last reply
                        2
                        • B Offline
                          B Offline
                          birinderk
                          wrote on last edited by
                          #672

                          I was wondering if there are any CAD files for corner through hole size/locations for Rev 10? Trying to design enclosure for it.

                          dbemowskD sundberg84S 2 Replies Last reply
                          0
                          • B birinderk

                            I was wondering if there are any CAD files for corner through hole size/locations for Rev 10? Trying to design enclosure for it.

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

                            @birinderk SHould be easy enough to measure it with a caliper. That's what I did with the earlier revisions of the board (rev 8 & 9). They had pretty much the same hole spacing. Here are a few of the enclosures/sensor cases that I did that fit the rev 8 and 9's.
                            https://www.thingiverse.com/thing:2186286
                            https://www.thingiverse.com/thing:3339158
                            https://www.thingiverse.com/thing:2904969

                            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
                            • B birinderk

                              I was wondering if there are any CAD files for corner through hole size/locations for Rev 10? Trying to design enclosure for it.

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

                              @birinderk - https://github.com/sundberg84/HomeAutomation/tree/master/MysX template EasyPCB

                              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
                              • markjgabbM Offline
                                markjgabbM Offline
                                markjgabb
                                wrote on last edited by
                                #675

                                Does anyone know where we can find the write ups for old revisions? i have a bunch of Rev9 boards that, now that i have restarted these projects after a year break i cant remember the write ups for them....

                                mfalkviddM 1 Reply Last reply
                                0
                                • markjgabbM markjgabb

                                  Does anyone know where we can find the write ups for old revisions? i have a bunch of Rev9 boards that, now that i have restarted these projects after a year break i cant remember the write ups for them....

                                  mfalkviddM Offline
                                  mfalkviddM Offline
                                  mfalkvidd
                                  Mod
                                  wrote on last edited by
                                  #676

                                  @markjgabb do you mean the stuff in README.md in the zip file that can be downloaded on the revisions tab?

                                  markjgabbM 1 Reply Last reply
                                  0
                                  • mfalkviddM mfalkvidd

                                    @markjgabb do you mean the stuff in README.md in the zip file that can be downloaded on the revisions tab?

                                    markjgabbM Offline
                                    markjgabbM Offline
                                    markjgabb
                                    wrote on last edited by
                                    #677

                                    @mfalkvidd yeh i guess so, not quite what i was after the orignal in that version had some good pictures and such of what went where on the board....do doubt i can work it out from an old dead one i have lying around, was just hoping for a nice visual guide to get me back into it.

                                    mfalkviddM 1 Reply Last reply
                                    0
                                    • markjgabbM markjgabb

                                      @mfalkvidd yeh i guess so, not quite what i was after the orignal in that version had some good pictures and such of what went where on the board....do doubt i can work it out from an old dead one i have lying around, was just hoping for a nice visual guide to get me back into it.

                                      mfalkviddM Offline
                                      mfalkviddM Offline
                                      mfalkvidd
                                      Mod
                                      wrote on last edited by
                                      #678

                                      @markjgabb not sure if this is what you want, but if I paste the contents of the readme into a markdown viewer (for example https://dillinger.io/ ) I get the images:
                                      0_1564395113017_4c0c99a3-6b36-41c9-981b-74a034f26670-image.png

                                      markjgabbM 1 Reply Last reply
                                      1
                                      • mfalkviddM mfalkvidd

                                        @markjgabb not sure if this is what you want, but if I paste the contents of the readme into a markdown viewer (for example https://dillinger.io/ ) I get the images:
                                        0_1564395113017_4c0c99a3-6b36-41c9-981b-74a034f26670-image.png

                                        markjgabbM Offline
                                        markjgabbM Offline
                                        markjgabb
                                        wrote on last edited by
                                        #679

                                        @mfalkvidd ahhhhh That answers my question perfectly....i was just dumping it into notepad ++ ill try that first thing in the morning.

                                        1 Reply Last reply
                                        1
                                        • F Offline
                                          F Offline
                                          fredswed
                                          wrote on last edited by
                                          #680

                                          Hi,

                                          First of all: I really appreciate the simplicity and flexibility of this board!

                                          Now then, I have a problem with battery life which is only around 3 weeks for my DHT22 node and around 8 weeks for my BMP280 node. Both are 3.3V mini clones with NRF24 radios (probably clones) that run on 2xAAA batteries and a booster. I use NodeManager for software and report sensor values in 2 minute intervals. LED and voltage regulator has been desoldered from the Pro Mini.

                                          Why isn't battery life better - am I missing anything obvious?

                                          1. Can/should I remove C2 (10uF) and C3 (0.1uF) capacitors? I added them first but after checking the schematics I now think they are not used at all for the battery/booster setup?

                                          2. What battery life can I expect for a BMP280 on 2xAAA batteries and booster?

                                          3. New batteries report at 3.13V. When the nodes fail, reported battery voltage is around 2.6V. However, when measured I get it to around 1.6V (at no load). This could be a software problem but I include it as a clue. My setup in NodeManager is:

                                          battery.setBatteryPin(0);
                                          battery.setMinVoltage(1.8);
                                          battery.setMaxVoltage(3.1);
                                          

                                          0_1568660005477_EasyPCB-3.3V-BMP280.jpg

                                          sundberg84S Nca78N 2 Replies Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          9

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular