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.
  • daulagariD Offline
    daulagariD Offline
    daulagari
    Hero Member
    wrote on last edited by
    #5

    Have been thinking about this in the past and what could be done is (apart from searching another sensor) to only generate the 3V when the sensor is about to be read and switch it off afterward.

    Not really making things "as small as possible" but as making things as less power hungry as possible.

    1 Reply Last reply
    0
    • tbowmoT tbowmo

      I'm thinking about spinning up the good old eagle cad program again, and start creating sensor boards (Like so many others here :))

      Only thing is, that unlike (almost) everyone else, that are using normal arduino micro boards, I'm thinking about skipping that part, and create my "own" arduino board, thinking about the following:

      1. use atmega 328 tqfp (That's doable for home soldering :))
      2. pads for a 32Khz crystal, for timing purposes
      3. Standard atmel programming header.
      4. ftdi header like on arduino mini, so could use arduino bootloader (could be some details about the baudrate though, as it's running off internal RC oscillator)
      5. Using Si7021 integrated humidity / temperature sensor, footprint for bmp180 barometric sensor
      6. skip power converters, run everything off a battery directly (disable brownout detection in atmel)
      7. SPI flash / e2prom onboard. Using same connections as moteino from lowpowerlabs, so should be able to use same bootloader for updates to firmware
      8. pinheader for connecting radio module
      9. Pinheader for D3-D7 on one side, and SDA/SCL + A0/A1 and power on the other side
      10. Formfactor is 30x17.5mm (almost same size as the NRF24 module).
      11. ATSHA204A sot23 footprint on board (Connected to A3). Can be used for SHA256 key exchange and verification
      12. status LED (on A2)

      Any thoughts about this? Or should I wait for the all in one mysensors battery sensor board? (When will that be available?)

      / Thomas

      (Spec updated January 28th, 2015)

      marceltrapmanM Offline
      marceltrapmanM Offline
      marceltrapman
      Mod
      wrote on last edited by marceltrapman
      #6

      @Thomas-Bowman-Mørch I am thinking about the same thing but with power converter.

      I have a board with a Mini Pro and flash memory chip right now but want to get rid of the Arduino (not the chrystal though based on input from several sources).

      I would even want to make the NRF24 on board instead of using a module.
      The same for the converter.

      Getting rid of the Arduino is a no-brainer imho but the on-board NRF24 and converter are less easy to do...

      Fulltime Servoy Developer
      Parttime Moderator MySensors board

      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
      I have a FABtotum to print cases.

      1 Reply Last reply
      0
      • daulagariD Offline
        daulagariD Offline
        daulagari
        Hero Member
        wrote on last edited by
        #7

        I would even want to make the NRF24 on board instead of using a module.
        The same for the converter.

        That sounds good and will likely come with better reliability.

        The board layout for the NRF24 should not be too hard, I think you can get the design for the Nordim Semicondutor site. More problematic can be the soldering and tuning the RF, although I am not convinced the standard boards has good tuning done.

        What makes the convertor less easy you think?

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

          @marceltrapman Originally I was thinking about making everything on a single board (also with the nrf24 on board). But the modules are dirt cheap, and I don't like to hand solder the NRF chip (too small footprint).

          So that's the reason to just plug it in as a module.

          @daulagari Had been thinking about the exact same thing, after discovering the problem with DS18x20 and supply voltage. I stumbled uppon MCP1640 from microchip, which can go into pass-through when disabled. And then probably a TPS27081A from TI to disable power to the sensors, when in sleepmode.

          The thought was that when it powers up sensors for measuring, it also ramps up the supply voltage to the atmel. (Actually there is a application note describing this somewhere on microchips site)

          But then we are back to putting on inductors etc (and finding reliable sources for them). Damn, I sometimes miss my old job at a hardware design house, where we had a fairly large stock of 'generic' components in the house for experiments.

          / Thomas

          1 Reply Last reply
          0
          • daulagariD daulagari

            I would even want to make the NRF24 on board instead of using a module.
            The same for the converter.

            That sounds good and will likely come with better reliability.

            The board layout for the NRF24 should not be too hard, I think you can get the design for the Nordim Semicondutor site. More problematic can be the soldering and tuning the RF, although I am not convinced the standard boards has good tuning done.

            What makes the convertor less easy you think?

            marceltrapmanM Offline
            marceltrapmanM Offline
            marceltrapman
            Mod
            wrote on last edited by marceltrapman
            #9

            @daulagari said:

            What makes the convertor less easy you think?

            Thinking out loud (and for myself) I lack the skills to decide what components to use.

            @Thomas-Bowman-Mørch

            But the modules are dirt cheap

            I agree but there are pro's as well and if price is the only con I would go for it :)

            and I don't like to hand solder the NRF chip

            Use a rework blower. Works well...

            Fulltime Servoy Developer
            Parttime Moderator MySensors board

            I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
            I have a FABtotum to print cases.

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

              @marceltrapman

              I see "multiple" cons with embedding the nrf chip:

              1. Components too small to handsolder (yes you could use rework blower, but then you must buy one in order to populate the boards yourself).
              2. RF design is not for kids :) antenna design, impedance matching etc. (There must be a reason to why we considered the RF guys as gurus, when I worked at the design house)
              3. They are still cheap :)

              the only pro to embedding it, is actually to make things relatively smaller, than with two modules packed together.

              And taking RF design into consideration, then I don't think it is possible to make things that much smaller, because the RF is as it should be, can't be smaller.. (other than maybe go with 4 layer boards, in order to get solid gnd plane) Placing components on both sides of the PCB. And then the price for the PCB goes up, comparing it to 2 layer pcb's

              / Thomas

              1 Reply Last reply
              0
              • daulagariD Offline
                daulagariD Offline
                daulagari
                Hero Member
                wrote on last edited by
                #11

                @Thomas-Bowman-Mørch

                it seems like the Dallas chip doesn't like voltages below 3V. What a bummer..

                Are you married with the Dallas chip? ;-)

                Had a look at the Internet and there are at least low-voltage temperature sensors, see for example the DS75LV.

                The thought was that when it powers up sensors for measuring, it also ramps up the supply voltage to the atmel. (Actually there is a application note describing this somewhere on microchips site)

                Why also "power up" the Atmel?

                tbowmoT 1 Reply Last reply
                0
                • daulagariD daulagari

                  @Thomas-Bowman-Mørch

                  it seems like the Dallas chip doesn't like voltages below 3V. What a bummer..

                  Are you married with the Dallas chip? ;-)

                  Had a look at the Internet and there are at least low-voltage temperature sensors, see for example the DS75LV.

                  The thought was that when it powers up sensors for measuring, it also ramps up the supply voltage to the atmel. (Actually there is a application note describing this somewhere on microchips site)

                  Why also "power up" the Atmel?

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

                  @daulagari said:

                  Are you married with the Dallas chip? ;-)

                  Had a look at the Internet and there are at least low-voltage temperature sensors, see for example the DS75LV.

                  DS75LV has an accuracy of +/- 2 degrees celcius, while DS18s20 have +/- 0.5 degrees. Also, I really like the ability to have as many sensors hanging on the same single wire, as you desire.

                  I also had a look at the DHT22 (I know, there probably are other chips out there for doing combined humidity and temperature measurements) but that is also spec'ed to minimum 3.3V operating voltage.

                  Why also "power up" the Atmel?

                  To keep the logic levels the same for sensors and the atmel, And for switching to a higher working frequency when it wakes up for doing measurements (if necessary).

                  1 Reply Last reply
                  0
                  • daulagariD Offline
                    daulagariD Offline
                    daulagari
                    Hero Member
                    wrote on last edited by
                    #13

                    DS75LV has an accuracy of +/- 2 degrees celcius, while DS18s20 have +/- 0.5 degrees.

                    Yes also saw that and meant another IC, the DS620.

                    Also, I really like the ability to have as many sensors hanging on the same single wire, as you desire.

                    "For distributed-sensing applications, it is multidroppable with three address pins that allow up to eight DS620s to operate on a single bus."

                    Why also "power up" the Atmel?

                    To keep the logic levels the same for sensors and the atmel, And for switching to a higher working frequency when it wakes up for doing measurements (if necessary).

                    That does not sound like a "minimal design" ;-)

                    tbowmoT 1 Reply Last reply
                    0
                    • daulagariD daulagari

                      DS75LV has an accuracy of +/- 2 degrees celcius, while DS18s20 have +/- 0.5 degrees.

                      Yes also saw that and meant another IC, the DS620.

                      Also, I really like the ability to have as many sensors hanging on the same single wire, as you desire.

                      "For distributed-sensing applications, it is multidroppable with three address pins that allow up to eight DS620s to operate on a single bus."

                      Why also "power up" the Atmel?

                      To keep the logic levels the same for sensors and the atmel, And for switching to a higher working frequency when it wakes up for doing measurements (if necessary).

                      That does not sound like a "minimal design" ;-)

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

                      @daulagari said:

                      DS75LV has an accuracy of +/- 2 degrees celcius, while DS18s20 have +/- 0.5 degrees.

                      Yes also saw that and meant another IC, the DS620.

                      Also, I really like the ability to have as many sensors hanging on the same single wire, as you desire.

                      "For distributed-sensing applications, it is multidroppable with three address pins that allow up to eight DS620s to operate on a single bus."

                      Still it's i2c bus, which means 4 wires (GND, VCC, SDA, SCL), while DS18x20 is 2 wires (GND and Data/VCC)

                      Why also "power up" the Atmel?

                      To keep the logic levels the same for sensors and the atmel, And for switching to a higher working frequency when it wakes up for doing measurements (if necessary).

                      That does not sound like a "minimal design" ;-)

                      I know, that kinda blew the 'minimal design' away (a little), because I discovered that the sensors that I had in mind need at least 3V (some even 3.3V). If the sensors need 3.3V, and I need a powerconverter onboard, then I might as well make it possible to ramp up the voltage to the atmel.

                      Anyways, main design details is still in my head. Need to get it on paper soon..

                      / Thomas

                      1 Reply Last reply
                      0
                      • marceltrapmanM Offline
                        marceltrapmanM Offline
                        marceltrapman
                        Mod
                        wrote on last edited by
                        #15

                        This NRF24 module and even cheaper ones (also mini 10 pcs 6 USD) could be an addition/alternative for minimal radio design.

                        Fulltime Servoy Developer
                        Parttime Moderator MySensors board

                        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                        I have a FABtotum to print cases.

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

                          @daulagari

                          Why also "power up" the Atmel?

                          To keep the logic levels the same for sensors and the atmel, And for switching to a higher working frequency when it wakes up for doing measurements (if necessary).

                          That does not sound like a "minimal design" ;)

                          I have studied the datasheets for a couple of sensors, and the atmega now, and come to the conclusion that if one needs to use 3.3V sensors, one need to boost the supply voltage to the atmega as well.

                          Absolute maximum ratings on any input pin for the atmega is VCC + 0.5V. This means, that if bat voltage is 1.8V, maximum high voltage is 2.3V on the input pin of the atmega.

                          Also, the minimum high voltage of ds18b20 (I know, I keep comming back to this one :)) is 3V (or 2.2V if running with local power). Which means that you need to have the atmel chip running on the same voltage as the sensors.

                          So it won't work if the atmel is powered directly from batt, and sensors are running of a converter.

                          Of course I could find alternative sensors, but I really like the ds18x20 as you only need 2 wires to the chip, if you need "remote" sensing (I have one place where I want to measure 5-6 temperatures on the central heating distribution that eases up things, that I only need 2 wires to each temperature sensor)

                          But let's see, I'm still searching for different sensors.

                          / Thomas

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

                            Think that I have prety much settled for a Si7021 as temperature / humidity sensor, instead of DS18b20

                            Ok, it's a tiny chip (3x3mm DFN6 package) so it might be a beast to solder. But it goes down to 1.8V on VCC, so well suited for battery operation, together with the atmel and radio.

                            I have been arround a couple of iterations with DS18b20 and step-up, because I need one node to be able to measure multiple temperatures. But this is 1 node, whereas the rest only needs temperature / humidity, which can be covered with Si7021. I have also thought about throwing in the opportunity to use a PIR sensor on the nodes as well, just for the fun of it. But then I need the step-up, as the PIR sensor needs 3V minimum.

                            Right now, board dimensions with Si7021, 328p, spi flash, no stepup, is down to 15x21mm (smaller than the radio module). Might throw in a footprint for bmp180 as well, so I could equip one of the sensors with barometric sensor.. The complete sensor could fit on the end of a 2xAA battery holder (they are roughly 15x32x60mm).

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

                              Right now, board dimensions with Si7021, 328p, spi flash, no stepup, is down to 15x21mm (smaller than the radio module).

                              Nice, that sounds really like a minimal module!

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                Tibus
                                wrote on last edited by
                                #19

                                i'm also making my own sensor right now and the si7021 is very interesting for removing my BIG dht11. But for home made soldering, the center ground pad should be soldered or it's not necessary?

                                tbowmoT 1 Reply Last reply
                                0
                                • bjornhallbergB Offline
                                  bjornhallbergB Offline
                                  bjornhallberg
                                  Hero Member
                                  wrote on last edited by
                                  #20

                                  Sounds very interesting! Though personally I'd rather have a good regulator / boost (even if it is in a separate module) than having to source particular components that will run at 1.8V.

                                  How do you plan to integrate the nrf24? The "standard" or the "mini" version?

                                  I would love it if the MySensors web site could have a department of open source pcb schematics just like it has models for 3D printing.

                                  Soldering sounds tricky, you'd either have to reflow or heat the underside of the DFN6 on the pcb. With extra flux and paste.

                                  hekH 1 Reply Last reply
                                  0
                                  • T Tibus

                                    i'm also making my own sensor right now and the si7021 is very interesting for removing my BIG dht11. But for home made soldering, the center ground pad should be soldered or it's not necessary?

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

                                    @Tibus said:

                                    But for home made soldering, the center ground pad should be soldered or it's not necessary?

                                    To my best knowledge, there is no "center ground pin" on the Si7021? Or I have missed something. A friend of mine got a couple of them for another project, so I'll check up with him on the physical appearance, next time we get together.

                                    @bjornhallberg said:

                                    Sounds very interesting! Though personally I'd rather have a good regulator / boost (even if it is in a separate module) than having to source particular components that will run at 1.8V.

                                    Btw. pricewise, comparing DHT22 and Si7021 they are about the same price (ebay price on DHT22, and mouser price for Si7021). So for sourcing DS18b20/DHT22, or sourcing the Si7021, is not that big a difference. I also can skip the stepup converter, and save a couple of $ there..

                                    How do you plan to integrate the nrf24? The "standard" or the "mini" version?

                                    It's the standard version, piggybacking on the minisensor. Actually (on the nrf24 modules that I have), the component area is 15x20mm (excluding the antenna part) So my arduino-clone could fit without "covering" the antenna..

                                    I would love it if the MySensors web site could have a department of open source pcb schematics just like it has models for 3D printing.

                                    That would be great.. :)

                                    Anyway, I'll take a few more stabs at the schematic / layout before I publish it here..

                                    T 1 Reply Last reply
                                    1
                                    • tbowmoT tbowmo

                                      @Tibus said:

                                      But for home made soldering, the center ground pad should be soldered or it's not necessary?

                                      To my best knowledge, there is no "center ground pin" on the Si7021? Or I have missed something. A friend of mine got a couple of them for another project, so I'll check up with him on the physical appearance, next time we get together.

                                      @bjornhallberg said:

                                      Sounds very interesting! Though personally I'd rather have a good regulator / boost (even if it is in a separate module) than having to source particular components that will run at 1.8V.

                                      Btw. pricewise, comparing DHT22 and Si7021 they are about the same price (ebay price on DHT22, and mouser price for Si7021). So for sourcing DS18b20/DHT22, or sourcing the Si7021, is not that big a difference. I also can skip the stepup converter, and save a couple of $ there..

                                      How do you plan to integrate the nrf24? The "standard" or the "mini" version?

                                      It's the standard version, piggybacking on the minisensor. Actually (on the nrf24 modules that I have), the component area is 15x20mm (excluding the antenna part) So my arduino-clone could fit without "covering" the antenna..

                                      I would love it if the MySensors web site could have a department of open source pcb schematics just like it has models for 3D printing.

                                      That would be great.. :)

                                      Anyway, I'll take a few more stabs at the schematic / layout before I publish it here..

                                      T Offline
                                      T Offline
                                      Tibus
                                      wrote on last edited by Tibus
                                      #22

                                      @tbowmo

                                      Yes there is a TGnd Pad in the middle :

                                      http://www.silabs.com/Support Documents/TechnicalDocs/Si7021.pdf
                                      page 26... But I'll buy a Hot Air soldering station, i'll be easier to solder no?

                                      bjornhallbergB 1 Reply Last reply
                                      0
                                      • bjornhallbergB bjornhallberg

                                        Sounds very interesting! Though personally I'd rather have a good regulator / boost (even if it is in a separate module) than having to source particular components that will run at 1.8V.

                                        How do you plan to integrate the nrf24? The "standard" or the "mini" version?

                                        I would love it if the MySensors web site could have a department of open source pcb schematics just like it has models for 3D printing.

                                        Soldering sounds tricky, you'd either have to reflow or heat the underside of the DFN6 on the pcb. With extra flux and paste.

                                        hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #23

                                        @bjornhallberg said:

                                        I would love it if the MySensors web site could have a department of open source pcb schematics just like it has models for 3D printing.

                                        Yes, I would gladly create a section for this on the main site. But maybe we could start a pinned thread linking the once available?

                                        1 Reply Last reply
                                        0
                                        • T Tibus

                                          @tbowmo

                                          Yes there is a TGnd Pad in the middle :

                                          http://www.silabs.com/Support Documents/TechnicalDocs/Si7021.pdf
                                          page 26... But I'll buy a Hot Air soldering station, i'll be easier to solder no?

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

                                          @Tibus Or perhaps you have a hot air gun in the toolbox. Not as elegant but it might do.

                                          I'd much rather not try hot air (only have this at my disposal) and instead try to get at the pad from the backside of the pcb:
                                          http://www.eevblog.com/forum/projects/soldering-dfn-and-qfn-devices/
                                          With flux and paste possibly it should be quite easy. And besides, you'd need flux and/or paste for hot air reflow as well.

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


                                          19

                                          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