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. RFM69HW temp-humidity node

RFM69HW temp-humidity node

Scheduled Pinned Locked Moved My Project
64 Posts 7 Posters 20.7k Views 9 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 GertSanders

    @NeverDie

    Check the datasheet for the atmega328p-au. It has a section on PCB layout.

    I would go for same width as the actual pins, and make the pads long enough to have space for some solder (when doing it by hand).

    On my stamp size node I also used the smd version and that layout was not difficult to solder when using a fine tip.

    NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #13

    @GertSanders said:

    @NeverDie

    Check the datasheet for the atmega328p-au. It has a section on PCB layout.

    Thanks! I'll give that a look. On my first attempt I just used the default pad layout in the diptrace library for an atmega168 (as it didn't explicitly have one for an atmega328), so I should probably verify that the dimensions are correct.

    I would go for same width as the actual pins, and make the pads long enough to have space for some solder (when doing it by hand).

    There might even be a case for making them a little extra long, if the board real estate allows. I believe there's a solder technique where you add solder to the pads in advance, and if they're extra long you can kinda push it onto the pins after melting it, provided you've also layered a lot of fresh flux everthing, including the pins.

    On my stamp size node I also used the smd version and that layout was not difficult to solder when using a fine tip.

    What kind and size of solder tip do you use?

    GertSandersG 1 Reply Last reply
    0
    • NeverDieN NeverDie

      @GertSanders said:

      @NeverDie

      Check the datasheet for the atmega328p-au. It has a section on PCB layout.

      Thanks! I'll give that a look. On my first attempt I just used the default pad layout in the diptrace library for an atmega168 (as it didn't explicitly have one for an atmega328), so I should probably verify that the dimensions are correct.

      I would go for same width as the actual pins, and make the pads long enough to have space for some solder (when doing it by hand).

      There might even be a case for making them a little extra long, if the board real estate allows. I believe there's a solder technique where you add solder to the pads in advance, and if they're extra long you can kinda push it onto the pins after melting it, provided you've also layered a lot of fresh flux everthing, including the pins.

      On my stamp size node I also used the smd version and that layout was not difficult to solder when using a fine tip.

      What kind and size of solder tip do you use?

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

      @NeverDie
      0.8 mm solder by STANNOL (HS10), packs of 100gr
      The tip is around 0.8mm wide (narrowest tip I could get for my Weller station, I have an old EC2002)

      1 Reply Last reply
      0
      • NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by
        #15

        Thanks, I just ordered Hakko 0.2mm (curved) and 0.5mm (straight conical) tips from amazon. Both got good reviews. Hopefully one of them is a good match for the task, but if not, it's good to know that 0.8mm will do the business.

        1 Reply Last reply
        0
        • NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by
          #16

          I received the board from post #1 in the mail today. I'm planning to mount the atmega328p DIP chip using machine pin female headers. It certainly can do that, but I'm thinking that on the next iteratioin it might be preferable to have the entire machine pin--not just the thinner leader part--go through the PCB, because then the plastic part of the header can be flush with the PCB (as would be the case if more typical female headers were used). Anyone tried doing that? Any reason not to do that?

          1 Reply Last reply
          0
          • NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by
            #17

            So, to clarify, what I mean by a female machine pin header (also known as a Swiss machine pin header) is this:

            alt text

            Unfortunately, the only dimensioning I've been able to find is this:
            alt text
            which lacks the dimension I want to know, which is diameter of the larger pin body that's just above the 0.51mm diameter part of the leader pin that's meant to be pushed through the through-hole.

            Purely eyeballing it, it looks like it's maybe, what, twice as wide? Anyone happen to know what that dimension is?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TimO
              Hero Member
              wrote on last edited by
              #18

              I've one of these at home. I could take a measurement, but maybe someone has a better idea. ☺

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TimO
                Hero Member
                wrote on last edited by
                #19

                1.35 Millimeters!

                NeverDieN 1 Reply Last reply
                0
                • T TimO

                  1.35 Millimeters!

                  NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by
                  #20

                  @TimO
                  Thanks! That exactly matches what my micrometer says also, so I'll go with that.

                  So now the question is: what diameter hole should I have drilled for that? Is there a rule of thumb? e.g. Would 1.45 be too snug? Too loose?

                  NeverDieN 2 Replies Last reply
                  0
                  • NeverDieN NeverDie

                    @TimO
                    Thanks! That exactly matches what my micrometer says also, so I'll go with that.

                    So now the question is: what diameter hole should I have drilled for that? Is there a rule of thumb? e.g. Would 1.45 be too snug? Too loose?

                    NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by NeverDie
                    #21

                    To keep things rolling I just sent in to be fabricated a test board with 1.45mm holes . It cost just 30 cents. If anyone has an idea for a better diameter to try, let me know and I'll send in one of those as well.

                    0_1475705885671_1p45mmHoles.png

                    NeverDieN 1 Reply Last reply
                    0
                    • NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #22

                      I assembled the FTDI adapter board yesterday. I should have spaced the pads further apart on the switch (well, at least for the switch I'm using) and also on the through-hole resistors. Anyhow, I only need one, so I don't think I'll be updating it.

                      1 Reply Last reply
                      0
                      • NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by
                        #23

                        I assembled the first node from post #1 today, but it didn't work. Upon investigation, I found that one of the required traces was not there! I had generated the trace layout using diptraces auto-router, and it didn't indicate a failure. Most likely I over-constrained the problem by making the PCB board size smaller than I should have. However, if I had known that the auto-routing had failed, I could have relaxed that enough for it to succeed.

                        1 Reply Last reply
                        0
                        • NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by NeverDie
                          #24

                          So, I was able to make the board work by soldering on a single "oops" wire to compensate for the missing trace. I guess I'll be redoing this board so that's not required on future builds. The FTDI adapter board also had an oops that I fixed without much difficulty. Using the adapter board I've verified I can upload new sketches to the node from post #1. The reset button also works as intended. So, the adapter board feasibility is now proven.

                          1 Reply Last reply
                          1
                          • NeverDieN Offline
                            NeverDieN Offline
                            NeverDie
                            Hero Member
                            wrote on last edited by NeverDie
                            #25

                            I took a shot at soldering the smaller board with the much tinier atmega328p, but for now I've concluded that hand soldering such a small chip is simply more work than it's worth. Perhaps with a reflow oven....

                            I'm still waiting for the interstitial board to arrive.

                            NeverDieN 1 Reply Last reply
                            0
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by
                              #26

                              Soldering an atmega328 smt is easy:
                              https://www.youtube.com/watch?v=UeCZ9AMG3Vo
                              according to that guy, anyway. Maybe the longer pads makes it so?

                              1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                I took a shot at soldering the smaller board with the much tinier atmega328p, but for now I've concluded that hand soldering such a small chip is simply more work than it's worth. Perhaps with a reflow oven....

                                I'm still waiting for the interstitial board to arrive.

                                NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by
                                #27

                                This has a lot of detail about soldering the atmega328 surface mount:
                                https://www.youtube.com/watch?v=-yc3zEe0RA0
                                So, though it's obviously doable, I still wouldn't say it's "easy."

                                NeverDieN 1 Reply Last reply
                                0
                                • NeverDieN NeverDie

                                  This has a lot of detail about soldering the atmega328 surface mount:
                                  https://www.youtube.com/watch?v=-yc3zEe0RA0
                                  So, though it's obviously doable, I still wouldn't say it's "easy."

                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by
                                  #28

                                  I finally had success using the Dave Jones tack and reflow method. The hardest part is just ensuring that the chip is properly aligned after the tack. From that point on, iit goes relatively easy.

                                  1 Reply Last reply
                                  1
                                  • NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by NeverDie
                                    #29

                                    So, LED is blinking like it should, and I can download sketches to it. I plugged in an si7021 board, and that's working too:

                                    Humidity: 44.42 Temperature: 22.22
                                    Humidity: 44.40 Temperature: 22.22
                                    Humidity: 44.43 Temperature: 22.23
                                    Humidity: 44.42 Temperature: 22.22
                                    Humidity: 44.43 Temperature: 22.21
                                    Humidity: 44.43 Temperature: 22.22
                                    Humidity: 44.44 Temperature: 22.22

                                    Looks as though a BME280 board, which has the same pinout as the si7021 board, should work also.
                                    alt text
                                    I tried the adafruit library on such a BME280, but it says it can't find the sensor. So, I tried the sparkfun library instead, and it is outputing false information:

                                    Temperature: 0.00 degrees C
                                    Temperature: 32.00 degrees F
                                    Pressure: 0.00 Pa
                                    Altitude: 45846.20m
                                    Altitude: 150414.04ft
                                    %RH: 0.00 %

                                    Looking at the back of the BME280 board , it looks like it may have a voltage regulator and/or level converter on it (?)..
                                    alt text
                                    Since I'm feeding it 3.3v, not 5v, then perhaps that's the problem.

                                    The part is 662K, and sure enough, it's a voltage regulator:
                                    alt text

                                    If I remove that and short Vin to the 3v3 lead, maybe it will work....

                                    So, to see if it works at all, I hooked up the BME280 board to an arduino uno at 5v, and... still no joy. Apparently, I received a defective BME280. :disappointed: Murphy's Law strikes again. Therefore, I'll exchange it for another one. Meanwhile, I'll use the si7021.

                                    1 Reply Last reply
                                    0
                                    • Nca78N Offline
                                      Nca78N Offline
                                      Nca78
                                      Hardware Contributor
                                      wrote on last edited by Nca78
                                      #30

                                      Hello, I had a problem with BME280 too. Both Adafruit and Sparkfun use 0x77 as default address, but I have the same breakout board than you and the i2c address is 0x76.
                                      Voltage regulator is not a problem it's a XC6206 and it's drawing close to nothing when you feed it with low voltage, and for battery voltage (3v down to 2V) the drop out voltage should be around 0.1V.

                                      You can pass the address of the sensor in the begin method, it defaults to the one defined in the h file which is 0x77

                                      #define BME280_ADDRESS                (0x77)
                                      
                                       bool  begin(uint8_t addr = BME280_ADDRESS);
                                      

                                      (I use the sparkfun library at the moment as it's easier to set the running mode of the sensor to switch it to sleep mode after measurement. Else it's using too much power for battery operation)

                                      NeverDieN 1 Reply Last reply
                                      1
                                      • NeverDieN NeverDie

                                        I also just now designed this pro mini interstitial board and sent it off to be fabbed:
                                        0_1474666049854_interstitial.png
                                        Just attach an RFM69HW and the si7021 to the board, and then plug it into a pro mini. Voila! You now have a temp-RH node. You will have to remove the LED from pin 13 on the pro mini, but that's no big deal. Also, it's obviously intended for a 3.3V pro mini, not a 5V pro mini.

                                        I suspect that for most people, this would be the simplest to put together. The board is less than 1 square inch in area.

                                        FotoFieberF Offline
                                        FotoFieberF Offline
                                        FotoFieber
                                        Hardware Contributor
                                        wrote on last edited by
                                        #31

                                        @NeverDie
                                        Nice. Could you please open your design? -> www.openhardware.io

                                        1 Reply Last reply
                                        0
                                        • Nca78N Nca78

                                          Hello, I had a problem with BME280 too. Both Adafruit and Sparkfun use 0x77 as default address, but I have the same breakout board than you and the i2c address is 0x76.
                                          Voltage regulator is not a problem it's a XC6206 and it's drawing close to nothing when you feed it with low voltage, and for battery voltage (3v down to 2V) the drop out voltage should be around 0.1V.

                                          You can pass the address of the sensor in the begin method, it defaults to the one defined in the h file which is 0x77

                                          #define BME280_ADDRESS                (0x77)
                                          
                                           bool  begin(uint8_t addr = BME280_ADDRESS);
                                          

                                          (I use the sparkfun library at the moment as it's easier to set the running mode of the sensor to switch it to sleep mode after measurement. Else it's using too much power for battery operation)

                                          NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #32

                                          @Nca78
                                          Thank you! I changed the I2C address to 0x76, and now I get the correct readings (in this case, using Sparkfun library):

                                          Temperature: 22.77 degrees C
                                          Temperature: 73.00 degrees F
                                          Pressure: 99002.00 Pa
                                          Altitude: 202.13m
                                          Altitude: 663.15ft
                                          %RH: 47.00 %

                                          Fantastic! It works after all. Thank you again.

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


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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