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. My Project
  3. My own board (50mm x 30mm)

My own board (50mm x 30mm)

Scheduled Pinned Locked Moved My Project
133 Posts 22 Posters 94.1k Views 21 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.
  • GertSandersG Offline
    GertSandersG Offline
    GertSanders
    Hardware Contributor
    wrote on last edited by GertSanders
    #116

    @BartE answered perfectly. You can leave out C5,C6 and XTAL if you use the internal oscillator. C9 is for the NRF24, no matter if you use NR1 or nR2 socket. And yes, you only need 1 socket, so if you use NR1, no need to add NR2 (and vice versa).
    Socket NR2 is for the longer (and power amplified) radio with external antenna, NR1 was intended for the standard NRF24L01+ with PCB antenna.
    C2 decouples AVCC (the analog power input), just as C1 decouples the VCC (digital) power input. C3 stabilises the analog reference input. If you do not use the analog->digital conversion, you could skip C3 as well.

    I also do not use standard 28 pin sockets, but strip sockets just like BartE.
    In the image here I used a standard socket, but cut away the middle "bridge" to allow mounting the decoupling capacitors.

    https://www.openhardware.io/uploads/568faa0cbaba42246aa57103/image/IMG_7527.jpg

    In the image below I use the strips BartE mentioned:

    https://www.openhardware.io/uploads/568faa0cbaba42246aa57103/image/IMG_7686.jpg

    More images and details are here:

    https://www.openhardware.io/view/5/Battery-based-atmega328p-sensor-no-SMD

    1 Reply Last reply
    1
    • rmtuckerR Offline
      rmtuckerR Offline
      rmtucker
      wrote on last edited by
      #117

      I am pulling out what hair i have left.
      All i am getting is this:-
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      Init complete, id=253, parent=255, distance=255
      Battery:3.161 Batt%:90 Temperature:21.73C Humidity:56%
      find parent
      send: 253-253-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:

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

        Node 253 tries to connect and fint its way to the gateway (find parent) but doesnt get any respons.
        Do you have a working gateway - what does the gateway log looks like?

        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
        • rmtuckerR Offline
          rmtuckerR Offline
          rmtucker
          wrote on last edited by
          #119

          Yes the gateway has been working fine.
          I will connect the gateway back up to the computer and see what it is saying and let you know.

          1 Reply Last reply
          0
          • GertSandersG Offline
            GertSandersG Offline
            GertSanders
            Hardware Contributor
            wrote on last edited by
            #120

            Which controller are you using?

            1 Reply Last reply
            0
            • rmtuckerR Offline
              rmtuckerR Offline
              rmtucker
              wrote on last edited by
              #121

              Sorry Guys seems the aerial was not tight enough on the Gateway,All working great now.

              1 Reply Last reply
              1
              • rmtuckerR Offline
                rmtuckerR Offline
                rmtucker
                wrote on last edited by
                #122

                Hmm thats a little worrying,Both sensors are not enclosed sitting in fresh air next to each other.
                10% away from each other seems a lot.
                I am awaiting a delivery of more SI7021 sensors let's see where that takes us??
                0_1454372709451_Screenshot from 2016-02-02 00:21:23.jpg

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  gloob
                  wrote on last edited by
                  #123

                  Are these identical sensors?

                  I have 10 sensebender micros with a SI7021 sensor and they show completely the same values.

                  1 Reply Last reply
                  0
                  • rmtuckerR Offline
                    rmtuckerR Offline
                    rmtucker
                    wrote on last edited by
                    #124

                    No
                    One is an si7021 running on the board in this thread.
                    The other is a HTU21D running on a pro micro that i already had set up and running.

                    1 Reply Last reply
                    0
                    • alexsh1A Offline
                      alexsh1A Offline
                      alexsh1
                      wrote on last edited by
                      #125

                      @GertSanders
                      I have been struggling to upload photos in the openhardware section of your node and I think it is better if we move our discussion here. Take a look at these:

                      0_1456851220108_2016-02-29 13.20.24.jpg

                      0_1456851230641_2016-02-29 13.22.06.jpg

                      This is my answer to the problem, but I think we can have a neater solution by having jumpers deciding on SDA/SDL pin out ?

                      GertSandersG 1 Reply Last reply
                      0
                      • alexsh1A alexsh1

                        @GertSanders
                        I have been struggling to upload photos in the openhardware section of your node and I think it is better if we move our discussion here. Take a look at these:

                        0_1456851220108_2016-02-29 13.20.24.jpg

                        0_1456851230641_2016-02-29 13.22.06.jpg

                        This is my answer to the problem, but I think we can have a neater solution by having jumpers deciding on SDA/SDL pin out ?

                        GertSandersG Offline
                        GertSandersG Offline
                        GertSanders
                        Hardware Contributor
                        wrote on last edited by
                        #126

                        @alexsh1 There is indeed a better solution, the next version of this board will allow swapping the I2C data and clock pins :-)

                        alexsh1A rmtuckerR 2 Replies Last reply
                        0
                        • GertSandersG GertSanders

                          @alexsh1 There is indeed a better solution, the next version of this board will allow swapping the I2C data and clock pins :-)

                          alexsh1A Offline
                          alexsh1A Offline
                          alexsh1
                          wrote on last edited by
                          #127

                          @GertSanders
                          Other than that I have not been using the JST connector - this may save some space unless you want to leave it as a power backup. I never used the second row pins (behind the FTDI connection) and some of them are not accessible if using a sensor connected via I2C.

                          1 Reply Last reply
                          0
                          • GertSandersG GertSanders

                            @gloob There are two connections on the board to allow soldering the battery holder. Both the AA and AAA versions I use have the same pin spacing (seems standard), so you can use an AA battery holder as @alexsh1 does, or an AAA as I have.

                            http://forum.mysensors.org/uploads/files/1446751714416-image.jpeg

                            The red arrows show where the batteryholder pins should go. If you have individual AAA battery holders, then the pins surrounded by yellow circle are also used to connect the batteries in series. If the battery holder holds 2 batteries, then only the pins pointed to by red arrows are used.

                            batteryholderconnections.jpg

                            The PLUS sign next the the pin on the lower right of the above image is for the LED, the polarity of the pins from the battery is marked on the silkscreen of the bottom side. Looking at it from the top side, the pin above right is for Positive, the pin on below right is for Negative (or GND).

                            Jumper J2 is to connect the IRQ pin from the NRF24 to pin 2 (INT0) of the atmega328. You could also use that to connect a switch between the top jumper pad (connected to pin 2) and the extra ground pin of C5, to use with a doorswitch. I have used this with the internal pull up, but that would not be very good for the battery-use. It is better to use a 1MOhm pull up resistor wich can also be connected using the extra hole connected to pin 2 and Vcc

                            rmtuckerR Offline
                            rmtuckerR Offline
                            rmtucker
                            wrote on last edited by rmtucker
                            #128
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • GertSandersG GertSanders

                              @alexsh1 There is indeed a better solution, the next version of this board will allow swapping the I2C data and clock pins :-)

                              rmtuckerR Offline
                              rmtuckerR Offline
                              rmtucker
                              wrote on last edited by
                              #129

                              @GertSanders
                              I have been running these boards for some time now and overall very easy and compact.
                              And battery life on 2 AA batteries is years.
                              But i still have problems with deadspots in the house etc.
                              So i thought i would try changing the radio's to rfm69w and make another serial gateway with an rfm69hw.
                              I have received some of the hallard nrf to rfm adapter boards which i believe can be plugged straight in
                              What i would like to know is,Would it be ok to use one of these boards as a serial gateway with an ftdi adapter?
                              I am using the board barebones with no external crystal etc at 8mhz.(would this be a problem for a gateway?).

                              This would save on a lot of wiring (Level shifters etc).

                              alexsh1A 1 Reply Last reply
                              0
                              • rmtuckerR rmtucker

                                @GertSanders
                                I have been running these boards for some time now and overall very easy and compact.
                                And battery life on 2 AA batteries is years.
                                But i still have problems with deadspots in the house etc.
                                So i thought i would try changing the radio's to rfm69w and make another serial gateway with an rfm69hw.
                                I have received some of the hallard nrf to rfm adapter boards which i believe can be plugged straight in
                                What i would like to know is,Would it be ok to use one of these boards as a serial gateway with an ftdi adapter?
                                I am using the board barebones with no external crystal etc at 8mhz.(would this be a problem for a gateway?).

                                This would save on a lot of wiring (Level shifters etc).

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #130

                                @rmtucker I'm using rfm69w with @GertSanders board (I think it is v1-1) via the same adapter you ordered. You need to solder IRQ pad in order for the board to work with rfm69. I tried to compile both a gateway and a sensor code and it worked. No need to have a crystal if you have the right bootloader on atmega328p. With or without crystal does not matter for radio. Radio has got its own crystal

                                rmtuckerR 1 Reply Last reply
                                1
                                • alexsh1A alexsh1

                                  @rmtucker I'm using rfm69w with @GertSanders board (I think it is v1-1) via the same adapter you ordered. You need to solder IRQ pad in order for the board to work with rfm69. I tried to compile both a gateway and a sensor code and it worked. No need to have a crystal if you have the right bootloader on atmega328p. With or without crystal does not matter for radio. Radio has got its own crystal

                                  rmtuckerR Offline
                                  rmtuckerR Offline
                                  rmtucker
                                  wrote on last edited by
                                  #131

                                  @alexsh1 said:

                                  @rmtucker I'm using rfm69w with @GertSanders board (I think it is v1-1) via the same adapter you ordered. You need to solder IRQ pad in order for the board to work with rfm69. I tried to compile both a gateway and a sensor code and it worked. No need to have a crystal if you have the right bootloader on atmega328p. With or without crystal does not matter for radio. Radio has got its own crystal

                                  Wonderful just what I wanted too hear.
                                  But could you elaborate on the irq soldering?

                                  alexsh1A 1 Reply Last reply
                                  0
                                  • rmtuckerR rmtucker

                                    @alexsh1 said:

                                    @rmtucker I'm using rfm69w with @GertSanders board (I think it is v1-1) via the same adapter you ordered. You need to solder IRQ pad in order for the board to work with rfm69. I tried to compile both a gateway and a sensor code and it worked. No need to have a crystal if you have the right bootloader on atmega328p. With or without crystal does not matter for radio. Radio has got its own crystal

                                    Wonderful just what I wanted too hear.
                                    But could you elaborate on the irq soldering?

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by
                                    #132

                                    @rmtucker just check out how to connect rfm69 to atmega328. @GertSanders luckily designed the board to be universal- there is a solder pad to connect D2 to IRQ, which you need to solder to use rfm69

                                    GertSandersG 1 Reply Last reply
                                    0
                                    • alexsh1A alexsh1

                                      @rmtucker just check out how to connect rfm69 to atmega328. @GertSanders luckily designed the board to be universal- there is a solder pad to connect D2 to IRQ, which you need to solder to use rfm69

                                      GertSandersG Offline
                                      GertSandersG Offline
                                      GertSanders
                                      Hardware Contributor
                                      wrote on last edited by
                                      #133

                                      @alexsh1
                                      Indeed, there is a solderpad near to the D2 pin which needs to be closed (connected) to allow the IRQ signal to go to D2, so one can use the radio

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      10

                                      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