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. Hardware
  3. Minimal design thoughts

Minimal design thoughts

Scheduled Pinned Locked Moved Hardware
299 Posts 34 Posters 177.6k Views 17 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.
  • tbowmoT tbowmo

    And today, radio connection verified, and Si7021 communication is up and running..

    Only problem though, is that the Si7021 reports a temperature of 45-50 degrees celcius, where I know it should be closer to 22 degrees..

    Also current consumption is rather high at the moment, arround 40mA, It feels like the SI7021 is getting a little bit warmer, than the rest of the components, which (to me) indicates that there is something wrong here.. I accidentially supplied the board with 5V for at test of the internal RC oscilator stability, which is way above the maximum supply voltage of 3.6V. So that might have killed it.

    RJ_MakeR Offline
    RJ_MakeR Offline
    RJ_Make
    Hero Member
    wrote on last edited by
    #92

    @tbowmo Did you get to do anymore testing?

    RJ_Make

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by tbowmo
      #93

      @ServiceXp

      In the "lab" at the moment, testing the first prototype build.. I got the humidity / temperature "bug" sorted out. Replaced the Si7021 chip on my board, and the new one responded as expected, at least with correct temperature. (humidity is a bit off, I think.. I don't have another humidity sensor at hand here in the lab, so can't compare it..)

      2015-01-03-1.jpg

      I also got the radio up. I haven't done any distance measurements yet, but I can reach the gw in the main building (6-7m away throug a couple of brick walls). Added a 2.2uF cap to the radio. It's still running off the bench power supply. I don't see any problems at the atmel side of things when radio is transmitting.

      I just made a test, supplying the setup with 1.9V, and the GW still received the temperature updates :) (somehow my humidity readings don't get through to pidome on the GW, so have to check my setsup again).

      I'm waiting for a peer review of the pcb layout, before I push the button for the next batch of proto pcb's. btw. on the next prototype build, I have removed the bmp180, but exposed the SDA/SCL pins on a connector, so it can be attached externally..

      And here is a small preview of the upcomming board prototype.. I had to make the board 1.5mm wider, to make it fit a multiple of 0.1mil between the pinheaders on each side of the pcb. So it will be more versatile to other people as well.. (if any one should want to build them)

      MySensors-micro-v2-sch.png
      all-layers.png

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #94

        small update again

        Did a small rangetest, and it seems that the range is equal to my other sensor (based on arduino mini and batteries). Also moved the node to the main builidng, besides the weatherstation that I got for christmas (which have hygrometer buildin). It seems that the humidity level on both my sensor node, and the weatherstation is almost comparable.

        RJ_MakeR 1 Reply Last reply
        0
        • tbowmoT tbowmo

          small update again

          Did a small rangetest, and it seems that the range is equal to my other sensor (based on arduino mini and batteries). Also moved the node to the main builidng, besides the weatherstation that I got for christmas (which have hygrometer buildin). It seems that the humidity level on both my sensor node, and the weatherstation is almost comparable.

          RJ_MakeR Offline
          RJ_MakeR Offline
          RJ_Make
          Hero Member
          wrote on last edited by
          #95

          @tbowmo That is great news! Did you have any thoughts/plans on packaging these up for DIY kit sales? Did you have a chance to test the EEPROM?

          Thanks for the Update!

          RJ_Make

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #96

            @ServiceXp

            Haven't tested the eeprom yet, as I don't have any use for it right now. And also need to verify the 32khz crystal oscillator (currently running on the internal rc oscillator). Come to think about it, I need to think up some scenarios where the crystal could come in handy.

            Investigations are undergoing, to make something for the "public". Can't say anymore at the moment :)

            RJ_MakeR 1 Reply Last reply
            0
            • tbowmoT tbowmo

              @ServiceXp

              Haven't tested the eeprom yet, as I don't have any use for it right now. And also need to verify the 32khz crystal oscillator (currently running on the internal rc oscillator). Come to think about it, I need to think up some scenarios where the crystal could come in handy.

              Investigations are undergoing, to make something for the "public". Can't say anymore at the moment :)

              RJ_MakeR Offline
              RJ_MakeR Offline
              RJ_Make
              Hero Member
              wrote on last edited by
              #97

              @tbowmo Gotcha, thanks again for all your hard work, for those of us who simply don't have the skill set to create a good pcb, I really appreciate your work.

              I'm looking forward to your other MySensors pcb projects... ;-)

              RJ_Make

              1 Reply Last reply
              0
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #98

                And sensor #2 is build.. This time the radio module is soldered directly to the sensor module, making it a realy small device now..

                2015-01-14-1.jpg

                2015-01-14-3.jpg

                R 1 Reply Last reply
                1
                • tbowmoT Offline
                  tbowmoT Offline
                  tbowmo
                  Admin
                  wrote on last edited by tbowmo
                  #99

                  hmm.. Now I've had the two sensors on the table beside each other (sensor #1 and #2).

                  Temperature is off by 1.6 degrees celcius, and humidity 2% difference. Could be it's the different temperature, that makes the RH calculation differ a bit..

                  And for some build data.. It took me a good hour to populate all the parts. This one also have the additional eeprom mounted. but still need something for verifying that it works..

                  RJ_MakeR 2 Replies Last reply
                  0
                  • tbowmoT tbowmo

                    hmm.. Now I've had the two sensors on the table beside each other (sensor #1 and #2).

                    Temperature is off by 1.6 degrees celcius, and humidity 2% difference. Could be it's the different temperature, that makes the RH calculation differ a bit..

                    And for some build data.. It took me a good hour to populate all the parts. This one also have the additional eeprom mounted. but still need something for verifying that it works..

                    RJ_MakeR Offline
                    RJ_MakeR Offline
                    RJ_Make
                    Hero Member
                    wrote on last edited by
                    #100

                    @tbowmo what is the margin of error for the sensors?

                    RJ_Make

                    1 Reply Last reply
                    0
                    • tbowmoT tbowmo

                      hmm.. Now I've had the two sensors on the table beside each other (sensor #1 and #2).

                      Temperature is off by 1.6 degrees celcius, and humidity 2% difference. Could be it's the different temperature, that makes the RH calculation differ a bit..

                      And for some build data.. It took me a good hour to populate all the parts. This one also have the additional eeprom mounted. but still need something for verifying that it works..

                      RJ_MakeR Offline
                      RJ_MakeR Offline
                      RJ_Make
                      Hero Member
                      wrote on last edited by
                      #101

                      @tbowmo Oh and is that an hour using hand soldering?

                      RJ_Make

                      1 Reply Last reply
                      0
                      • tbowmoT Offline
                        tbowmoT Offline
                        tbowmo
                        Admin
                        wrote on last edited by tbowmo
                        #102

                        @ServiceXp

                        according to the datasheet the precision on temperature is +/- 0.4 degrees celcius, and +/- 3% RH.

                        They did however release a new chip revision (Si7021-A20) just after I bought mine (which is A10), they had some problems where the chip didn't enter standby correctly. Maybe that is the problem (also battery drain has been quicker than what I expected on the new node)

                        and yes, it's about an hour handsoldering things, and also programming the sensor, which also caused some troubles. Had to reprogram a lot of times, because of checksum errors. This could be caused by the fact that I have both eeprom, and nrf24l chip hanging on the SPI bus on the atmega, this is the same bus that is used by my ISP programmer (jtag ice3).

                        Think I have to get a proper bootloader into the device, so I can use the serialport to download instead.

                        1 Reply Last reply
                        0
                        • tbowmoT Offline
                          tbowmoT Offline
                          tbowmo
                          Admin
                          wrote on last edited by
                          #103

                          and now the external SPI flash is verified as working, just with a simple program, reading out the manufacturer ID, and writing / reading data to/from the device.

                          Next step I wanted to get a bootloader working, so I could use standard arduino to download firmware, and also (at some point in time) utilize the flash for OTA updates. However, I can't seem to get bootloader support working..

                          I have tried to get DualOptiboot from lowpowerlabs working now, with several rebuilds etc., it seems like it is running fine (LED is blinking a couple of times, when it boots) but arduino wont sync to the bootloader, so either it runs on a wrong baudrate, or something else is wrong in the setup. But so far I haven't suceeded in figuring out what it is..

                          (Anyone else that has some knowledge on bootloaders, that could have an idea to what to look at?)

                          / Thomas

                          B 1 Reply Last reply
                          0
                          • tbowmoT Offline
                            tbowmoT Offline
                            tbowmo
                            Admin
                            wrote on last edited by tbowmo
                            #104

                            I am almost ready for a second prototype spin of the PCB, but before doing that I could use some input from the community,

                            If this board was going into "mass production", is there any features that I should consider adding? Any missing parts? Anything that you think that I have forgotten?

                            The schematics for revision 2 is a couple of posts back in the thread.

                            I have considered adding a ATSHA204 for future security purposes, but can't seem to find a suitable spot for it (maybe I'm just too tired to see things clearly at the moment :)).

                            RJ_MakeR 1 Reply Last reply
                            0
                            • tbowmoT tbowmo

                              and now the external SPI flash is verified as working, just with a simple program, reading out the manufacturer ID, and writing / reading data to/from the device.

                              Next step I wanted to get a bootloader working, so I could use standard arduino to download firmware, and also (at some point in time) utilize the flash for OTA updates. However, I can't seem to get bootloader support working..

                              I have tried to get DualOptiboot from lowpowerlabs working now, with several rebuilds etc., it seems like it is running fine (LED is blinking a couple of times, when it boots) but arduino wont sync to the bootloader, so either it runs on a wrong baudrate, or something else is wrong in the setup. But so far I haven't suceeded in figuring out what it is..

                              (Anyone else that has some knowledge on bootloaders, that could have an idea to what to look at?)

                              / Thomas

                              B Offline
                              B Offline
                              boozz
                              wrote on last edited by
                              #105

                              @tbowmo
                              Does this link help you? Some explanation on bootloaders and practical stuff to help you burn botloaders on the ao Atmega326...

                              BR
                              Boozz

                              tbowmoT 1 Reply Last reply
                              0
                              • B boozz

                                @tbowmo
                                Does this link help you? Some explanation on bootloaders and practical stuff to help you burn botloaders on the ao Atmega326...

                                BR
                                Boozz

                                tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #106

                                @boozz said:

                                @tbowmo
                                Does this link help you? Some explanation on bootloaders and practical stuff to help you burn botloaders on the ao Atmega326...

                                BR
                                Boozz

                                I can program a standard arduino bootloader, which works. I just want to use the one from lowpowerlabs, dual optiboot, so i can utilise the external Flash chip. But i Can't get it to work at all.

                                B 1 Reply Last reply
                                0
                                • tbowmoT tbowmo

                                  @boozz said:

                                  @tbowmo
                                  Does this link help you? Some explanation on bootloaders and practical stuff to help you burn botloaders on the ao Atmega326...

                                  BR
                                  Boozz

                                  I can program a standard arduino bootloader, which works. I just want to use the one from lowpowerlabs, dual optiboot, so i can utilise the external Flash chip. But i Can't get it to work at all.

                                  B Offline
                                  B Offline
                                  boozz
                                  wrote on last edited by
                                  #107

                                  @tbowmo
                                  Ok, I misinterpreted your question. Can't help you on that one, sorry :-)

                                  1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    I am almost ready for a second prototype spin of the PCB, but before doing that I could use some input from the community,

                                    If this board was going into "mass production", is there any features that I should consider adding? Any missing parts? Anything that you think that I have forgotten?

                                    The schematics for revision 2 is a couple of posts back in the thread.

                                    I have considered adding a ATSHA204 for future security purposes, but can't seem to find a suitable spot for it (maybe I'm just too tired to see things clearly at the moment :)).

                                    RJ_MakeR Offline
                                    RJ_MakeR Offline
                                    RJ_Make
                                    Hero Member
                                    wrote on last edited by
                                    #108

                                    @tbowmo said:

                                    I am almost ready for a second prototype spin of the PCB, but before doing that I could use some input from the community,

                                    If this board was going into "mass production", is there any features that I should consider adding? Any missing parts? Anything that you think that I have forgotten?

                                    The schematics for revision 2 is a couple of posts back in the thread.

                                    I have considered adding a ATSHA204 for future security purposes, but can't seem to find a suitable spot for it (maybe I'm just too tired to see things clearly at the moment :)).

                                    I would work on trying to get the ATSHA204 included, even if it means the dims get a little larger. The one thing that I really don't like about MySensors is the lack of any wireless security.. Would love to see this implemented.

                                    RJ_Make

                                    tbowmoT 1 Reply Last reply
                                    1
                                    • tbowmoT tbowmo

                                      And sensor #2 is build.. This time the radio module is soldered directly to the sensor module, making it a realy small device now..

                                      2015-01-14-1.jpg

                                      2015-01-14-3.jpg

                                      R Offline
                                      R Offline
                                      rdevine
                                      wrote on last edited by
                                      #109

                                      @tbowmo Maybe i missed it but do you have an image with the si7021 attached to the radio and pcb?

                                      tbowmoT 1 Reply Last reply
                                      0
                                      • R rdevine

                                        @tbowmo Maybe i missed it but do you have an image with the si7021 attached to the radio and pcb?

                                        tbowmoT Offline
                                        tbowmoT Offline
                                        tbowmo
                                        Admin
                                        wrote on last edited by
                                        #110

                                        @rdevine said:

                                        @tbowmo Maybe i missed it but do you have an image with the si7021 attached to the radio and pcb?

                                        Look in post #93 the small white dot on the pcb is the si7021 :)

                                        1 Reply Last reply
                                        0
                                        • RJ_MakeR RJ_Make

                                          @tbowmo said:

                                          I am almost ready for a second prototype spin of the PCB, but before doing that I could use some input from the community,

                                          If this board was going into "mass production", is there any features that I should consider adding? Any missing parts? Anything that you think that I have forgotten?

                                          The schematics for revision 2 is a couple of posts back in the thread.

                                          I have considered adding a ATSHA204 for future security purposes, but can't seem to find a suitable spot for it (maybe I'm just too tired to see things clearly at the moment :)).

                                          I would work on trying to get the ATSHA204 included, even if it means the dims get a little larger. The one thing that I really don't like about MySensors is the lack of any wireless security.. Would love to see this implemented.

                                          tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #111

                                          @ServiceXp said:

                                          I would work on trying to get the ATSHA204 included, even if it means the dims get a little larger. The one thing that I really don't like about MySensors is the lack of any wireless security.. Would love to see this implemented.

                                          For one second, I thought you where danish :), as the word "dims" usually refers to a small gadget like device, that you don't have a name for at the moment (or even components, screws, bolts, anything small could be a "dims") :)

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


                                          20

                                          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