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 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.
  • M Mr_sensor

    @sundberg84 0_1519738543082_IMG_6049.jpg
    0_1519738618518_IMG_6041.jpg

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

    @mr_sensor looks right. Upload a sketch without MySensors from the temp library

    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 looks right. Upload a sketch without MySensors from the temp library

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

      @sundberg84 I run the "single" sketch from temp library and this is what I get:

      Dallas Temperature IC Control Library Demo
      Locating devices...Found 0 devices.
      Parasite power is: OFF
      Unable to find address for Device 0
      Device 0 Address: 0000000000000000
      Device 0 Resolution: 0
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      Requesting temperatures...DONE
      Temp C: -127.00 Temp F: -196.60
      
      dbemowskD sundberg84S 3 Replies Last reply
      0
      • M Mr_sensor

        @sundberg84 I run the "single" sketch from temp library and this is what I get:

        Dallas Temperature IC Control Library Demo
        Locating devices...Found 0 devices.
        Parasite power is: OFF
        Unable to find address for Device 0
        Device 0 Address: 0000000000000000
        Device 0 Resolution: 0
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        Requesting temperatures...DONE
        Temp C: -127.00 Temp F: -196.60
        
        dbemowskD Offline
        dbemowskD Offline
        dbemowsk
        wrote on last edited by
        #545

        @mr_sensor Lets see your code

        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
        • M Mr_sensor

          @sundberg84 I run the "single" sketch from temp library and this is what I get:

          Dallas Temperature IC Control Library Demo
          Locating devices...Found 0 devices.
          Parasite power is: OFF
          Unable to find address for Device 0
          Device 0 Address: 0000000000000000
          Device 0 Resolution: 0
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          Requesting temperatures...DONE
          Temp C: -127.00 Temp F: -196.60
          
          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #546

          @mr_sensor ok, so either it's not wired correctly (but it looks good), or it's a sensor failure or it's a failure between the sensor and the Arduino.

          You can try to measure continuity from sensor to VCC / Gnd and D3 on the atmega.

          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 Mr_sensor

            @sundberg84 I run the "single" sketch from temp library and this is what I get:

            Dallas Temperature IC Control Library Demo
            Locating devices...Found 0 devices.
            Parasite power is: OFF
            Unable to find address for Device 0
            Device 0 Address: 0000000000000000
            Device 0 Resolution: 0
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            Requesting temperatures...DONE
            Temp C: -127.00 Temp F: -196.60
            
            dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #547

            @mr_sensor And show a pic of the bottom of the board with the sensor.

            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/

            M 1 Reply Last reply
            0
            • dbemowskD dbemowsk

              @mr_sensor And show a pic of the bottom of the board with the sensor.

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

              @dbemowsk said in 💬 Easy/Newbie PCB for MySensors:

              @mr_sensor And show a pic of the bottom of the board with the sensor.

              0_1519755501591_IMG_6065.jpg

              sundberg84S 1 Reply Last reply
              0
              • M Mr_sensor

                @dbemowsk said in 💬 Easy/Newbie PCB for MySensors:

                @mr_sensor And show a pic of the bottom of the board with the sensor.

                0_1519755501591_IMG_6065.jpg

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

                @mr_sensor 0_1519760085713_8ada5e42-8df3-4a17-8cd2-7f3f515b7d01-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
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #550

                  In general I'd say that more soldering practice is needed 😅

                  M 1 Reply Last reply
                  0
                  • gohanG gohan

                    In general I'd say that more soldering practice is needed 😅

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

                    @gohan Not a solder problem I think. This is no short on the board it is just the angel of the picture hiding the gap underneath. :)
                    tried the same set-up with an other dallas sensor. still the same result.

                    sundberg84S Nca78N 2 Replies Last reply
                    0
                    • M Mr_sensor

                      @gohan Not a solder problem I think. This is no short on the board it is just the angel of the picture hiding the gap underneath. :)
                      tried the same set-up with an other dallas sensor. still the same result.

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

                      @mr_sensor - still, very strange. I have the exact same setup and it works without issues.
                      Try to do a continuity test between the middle pin of the sensor (touch the leg, not any solder-point) and D3 on the atmega328 chip (Do not power the node while doing this).

                      0_1519810011892_1e9fc234-81eb-4f75-8028-08965b242be0-image.png0_1519810472076_a3464956-8e9d-429c-bef4-8612b6e8a321-image.png

                      Try to do the same continuity test between the middle leg on the sensor and GND + VCC on the PCB.

                      Also, please report back the voltage between VCC and GND on the sensor. (Same, measure on the legs)
                      0_1519810190951_740a8a17-9bbd-43cd-bdc1-07e9baa5fe19-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

                      M 1 Reply Last reply
                      0
                      • RFM69R Offline
                        RFM69R Offline
                        RFM69
                        wrote on last edited by
                        #553

                        feeding too much solder into the joint before you've heated up both sides, and melting the solder on the iron instead of the pins or board before those parts are hot enough.

                        1 Reply Last reply
                        0
                        • M Mr_sensor

                          @gohan Not a solder problem I think. This is no short on the board it is just the angel of the picture hiding the gap underneath. :)
                          tried the same set-up with an other dallas sensor. still the same result.

                          Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by
                          #554

                          @mr_sensor said in 💬 Easy/Newbie PCB for MySensors:

                          @gohan Not a solder problem I think. This is no short on the board it is just the angel of the picture hiding the gap underneath. :)
                          tried the same set-up with an other dallas sensor. still the same result.

                          Still you should read and watch a few videos on YouTube about how to make good solder joints, because your board is not really pretty at the moment ;)
                          It's not difficult to make proper "volcano" shaped solder joints when you have learnt the few tricks you need, and it avoids a lot of hair pulling!

                          1 Reply Last reply
                          1
                          • sundberg84S sundberg84

                            @mr_sensor - still, very strange. I have the exact same setup and it works without issues.
                            Try to do a continuity test between the middle pin of the sensor (touch the leg, not any solder-point) and D3 on the atmega328 chip (Do not power the node while doing this).

                            0_1519810011892_1e9fc234-81eb-4f75-8028-08965b242be0-image.png0_1519810472076_a3464956-8e9d-429c-bef4-8612b6e8a321-image.png

                            Try to do the same continuity test between the middle leg on the sensor and GND + VCC on the PCB.

                            Also, please report back the voltage between VCC and GND on the sensor. (Same, measure on the legs)
                            0_1519810190951_740a8a17-9bbd-43cd-bdc1-07e9baa5fe19-image.png

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

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


                                          11

                                          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