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. Compact and low cost MySensors + NRF24L01 Board Project

Compact and low cost MySensors + NRF24L01 Board Project

Scheduled Pinned Locked Moved Hardware
35 Posts 11 Posters 16.9k Views 12 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.
  • F Offline
    F Offline
    frenchclem
    wrote on last edited by frenchclem
    #7

    Hello,
    Here is draft 1 of the schematics.

    I still haven't decided whether the temp sensors will be the famous SI7021 or for cost reason a more basic DS18b20 (about half the price of the SI7021)

    For powering the board, I'm planning on having 2 solutions : direct 3.3V (bypass by solder jumper of the regulator) or 5v power supply with a Micro-B

    The Antenna I found 2 design :

    • http://www.ti.com/lit/an/swru120b/swru120b.pdf : the one used in the schematics because I found a lbr for it)
    • http://www.ti.com/lit/an/swra117d/swra117d.pdf : I like this one more, the gain is better, but I've got to create the part in eagle.

    I'm still missing the breakout of the main pins.

    But I wanted to have a first feedback / point of view : Is EEPROM critical ? Is the temp sensor absolutely necessary ? Same with the Micro USB and Voltage Reg ?

    Edit : The Oscillator won't be monted but the solder pad will be here (If I have room for it), I also will remove the capa

    sense2.png

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

      @frenchclem

      Please note that the DS18s20 doesn't work at supply voltages below 3V

      also external flash is a really good idea, as are added atsha204a as well..

      F 1 Reply Last reply
      0
      • tbowmoT tbowmo

        @frenchclem

        Please note that the DS18s20 doesn't work at supply voltages below 3V

        also external flash is a really good idea, as are added atsha204a as well..

        F Offline
        F Offline
        frenchclem
        wrote on last edited by
        #9

        @tbowmo Thanks for shooting out some idea !

        Indeed, I read the thread about the birth of the Sensebender which is actually a mine of information and thought about minimal design.

        As you mention it while working on the sensebender, the RF will be the hardest part. I can add all the cool feature on the board, if you can't connect it, it's useless.

        I'm still waiting for cost estimation from china, and french supplier specialized in IOT, prototyping, and small batch production.
        I'm in a design to cost process, so first things first, I want to validate the cost objective from various quotation. Then I will see if I have to make hardware design choice, or if I just can't make it, ...

        1 Reply Last reply
        0
        • NuubiN Offline
          NuubiN Offline
          Nuubi
          wrote on last edited by
          #10

          *The *board that should be implemented is just arduino nano connections to NRF module. Very simple, yet, haven't gotten to do it.. anyone?

          F 1 Reply Last reply
          0
          • NuubiN Nuubi

            *The *board that should be implemented is just arduino nano connections to NRF module. Very simple, yet, haven't gotten to do it.. anyone?

            F Offline
            F Offline
            frenchclem
            wrote on last edited by
            #11

            @Nuubi can you explain why you need the :
            FTDI USB-to-TTL Serial chip ?
            mini B connector is not so used anymore (samsung cellphone use micro USB)

            Because beside that, it's what I plan on doing. Oh I might add a temp sensor, but not sure yet.

            Then I think it's worth having a thought about it :
            EEPROM can allow OTA FW update. which is quite cool, when you what to update your node without taking everything down.
            I'm not really convinced with the ATSHA204 tho

            AnticimexA 1 Reply Last reply
            0
            • F frenchclem

              @Nuubi can you explain why you need the :
              FTDI USB-to-TTL Serial chip ?
              mini B connector is not so used anymore (samsung cellphone use micro USB)

              Because beside that, it's what I plan on doing. Oh I might add a temp sensor, but not sure yet.

              Then I think it's worth having a thought about it :
              EEPROM can allow OTA FW update. which is quite cool, when you what to update your node without taking everything down.
              I'm not really convinced with the ATSHA204 tho

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #12

              @frenchclem do you have another security solution planned or do you intend to skip security and completely rely on sw implementations only for security?
              I do not recommend that as it makes the board sensitive for memory dumping which would reveal the secret shared keys which in turn would compromise the network. The atsha204 protects from that type of attack.

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              F 1 Reply Last reply
              0
              • korttomaK Offline
                korttomaK Offline
                korttoma
                Hero Member
                wrote on last edited by
                #13

                What I would like is basically a Sensebender Micro without the Si7021 but with the NRF24L01+ on the same tiny board.

                • Tomas
                1 Reply Last reply
                0
                • AnticimexA Anticimex

                  @frenchclem do you have another security solution planned or do you intend to skip security and completely rely on sw implementations only for security?
                  I do not recommend that as it makes the board sensitive for memory dumping which would reveal the secret shared keys which in turn would compromise the network. The atsha204 protects from that type of attack.

                  F Offline
                  F Offline
                  frenchclem
                  wrote on last edited by
                  #14

                  @Anticimex not really. My first idea about this board was to say : lot of us by chinese arduino pro, NRF24L01, spend some time soldering everything together, because we are looking for the cheapest solution even if its not the most sexy one, the most secured one, ... So a lot of us, end up designing their own little board, with DIP Atmega, to have something smaller, more sexy, but not secured.

                  So I guess on my first thought, this board is more for all these people. Now when you start digging, and thinking about it, of course you want to add stuff to it, temp sensors, EEPROM, security.
                  My ultimate goal is the price, on that I won't deviate.
                  Then the secondary goal is size, functionality, and evolution : on that I'm open.

                  • The more I think about it, the more I thinking that the temp sensor is expensive and maybe not mandatory
                  • EEPROM : I really like the Idea of OTA FW update, plus you can get red of the ISP programming pin. But I'm not sure whether it's working already on mysensors or not (I have not look to be honest)
                  • atsha204 : As I said, I lot of us don't use HW protection with our DIY solution. But I like the idea of secured communication, so if it's not a cost driver (I have not quoted the chip yet) then it could be part of the board.

                  By Evolution, I mean that I could throw in some PCB foot print, for SI7021, or other component (on the bottom side for example) so people that want to add more functionality would be able to.

                  @korttoma I agree, SI7021 might not be absolutely necessary. About the size of the board, there is no way it will be the same size as sensebender ! @tbowmo did an incredible job on that board, plus he used 0402 chip which can be a cost driver for some production. I'll keep it small, but not as small at the sensebender !

                  AnticimexA 1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    frenchclem
                    wrote on last edited by
                    #15

                    Small Update : Got the first quote for PCB and PCB assembly in china. That validates that the $7 objective of the board is feasible for 400 boards batch.

                    I ask for quotation the atsha204, some packaging are obsolete, which one is used on the Sensebender ? Sot23 or SOIC, or TSSOP ?

                    Also for size reduction, I thing I'll use the ATMEGA QFN32

                    Now lets do a dummy proto board for antenna benchmarking

                    1 Reply Last reply
                    0
                    • F frenchclem

                      @Anticimex not really. My first idea about this board was to say : lot of us by chinese arduino pro, NRF24L01, spend some time soldering everything together, because we are looking for the cheapest solution even if its not the most sexy one, the most secured one, ... So a lot of us, end up designing their own little board, with DIP Atmega, to have something smaller, more sexy, but not secured.

                      So I guess on my first thought, this board is more for all these people. Now when you start digging, and thinking about it, of course you want to add stuff to it, temp sensors, EEPROM, security.
                      My ultimate goal is the price, on that I won't deviate.
                      Then the secondary goal is size, functionality, and evolution : on that I'm open.

                      • The more I think about it, the more I thinking that the temp sensor is expensive and maybe not mandatory
                      • EEPROM : I really like the Idea of OTA FW update, plus you can get red of the ISP programming pin. But I'm not sure whether it's working already on mysensors or not (I have not look to be honest)
                      • atsha204 : As I said, I lot of us don't use HW protection with our DIY solution. But I like the idea of secured communication, so if it's not a cost driver (I have not quoted the chip yet) then it could be part of the board.

                      By Evolution, I mean that I could throw in some PCB foot print, for SI7021, or other component (on the bottom side for example) so people that want to add more functionality would be able to.

                      @korttoma I agree, SI7021 might not be absolutely necessary. About the size of the board, there is no way it will be the same size as sensebender ! @tbowmo did an incredible job on that board, plus he used 0402 chip which can be a cost driver for some production. I'll keep it small, but not as small at the sensebender !

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #16

                      @frenchclem then why don't just use the existing SenseBender board design files and just order the raw PCB and then solder only the components you want? It's open hardware. You get the footprints to add components later on if you need. To me it sounds like you would like to build a SenseBender but skip a few components to keep BOM cost down.

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      F 1 Reply Last reply
                      0
                      • AnticimexA Anticimex

                        @frenchclem then why don't just use the existing SenseBender board design files and just order the raw PCB and then solder only the components you want? It's open hardware. You get the footprints to add components later on if you need. To me it sounds like you would like to build a SenseBender but skip a few components to keep BOM cost down.

                        F Offline
                        F Offline
                        frenchclem
                        wrote on last edited by
                        #17

                        @Anticimex I'm thinking about that option too, as a back up solution if I fail with RF.
                        Also I think Sensebender is missing voltage regulator and connector so one can choose battery operation or other power supply

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          frenchclem
                          wrote on last edited by
                          #18

                          @Anticimex still thinking about the ATSHA204 and the HW security vs SW security.
                          If you have a node with the ATSHA204, does the GW needs to have it on board to ?
                          BTW do you have the link to the security thread so I can update my knowledge on that side ? please

                          mfalkviddM AnticimexA 2 Replies Last reply
                          0
                          • F frenchclem

                            @Anticimex still thinking about the ATSHA204 and the HW security vs SW security.
                            If you have a node with the ATSHA204, does the GW needs to have it on board to ?
                            BTW do you have the link to the security thread so I can update my knowledge on that side ? please

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by mfalkvidd
                            #19

                            @frenchclem said:

                            @Anticimex still thinking about the ATSHA204 and the HW security vs SW security.
                            If you have a node with the ATSHA204, does the GW needs to have it on board to ?
                            BTW do you have the link to the security thread so I can update my knowledge on that side ? please

                            Signing thread http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/1
                            Software and hardware signing can be mixed, no problem. The biggest difference is that software adds a few kB to the sketch size and that the key can be extracted if someone "borrows" a software-based node.

                            1 Reply Last reply
                            0
                            • F frenchclem

                              @Anticimex still thinking about the ATSHA204 and the HW security vs SW security.
                              If you have a node with the ATSHA204, does the GW needs to have it on board to ?
                              BTW do you have the link to the security thread so I can update my knowledge on that side ? please

                              AnticimexA Offline
                              AnticimexA Offline
                              Anticimex
                              Contest Winner
                              wrote on last edited by
                              #20

                              @frenchclem my post is pinned in the development category so you should have no problem finding it. SW and HW signing is compatible so no, you don't have to have hw support in your gw. But sw signing also take more memory. And the quality of the random numbers is much poorer.

                              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                frenchclem
                                wrote on last edited by
                                #21

                                Thanks I'll read that carefully.

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

                                  @frenchclem

                                  I would suggest to at least add the footprint for ATSHA204A (sot23 housing) on the board. Also with external flash / eeprom, add the footprint..

                                  Another thing, does the price quotation include raw pcb's, all components, and smd assembly? What type of PCB materials have you specified for them to give a quote (RF performance depends on this!). Component quality (specially around the RF parts).

                                  Please remember to give the end users as many options to use the board, as possible.. A feature that you think is not necessary (due to pricing etc.) is the one thing that users want to have on the board. And thus find something else instead.

                                  Also please have a look at mysx connector description https://github.com/mysensors-kicad/documentation/blob/master/TheMYSXconnector.pdf this will be used by more projects in the future..

                                  1 Reply Last reply
                                  1
                                  • F frenchclem

                                    Dear MySensors Community,
                                    I'm thinking on lunching a project aiming to making a cheap, compact, and less soldering solution for the Mysensors enthusiastic people. As Mysensors project is aiming at less programming :-)
                                    So the base line is : a $7 all in one Mysensors+NRF24L01
                                    I know the Sensbender board is here, but you must solder a NRF module on top of it, and it's not so cheap.

                                    In more details here is what I have in mind : (nothing new really)

                                    • ATMEGA328P
                                    • NRF24L01+ with PCB Antenna OR Chip Antenna
                                    • ISP programmer Breakout
                                    • Temperature sensor (maybe humidity)
                                    • break out of main GPIO
                                    • power side : Battery supply on 3.3V direct, or 5V external with 3.3 regulator
                                    • SMC component not smaller that 0604
                                    • option on PCB : space for micro usb connector, and SMA connector

                                    I have already quoted a BOM, I'm waiting for PCB and PCB assembly quote from 2 manufacturer. I'm quite confident that this is feasible for 200 or more boards.

                                    the main challenge here, from my point of view is wireless connectivity with chip or PCB Antenna. The rest is open source and all over the web.

                                    Let me know your point of view.

                                    I'll update the schematic I'm working on soon.

                                    ahmedadelhosniA Offline
                                    ahmedadelhosniA Offline
                                    ahmedadelhosni
                                    wrote on last edited by
                                    #23

                                    @frenchclem I have a question please. Why do most people add temp and hum sensors in every node ? I really can't get the benefit of that.
                                    Thanks.

                                    F 1 Reply Last reply
                                    0
                                    • F Offline
                                      F Offline
                                      frenchclem
                                      wrote on last edited by frenchclem
                                      #24

                                      @tbowmo I will do my best to please the most ! I'm thinking about the footprint options. I'm also thinking about production option in one batch. If you think about it, in 400 boards, if you use the same Stencil, you can in case 1 populate the full board (EEPROM, temp sensors, ...), in case 2 only temp, and in case 3 the minimum. It's a minor program update to disable one or 2 ref. And then you have 3 types of complete board with three price to make everyone happy. I obviously won't be able to do that with chinese supplier, so I'll talk about that with the French supplier.

                                      I'm actually doing all the quotation with various hypothesis because I don't have yet any design file. I'm working on it. So I have not made a choice on specific ref for the RF part (only the couple of inductance and capacitor for the impedance matching are critical). The PCB will be 1mm thick, and the cooper trace 1oz. There will be no ground plan under the antenna.

                                      Thanks for sharing the MYSX connector, I'll take that into account too. Is there an eagle lib for it ? (I know it's standard dual row pin header, but the pin assignation could be useful to have directly via a lib)

                                      1 Reply Last reply
                                      0
                                      • ahmedadelhosniA ahmedadelhosni

                                        @frenchclem I have a question please. Why do most people add temp and hum sensors in every node ? I really can't get the benefit of that.
                                        Thanks.

                                        F Offline
                                        F Offline
                                        frenchclem
                                        wrote on last edited by
                                        #25

                                        @ahmedadelhosni Idk what to tell you, I guess Temp sensor is quite common, and fun thing to have inside and ouside.
                                        Many people like to know what is the weather ouside, and the can also use inside temp sensor to control their heating/cooling system.

                                        1 Reply Last reply
                                        0
                                        • scalzS Offline
                                          scalzS Offline
                                          scalz
                                          Hardware Contributor
                                          wrote on last edited by scalz
                                          #26

                                          @frenchclem: hi.
                                          I thought a little about your project to try to offer availability for people. I think, your project could be interesting, but is the wheel not being reinvented???
                                          Why I say this is because:

                                          • you are not talking about rfm but just in case : atmel+rfm69+eeprom -> moteino
                                          • nrf + atmel : could be fun for those who like nrf. But it is exactly what nrf51822 does, plus BLE...And it is cheap:
                                            http://www.seeedstudio.com/depot/MDBT40P  nRF51822 based BLE module-p-2503.html?cPath=19_21
                                          • so if you want to derive your board because people want more features, mysxconnector, auth, eeprom.... it's ok for non-battery powered I think...but it won't be optimized.
                                            If you don't care about this, so it will be sort of sensebender with integrated ant. or if you want to improve it a little, it would be a mix between moteino/sensebender...
                                          • So of course, there is a market for this...when you are noob, you don't know much about sensors, radio, powersavings and not aware about integration, assembling...but when you know this stuff. For proto ok, but with iot you want to integrate then. And you discover that nrf not the best radio, and "sort of arduino mini" is time consuming when assembling node if boards not well thought.
                                            Then you make like Anticimex, gert, myna, and me, your own board to find a way to optimize time, integration, cost, overall looking, and pleasure to diy. In my case, noob or not, I don't like wiring too much.
                                          • finally, I say this, but my board "MyTinyCamel" (not completely released yet because you will see...) is based on 328p. and I have another 1284p "camel" board because 328p doesn't have lot of mem if you want to play with lots of sensors.. for the moment it's ok, but I think these chip will become features/memory "deprecated" vs others chip. so is 328p a really good choice??? for the moment, maybe, and I stay with this because of availabilty but I have asked atmel for new chips availability...
                                          • did you see mytinycamel? it is exactly what you are trying to make...modularity, footprint, all what you said (but no ant integrated because I wanted to give options rfm or nrf ;) .and bonus it's ultra low power . I have upgraded it with some interesting feature since I have presented it. now I am thinking to ask fabhouse to propagate it for those who can't solder it, maybe in few versions as you thought too...

                                          All what I said, I hope you understand, is positive feedbacks only :) just my another 2cents thoughts, lol. I don't want to criticize your project as you are right, your idea could help people. it is not because it doesn't fit my needs that it same for others ;) Too bad we didn"t met when I started my projects...

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


                                          18

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          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