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 Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by tbowmo
    #86

    @bjornhallberg

    Sorry to hear about your sourcing troubles. Wish there was an easier and cheaper way to source things.

    I am trying to activate my local nerd network, to see if anyone could get the components within the next couple of days (we are 10-18 nerds having regular meetups, some of them are in the electronics business). One of the nerds have some resistors and caps in 0402, but not exactly the values I want (1uF cap, and 760R resistor if I remember correct)

    Smart depaneling, I have a saw like that standing around as well. I have used it to cut some aluminium profiles before but never considered it for cutting pcbs. Still, I will continue to try and look into tabs and "mouse bites" to make depaneling a bit easier.

    for the next batch of boards, I might go for easier depanelizing options, with tabs and so on (I got the gerber panelizing tool from http://blog.thisisnotrocketscience.nl/projects/pcb-design-tools/)

    So, no problems hand soldering then? Can you complete the circuit for testing or do the missing components get in the way?

    I managed the soldering so far.. I must admit that I had forgotten how small 0402 components are :) But soldering, and double checking everything with a "monocle" to magnify things, it's doable..

    Also I have tried to power up the atmel, it seems to be ok, at least I can get the correct device checksum when I use my jtagice3 on it with avrdude. It would just be more fun to have all the correct components mounted, for testing and verification of the board, before I push the next board revision off to China

    Is that an old Ferguson that you're renovating? Sorry, but I immediately thought of Frank Erichsen wink

    Yeah it's an old fergie TEA-20 from '54, that I'm trying to renovate :) Not everything should be computers / electronics :) (Btw. is Frank, or "bonderøven" as he's called in Denmark, also known in Sweden?)

    bjornhallbergB 1 Reply Last reply
    0
    • tbowmoT tbowmo

      @bjornhallberg

      Sorry to hear about your sourcing troubles. Wish there was an easier and cheaper way to source things.

      I am trying to activate my local nerd network, to see if anyone could get the components within the next couple of days (we are 10-18 nerds having regular meetups, some of them are in the electronics business). One of the nerds have some resistors and caps in 0402, but not exactly the values I want (1uF cap, and 760R resistor if I remember correct)

      Smart depaneling, I have a saw like that standing around as well. I have used it to cut some aluminium profiles before but never considered it for cutting pcbs. Still, I will continue to try and look into tabs and "mouse bites" to make depaneling a bit easier.

      for the next batch of boards, I might go for easier depanelizing options, with tabs and so on (I got the gerber panelizing tool from http://blog.thisisnotrocketscience.nl/projects/pcb-design-tools/)

      So, no problems hand soldering then? Can you complete the circuit for testing or do the missing components get in the way?

      I managed the soldering so far.. I must admit that I had forgotten how small 0402 components are :) But soldering, and double checking everything with a "monocle" to magnify things, it's doable..

      Also I have tried to power up the atmel, it seems to be ok, at least I can get the correct device checksum when I use my jtagice3 on it with avrdude. It would just be more fun to have all the correct components mounted, for testing and verification of the board, before I push the next board revision off to China

      Is that an old Ferguson that you're renovating? Sorry, but I immediately thought of Frank Erichsen wink

      Yeah it's an old fergie TEA-20 from '54, that I'm trying to renovate :) Not everything should be computers / electronics :) (Btw. is Frank, or "bonderøven" as he's called in Denmark, also known in Sweden?)

      bjornhallbergB Offline
      bjornhallbergB Offline
      bjornhallberg
      Hero Member
      wrote on last edited by
      #87

      @tbowmo said:

      Yeah it's an old fergie TEA-20 from '54, that I'm trying to renovate :) Not everything should be computers / electronics :) (Btw. is Frank, or "bonderøven" as he's called in Denmark, also known in Sweden?)

      Yep, bonderøven has been on TV over here for a couple of years now. I think I've seen most episodes. I just love that guy's enthusiasm ... and patience.

      tbowmoT 1 Reply Last reply
      0
      • bjornhallbergB bjornhallberg

        @tbowmo said:

        Yeah it's an old fergie TEA-20 from '54, that I'm trying to renovate :) Not everything should be computers / electronics :) (Btw. is Frank, or "bonderøven" as he's called in Denmark, also known in Sweden?)

        Yep, bonderøven has been on TV over here for a couple of years now. I think I've seen most episodes. I just love that guy's enthusiasm ... and patience.

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

        I succeeded in getting a couple of components more (Only missing a 2.2uF 0603 capacitor, that was out of stock at mouser.)

        I have vacation, so in theory I could go to the "man cave" and mount the last couple of components. Only problem is, that I have 2 "tasmanian devils" aged 3 and 5 years running wild at home today, So no possibility to have time for my self ;)

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

          A quick christmas status update, finaly got arround to power the first board up, just with basic code (blink an LED to check that it will work).

          Used a couple of hours trying to get my LED to blink. all other pins would toggle, but not my LED, until I finaly digged into the datasheet. I had used A6 for the LED, which turns out to be an input pin only, facepalm. So the board already have the first "green wire" patch :)

          Next up is to get serial up and running. before i can start testing temperature / humidity sensor, and radio interface.

          RJ_MakeR 1 Reply Last reply
          0
          • tbowmoT tbowmo

            A quick christmas status update, finaly got arround to power the first board up, just with basic code (blink an LED to check that it will work).

            Used a couple of hours trying to get my LED to blink. all other pins would toggle, but not my LED, until I finaly digged into the datasheet. I had used A6 for the LED, which turns out to be an input pin only, facepalm. So the board already have the first "green wire" patch :)

            Next up is to get serial up and running. before i can start testing temperature / humidity sensor, and radio interface.

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

            @tbowmo Thanks for the update!!

            RJ_Make

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

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


                                          25

                                          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