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

    @ServiceXp said:

    It will be interesting to see if that radio causes any interference for the MCU. Looks like it will be right over the MCU.?

    the antenna is not above the mcu, and the nrf module is using the entire backside as gnd. So should be shielded.. Also, I am kind of more worried about mcu generating noise for the radio..

    Specially for the first prototype, where I was a bit daft at placing powersupply pins on the wrong side of the pcb, as far away as possible, from the radio. And letting it run under the CPU to pick up noise from that.. Version 2 has this fixed, where I have the power input pins moved closer to the radio, and using wider tracks for VCC arround the board. (Should have done more reviews on the first design before sending it off to dirtypcbs)

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

    @tbowmo Ah.. I didn't even think about the MCU causing interference for the radio. @Bandra's design suffers from this close proximity interference, which causes, I think, the MCU to lockup. I had to move the radio module from over top the Arduino for stability.

    RJ_Make

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

      @ServiceXp

      On one of my first mockups, I removed the connector on the radio and used some double sided tape to stick it to the back of an arduino micro, and then soldering wires between the boards. Works like a charm on battery. Antenna is just hanging off the edge of the arduino on the end opposite the serial port pins.

      Using it as a range tester for mysensors, logging into a raspberry pi with my mobile using ssh, and then running a serial port terminal emulator on the raspberry to connect to the serial GW. Then I can walk arround with the battery powered node, and check if the GW receives the data packages on my phone :)

      Haven't looked at @Bandra's design, but how close is the nrf antenna to the mcu?

      RJ_MakeR 1 Reply Last reply
      0
      • tbowmoT tbowmo

        @ServiceXp

        On one of my first mockups, I removed the connector on the radio and used some double sided tape to stick it to the back of an arduino micro, and then soldering wires between the boards. Works like a charm on battery. Antenna is just hanging off the edge of the arduino on the end opposite the serial port pins.

        Using it as a range tester for mysensors, logging into a raspberry pi with my mobile using ssh, and then running a serial port terminal emulator on the raspberry to connect to the serial GW. Then I can walk arround with the battery powered node, and check if the GW receives the data packages on my phone :)

        Haven't looked at @Bandra's design, but how close is the nrf antenna to the mcu?

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

        @tbowmo
        This close.

        This close

        RJ_Make

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

          This is my node, with radio close to the mcu, this works really good. So I would expect that it also works for the small module that I have made.

          20141211_073618~2.jpg

          20141211_073604~2.jpg

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

            just ordered components for the first 10 boards. Just about 190$. My wife looked funny at me, as she saw the amount (she was sitting next to me when i ordered).

            Well birthay present for myself :)

            bjornhallbergB 1 Reply Last reply
            0
            • tbowmoT tbowmo

              just ordered components for the first 10 boards. Just about 190$. My wife looked funny at me, as she saw the amount (she was sitting next to me when i ordered).

              Well birthay present for myself :)

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

              @tbowmo That was a tad more expensive than you expected I guess? Did Mouser add taxes etc at checkout?

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

                @bjornhallberg

                Yeah, they added Danish VAT to the order..

                Just double checked, it's actually only 154$ (925dkk).. Remembered wrong with the exchange rate when I converted earlier, and just took some numbers from the top of my head. The VAT is around 31$.

                But still it's a lot of money, specially this time of year..

                1 Reply Last reply
                0
                • Ivan ZI Offline
                  Ivan ZI Offline
                  Ivan Z
                  Hardware Contributor
                  wrote on last edited by
                  #82

                  If use one-sided mounting and on other side set CR2450 holder. Will get a small deviceю

                  20141216_175103[1].jpg

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

                    And now the components arrived :d

                    2014-12-17 20.13.06-2.jpg

                    Just miss one capacitor, which is out of stock at Mouser. Got a notice that they will get it in stok again in March 2015! So I'll have to see if I can find an alternative (It was decoupling for the radio).

                    Hopefully I get some time off to do the first board friday evening.

                    magpernM 1 Reply Last reply
                    1
                    • tbowmoT Offline
                      tbowmoT Offline
                      tbowmo
                      Admin
                      wrote on last edited by tbowmo
                      #84

                      So, it's time for board mounting..

                      One advice, DOUBLE CHECK the component orders, and TRIPLE check them.. After I got the shipment from mouser, I discovered, that I accidentally had ordered some capacitors in 0101 housing, instead of 0204.. that's DAMN small components.. And I can't use it.. Well thats about 10$ down the drain.. (It was all the decoupling capacitors for the board).

                      Also found out that I forgot to order a ~100R resistor for the status LED's.. What a bummer!

                      So I'll have to see if I can source the components quickly from some friends in the next couple of days

                      Anyways, pic's from the build:

                      first depanelling in the "garage"
                      2014-12-19 21.32.16.jpg

                      (And just for the fun of it a picture from the garage.. one of my other projects)
                      2014-12-19 21.32.56.jpg

                      And then to the electronics workshop, mounted the atmega
                      2014-12-19 21.59.10.jpg

                      And with NRF module attached...
                      2014-12-19 22.52.35.jpg

                      bjornhallbergB 1 Reply Last reply
                      1
                      • tbowmoT tbowmo

                        So, it's time for board mounting..

                        One advice, DOUBLE CHECK the component orders, and TRIPLE check them.. After I got the shipment from mouser, I discovered, that I accidentally had ordered some capacitors in 0101 housing, instead of 0204.. that's DAMN small components.. And I can't use it.. Well thats about 10$ down the drain.. (It was all the decoupling capacitors for the board).

                        Also found out that I forgot to order a ~100R resistor for the status LED's.. What a bummer!

                        So I'll have to see if I can source the components quickly from some friends in the next couple of days

                        Anyways, pic's from the build:

                        first depanelling in the "garage"
                        2014-12-19 21.32.16.jpg

                        (And just for the fun of it a picture from the garage.. one of my other projects)
                        2014-12-19 21.32.56.jpg

                        And then to the electronics workshop, mounted the atmega
                        2014-12-19 21.59.10.jpg

                        And with NRF module attached...
                        2014-12-19 22.52.35.jpg

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

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

                        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.

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

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

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


                                          26

                                          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