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
    #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
              • F Offline
                F Offline
                frenchclem
                wrote on last edited by frenchclem
                #27

                @scalz Yes, I know I'm not inventing anything, everything that I propose already exist
                the only, and MAJOR difference is the price : I'm following a design to cost process. What does it means : I take available hardware/schematics : NRF, Arduino (Sensebender, and other good board), ... and I try to redesign and make it as cheap as possible.
                The nrf51822 is indeed the killer, BUT it's not working yet with MySensors

                And I totally agree with you, if you work in HW and if you are not focused on the future (new chip, new protocols, new project, ...) then your project life expectancy is very little

                I obviously won't lunch mass production, so I'm running the process with 400 boards batch. So far, only based on hypothesis, meaning its pure fiction, meaning there is a margin of error in my calculation. The more I will progess, the more the margin of error will be important, and the better I will fine tune the final price.
                And I'm pretty sure that if we talk about bigger production batch, then the cost of a simple board could be as low as a couple of $

                Look at the low cost airline company, they didn't invent anything, they just optimized everything to drive cost down, and now they are very successful company.
                Look at the new Raspberry Zero (produced in EU) : given away for free with a magazine, and then sold for $5 !!
                I give out those example to illustrate that innovation is not always the key to success and to illustrate that the cheaper you go, the wider spread it will be ! (no need to add : if the quality is here)

                And just to be clear, I'm not doing this to earn money, because low cost, and small batch are usually not big money maker.

                Now clearly, if you tell me you will manufacture your Mytinycamel, and sell it under $7-10 fully equipped (board + radio) then I'll reconsider the project. and don't worry, if I didn't want to be challenged on the project I won't be here talking about it !
                "Too bad we didn"t met when I started my projects..." => It's maybe not too late !? If we are after the same goal, we can maybe add our skills ...

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

                  @frenclem: it's great to talk about this :smiley:
                  I completely agree with you and like I said we have same goals ;)
                  in my case, this week I will look more deeply to my bom (already made, and can be cheap if you don't use all features of course. the more you add the more it costs you are right). and ask few fabs to see. I quoted myself 7-10euros without radio of course, and sourcing myself not taking batch in account. As I prefer rfm69, of course it cannot be <10€ but for those reason I added nrf smd (cheap) footprint for those who wants cheap.
                  oh sorry, I am not saying it is for money. lol, you are right, low cost, good quality, needs enormous batch to make money. but, 400boards batch, wow still lots of money to invest...
                  yep, nrf51822 is a killer thing, if you like nrf...lol, ok i stop saying this! but I think it will work Mysensors because it is arm0 and tbowmo is working on this chip. can't wait to see his results ;)
                  rpi zero, impressive the cost they can achieve. for some simple embedded it can be nice. but at the age of iot...no connectivity, too bad! I say this because I have a project yun based. and I like rpi zero footprint.
                  but to me what could be crazy for battery operated nodes, is same thing nrf51822, but with hoperf.
                  teamworking...tempting..will think about it.for the moment, Im busy and am already working with someone.

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

                    For the really low prices (like Raspberry Zero at 5$). It all comes down to quantity! If you produce enough units, an buy components in large stocks, you can save a lot of money..

                    But in low volume productions, you can't benefit from the same high volume discounts on components, etc.

                    There is setup fees involved in production.. Think we have a base price of 300$ just for setting up the machine SMD mounting, and start mounting them. Which will be divided out on the boards you make (when making 300 boards, the price is then 1$ per pcba, now if you can make 300.000 boards in one batch, then the setup fee is only a minimal fraction of the unit price)

                    on the other hand, if you can save 10 cents per board, by using a cheaper capacitor, and produce 1.000.000 boards, then you actually save 100.000$.. while the saving on each pcb is only 10 cents.

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

                      @frenchclem

                      Just a thought that popped up in my head.. Have you thought about FCC / CE certifications? If you create a transmitter, that you want to distribute to others, you better have the certificates ready (Even for hobbyists)

                      Found this thread http://electronics.stackexchange.com/questions/161885/fcc-certification-for-nrf24l01

                      It might be that nrf modules from China is lacking the FCC certifications, but then "it's not your problem" as a hardware developer, when you let users buy the radio module separately (They can probably buy fcc certified modules from some suppliers..)

                      According to this, by using ready modules, you can skip FCC certification on transmitters
                      https://www.lsr.com/white-papers/fcc-guidance-on-transmitter-modules

                      I'm not saying that this isn't a good idea, it's a great idea! But producing a pcb (with transmitters) isn't just about BOM prices.. There is a lot of other things that you have to take into the equation as well.. And I fear that you haven't investigated all the details fully, and end up facing huge problems later on.

                      1 Reply Last reply
                      2
                      • F Offline
                        F Offline
                        frenchclem
                        wrote on last edited by
                        #31

                        @tbowmo
                        Indeed what you are pointing out is the Achilles heel of the project ! I haven't mention it because I haven't done my research on the subject. Their might be some solutions I will post on that later on.

                        And you are right once again, I haven't investigated all the details ... **yet ** ;-)
                        It's all a project is about, isn't it ? You have an idea, a goal, and then you investigate step by step to see whether you have a good chance of success or not. I use "good chance of success", because in every project you take some hypothesis, you take some risks, because success is never 100% sure.
                        At the beginning of the project, the chance of failure are very high, but its ok because the investment in very low (just time so far). And the more I'll progress, the lower the risk will be (if I did the investigation work properly) and then it will be ok to invest a little more.

                        It's also one of the reason why I post in here all of my project, this (all the comments, and feedback) helps me (and the Mysensors community) to evaluate the chance of success Vs the chance of failure. You guys can point out weak point and so on and so forth.

                        So I'm pretty glad you mentioned that, it shows me my project is of interest.
                        As mentioned, I will post on that specific crucial part once I'm done evaluating all of my options.

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

                          Hello there,
                          So after some reading, phoning, thinking, again and again about FCC/CE Certification here is the plan.
                          I'm not going to go for the FCC Certification, as it's way too expensive, but I'll run the test myself for CE compliance.
                          When FCC needs to be done by US agencies, the CE can be self-certified : you run the tests with the appropriate tools, make sure your design respects the requirements, and if so, keep the results in case anyone asks anything.
                          Now pretty much everywhere, I read that if your product is CE compliant, then your chance of getting the FCC on the first run is very high. Dropping the cost to a "small" $5k or so
                          So first, CE self certification, and then if needed/wanted/asked/ ... FCC, IT, ... other certifications. Meaning so US selling first just Europe. Are there many US folks using Mysensors ?

                          To run the test, I'm working with my University which has all the tools, and knowledge to assist me. Could be an interesting project to run with some student ... will see !

                          So regarding the design, zero risk must be taken regarding the RF part :

                          • the filtering components will be replaced by a Balun Filter from JOHANSON (http://www.johansontechnology.com/datasheets/baluns/Johanson nRF24L01_nRF24L01+_App_Note.pdf)
                          • I'll add a shielding on top of the RF part. Still looking for the right standard, low cost, easy mounting shield

                          I share a great guide from TI about antenna design : http://www.ti.com/lit/an/swra161b/swra161b.pdf
                          Now I want to try the Inverted F antenna presented in my early post, a Di pole antenna (no more Balun Filter), and Chip antenna and compare them the standard Meandered Inverted-F Antenna (MIFA) we all have on our NRF board !

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

                            interesting guide. thx for share :smiley:

                            1 Reply Last reply
                            0
                            • BigDogB Offline
                              BigDogB Offline
                              BigDog
                              wrote on last edited by
                              #34

                              i am realy exited about this project.
                              if you need a person to test the stuff and has not much expirients about mysensors and stuff (meby to know if someone with minimal expiriets with mysensors know to make it work ) plz contact me

                              i have seen manny peoples that want to use mysensors but hasnt got the knowhow to make a good script/programming to make al the conponments work

                              solding and connection the parts is the simple part to me :)

                              greets and Good luck for the project!

                              Bob

                              1x Raspberry With Domoticz V2.3011 [Linux version 4.1.6+]
                              PiRack With
                              -1X PiFace Digital
                              -1X RaZberry - OpenZWave
                              1X RFXtrx433 USB Firmware: 183
                              5X Arduino: mysensors V1.5(including)

                              • First DoorBel Project -> WORKS! :)
                                6x ESP8266: easy firmware(Testing)
                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                frenchclem
                                wrote on last edited by
                                #35

                                Small update here. I've been working on the routing part. it's been years since i played with the nets, and wires on Eagles ... Oh boy, its a mess ! and while placing, moving components, i was thinking , wow, the Balun filter, the NRF24L01 are going to be impossible to hand solder correctly ! and I don't really want to buy a microscope, a $300 soldering station, ...
                                So I looked around and found something interesting so I post it here, if some makers don't know about it, and are afraid of SMD soldering : OSH also make stencil for you, Kapton stencil for $5 ! https://www.oshstencils.com/index.php

                                then it's a peace of cake :-) or is it ? https://www.youtube.com/watch?v=1RMtOAHbfvU
                                Has anyone tried it before ? I'll definitely try it

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


                                14

                                Online

                                11.7k

                                Users

                                11.2k

                                Topics

                                113.0k

                                Posts


                                Copyright 2019 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