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

    have you tried all your setup on a breadboard?

    1 Reply Last reply
    0
    • M Mr_sensor

      @sundberg84 I did measure some things. Also replaced the arduino to be sure that it was working (did nt make a difference)

      I found 3,3 volt between vcc and gnd on the sensor. Also between the data-pin of the sensor and the arduino there is continuity.
      The middle leg on the sensor and GND + VCC on the PCB is not resulting in any continuity(I am not really sure if I did measure it in the right way. It is a bit hard to get gnd + vcc on the multimeter pin together).

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

      @mr_sensor - ok, then we can exclude PCB and wiring issues. Next is either software or sensor/pro mini failure. I would re-install the library or try anohter one as first thing to do because you said you have tried another sensor and pro mini right?

      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

        @mr_sensor - ok, then we can exclude PCB and wiring issues. Next is either software or sensor/pro mini failure. I would re-install the library or try anohter one as first thing to do because you said you have tried another sensor and pro mini right?

        M Offline
        M Offline
        Mr_sensor
        wrote on last edited by
        #558

        @sundberg84 I tried with other libraries, without success. Also changed the sensor for a new one, without any success. Only thing that made me wondering, now the sensor is on 3,3 volt? When looking at the net for samples, etc. some of them refer to 5volt? So could that be the problem here? Not providing 5 volt to the sensor?

        sundberg84S 1 Reply Last reply
        0
        • M Mr_sensor

          @sundberg84 I tried with other libraries, without success. Also changed the sensor for a new one, without any success. Only thing that made me wondering, now the sensor is on 3,3 volt? When looking at the net for samples, etc. some of them refer to 5volt? So could that be the problem here? Not providing 5 volt to the sensor?

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

          @mr_sensor - no 3.3v is enough:

          0_1520259286284_05be0ac6-fb03-47f8-9938-df9e8b13b156-image.png

          This is really strange... can you confirm it is the right markings on your TO-92 package (actually a temp sensor)?

          0_1520259592581_a2305f4d-04cd-4a60-8bfb-057e3bbbb4fe-image.png

          You could try changing the pin to exclude a pro mini failure (if you have not swapped that one already)

          #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
          #define MAX_ATTACHED_DS18B20 16

          You can also test my Ds18b20 code from here but you need to change from RFM69 radio to Nrf24l01+ radio,
          https://github.com/sundberg84/HomeAutomation/blob/master/Sketches MySensors RFM69 radio/RFM_BeerCooler_Temp/RFM_BeerCooler_Temp.ino

          I would also try a bare pro mini + the temp sensor + resistor on a breadboard powered with 3.3v from ftdi adapter.

          I also need you to doublecheck the resistance on that pull-up resistor:
          0_1520260014260_40ed22d0-e2b3-4a27-8a35-2ce7a9648688-image.png

          Im having a hard time to see the exact colors but it that is Yellow, Brown, Gold, Gold that means you have a 4.1 ohm resistor to VCC which is pretty much a short and might have broken the temp sensor. Use a 10k or 56k.

          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

          zboblamontZ M 2 Replies Last reply
          0
          • sundberg84S sundberg84

            @mr_sensor - no 3.3v is enough:

            0_1520259286284_05be0ac6-fb03-47f8-9938-df9e8b13b156-image.png

            This is really strange... can you confirm it is the right markings on your TO-92 package (actually a temp sensor)?

            0_1520259592581_a2305f4d-04cd-4a60-8bfb-057e3bbbb4fe-image.png

            You could try changing the pin to exclude a pro mini failure (if you have not swapped that one already)

            #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
            #define MAX_ATTACHED_DS18B20 16

            You can also test my Ds18b20 code from here but you need to change from RFM69 radio to Nrf24l01+ radio,
            https://github.com/sundberg84/HomeAutomation/blob/master/Sketches MySensors RFM69 radio/RFM_BeerCooler_Temp/RFM_BeerCooler_Temp.ino

            I would also try a bare pro mini + the temp sensor + resistor on a breadboard powered with 3.3v from ftdi adapter.

            I also need you to doublecheck the resistance on that pull-up resistor:
            0_1520260014260_40ed22d0-e2b3-4a27-8a35-2ce7a9648688-image.png

            Im having a hard time to see the exact colors but it that is Yellow, Brown, Gold, Gold that means you have a 4.1 ohm resistor to VCC which is pretty much a short and might have broken the temp sensor. Use a 10k or 56k.

            zboblamontZ Offline
            zboblamontZ Offline
            zboblamont
            wrote on last edited by zboblamont
            #560

            @sundberg84 Coincidentally I yesterday had a FTDI powered 3v3 Pro-Mini hooked to a RJ11 socket to test and retrieve addresses using the OneWire.h from two plugged DS18B20 devices to add to those in the chain here already, the resistor was 4k7. The chain of now 12 devices also uses a 4k7 and continues to work flawlessly.

            1 Reply Last reply
            1
            • sundberg84S sundberg84

              @mr_sensor - no 3.3v is enough:

              0_1520259286284_05be0ac6-fb03-47f8-9938-df9e8b13b156-image.png

              This is really strange... can you confirm it is the right markings on your TO-92 package (actually a temp sensor)?

              0_1520259592581_a2305f4d-04cd-4a60-8bfb-057e3bbbb4fe-image.png

              You could try changing the pin to exclude a pro mini failure (if you have not swapped that one already)

              #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
              #define MAX_ATTACHED_DS18B20 16

              You can also test my Ds18b20 code from here but you need to change from RFM69 radio to Nrf24l01+ radio,
              https://github.com/sundberg84/HomeAutomation/blob/master/Sketches MySensors RFM69 radio/RFM_BeerCooler_Temp/RFM_BeerCooler_Temp.ino

              I would also try a bare pro mini + the temp sensor + resistor on a breadboard powered with 3.3v from ftdi adapter.

              I also need you to doublecheck the resistance on that pull-up resistor:
              0_1520260014260_40ed22d0-e2b3-4a27-8a35-2ce7a9648688-image.png

              Im having a hard time to see the exact colors but it that is Yellow, Brown, Gold, Gold that means you have a 4.1 ohm resistor to VCC which is pretty much a short and might have broken the temp sensor. Use a 10k or 56k.

              M Offline
              M Offline
              Mr_sensor
              wrote on last edited by
              #561

              @sundberg84 Ok did try with just the bare pro mini + the temp sensor + resistor on a breadboard powered with 3.3v from ftdi adapter.
              And guess what? Than I get the temperature reading :) So why is it not working on the board than? I Will check the soldering again and see if I can solder a new board.

              Dallas Temperature IC Control Library Demo
              Locating devices...Found 1 devices.
              Parasite power is: OFF
              Device 0 Address: 28FF5849011704D8
              Device 0 Resolution: 9
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE
              Temp C: 21.00 Temp F: 69.80
              Requesting temperatures...DONE ```
              
              So both sensor and arduino are working?
              1 Reply Last reply
              0
              • sundberg84S Offline
                sundberg84S Offline
                sundberg84
                Hardware Contributor
                wrote on last edited by
                #562

                Promising! Then you know that hardware is ok... you just have to continue debugging.
                Use the same hardware and software for the PCB. It should work just fine! (I have several working for years now).

                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
                • simboS Offline
                  simboS Offline
                  simbo
                  wrote on last edited by
                  #563

                  Hi All,

                  Thanks Sundberg84 for creating a board where I can knock out sensors in the matter of minutes instead of hours. :)

                  That being said, I actually spent many hours on the weekend trying to get my first board to work so I thought that I'd share so it could benefit others.

                  I was setting up a 3v3 board with 2 x AA batteries with the battery pad jumpered and using the 3v3 booster. I triple checked the board for continuity.

                  I was suffering from !TSM:FPAR:FAIL messages when firing up the node using the FTDI adaptor. I found that the board didn't work when both the battery and FTDI were supplying power.

                  Here are my lessons:

                  • You need to have a battery connected. This is required to power the radio, as it radio isn't powered by the FTDI adapter
                  • You need to remove power from the FTDI adapter. I couldn't disable power on my FTDI adapter so I had to use jumper wires for CTS, DTR, RXD, TXD, and GND between the adapter and the ProMini.

                  Thanks again, and I look forward to knocking out some nodes super quick.

                  Cheers,
                  Simon.

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

                    @dbemowsk what I'm worried about is the booster so close to the radio. What do you think @dbemowsk @scalz @Nca78 ?

                    alt text

                    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

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

                      how about swapping the Extra and Booster section? It makes it cleaner to connect the extra pins to the pro mini.

                      dbemowskD 1 Reply Last reply
                      0
                      • sundberg84S sundberg84

                        @dbemowsk what I'm worried about is the booster so close to the radio. What do you think @dbemowsk @scalz @Nca78 ?

                        alt text

                        scalzS Offline
                        scalzS Offline
                        scalz
                        Hardware Contributor
                        wrote on last edited by
                        #566

                        @sundberg84 i think you already know the answer 😉 (not great regarding emi radiation for example,especially with cheap regulators and inductors.., one downside of relying on external parts,modules but i know your point it's for noobs..)
                        I seem to see another thing for your nrf ant, not sure if your nrf 24 goes outside the pcb,if it doesn't then this means you have gnd pour under the ant, not great too in this case

                        1 Reply Last reply
                        0
                        • gohanG gohan

                          how about swapping the Extra and Booster section? It makes it cleaner to connect the extra pins to the pro mini.

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

                          @gohan & @sundberg84 For that matter, what about just swapping the Bat.measurer and the booster. You are going to get interference with the inductor being directly next to the antenna.

                          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 Offline
                            sundberg84S Offline
                            sundberg84
                            Hardware Contributor
                            wrote on last edited by sundberg84
                            #568

                            Thanks guys! (@scalz @gohan @dbemowsk !)
                            I think I will relocate the booster... should have thought about that before.
                            The NRF antenna goes outside the PCB just like rev 9 so no ground plain for the antenna in normal cases. I might revert it back to allow the PCB to be in range for all directions. Good point.

                            I will start with to swap extra and booster to get as much space in between the antenna and inductor.

                            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
                            2
                            • sundberg84S Offline
                              sundberg84S Offline
                              sundberg84
                              Hardware Contributor
                              wrote on last edited by
                              #569

                              Something like this...

                              0_1521917114887_7092eb47-33ac-4a9c-baf9-c3fd3cd5c658-image.png

                              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
                              1
                              • dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #570

                                Would something like this be possible? It would give users that little bit of extra room in the proto area.
                                0_1521918858785_911e7f1a-5943-4a40-a49c-e99853681070-image.png

                                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
                                • sundberg84S Offline
                                  sundberg84S Offline
                                  sundberg84
                                  Hardware Contributor
                                  wrote on last edited by
                                  #571

                                  Hi all!

                                  This has now been update to Rev 10.
                                  New revision has been sent to PCB manufacturer but It will take some days for them to update their Gerber. (When you order, make sure it says M.Rev 6!

                                  0_1528107591933_8daa3f55-a3e9-456a-86fe-cbb70d43c8fd-image.png

                                  Openhardware page has been updated, let me know if you find anything strange.

                                  RFM69 version will be updated soon as well.

                                  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
                                  4
                                  • A Offline
                                    A Offline
                                    APL2017
                                    wrote on last edited by
                                    #572

                                    Can you please share design of version 9 of the Easy PCB NRF24 edition. I bought 10 pieces a while ago but just decided to use couple. Thank you.

                                    sundberg84S 1 Reply Last reply
                                    0
                                    • A APL2017

                                      Can you please share design of version 9 of the Easy PCB NRF24 edition. I bought 10 pieces a while ago but just decided to use couple. Thank you.

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

                                      @apl2017 what kind of info are you looking for ? Schematics ?

                                      0_1528351654852_Rev9 Schem.jpg

                                      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
                                      • A Offline
                                        A Offline
                                        APL2017
                                        wrote on last edited by
                                        #574

                                        Just schematic and board layout, exactly what you placed, if possible in a bit better resolution. Thanks a lot!

                                        sundberg84S 1 Reply Last reply
                                        0
                                        • A APL2017

                                          Just schematic and board layout, exactly what you placed, if possible in a bit better resolution. Thanks a lot!

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

                                          @apl2017 traveling for my work until next week but will post 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


                                          22

                                          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