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. My Project
  3. 2AA Sensor Board + RPI Gateway + RGBW Dimmer

2AA Sensor Board + RPI Gateway + RGBW Dimmer

Scheduled Pinned Locked Moved My Project
30 Posts 12 Posters 22.8k 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.
  • M Myna

    Hi everyone,

    I was close to buy a Fibaro complete set until I discovered MySensors Project. This project is really cool, I'd like to thanks everyone involved in it. I'm more an hardware guy, so I wanted to do a little sensor board that I can spin for 10 units or something like that to cover the needs of my apartment.

    I decided to design a little sensorboard that fit on the back of a 2AA holder ( 58*33mm) that can fit all the sensors I would need. The idea is that once you have the PCB, you solder just what you need on it. But it can work with every sensors populated also.

    After days of reading and comparing sensors / supplies solutions, these are the specifications I choose:

    • Works on two AA batteries in series. Use an MCP16252 to generate 3.3V that is enabled by default but can be switched off (and so bypassed) by the MCU if the batteries voltage is enough.
    • Battery voltage monitored by the MCU
    • Arduino compatible atmega328p design. External 512k spi flash for future OTA
    • RFM69HCW design. It seems this is better for range and overall reliability ?
    • PIR sensor: Custom design with the E931.96
    • Light sensor: TSL2591
    • Temp/Humidity sensor: Can use SI7020, HTU21D, and SHT2x range from sensirion
    • Pressure sensor: BMP280
    • IMU: MPU6050, MPU9255
    • Two RGBW 5050 LEDs
    • Extension connectors that can be used to stack extension board on top of the PCB.

    I estimated it could achieve 1 to 3 years of battery life. I try to implement every hardware energy saving possibilities (hardware interrupts, ...).

    Have you any advice or comments on this ? I have zero experience with MySensors and these sensors, so that could help. Here is a preview of the PCB : (routing still in progress). If anyone would like to see the schematics, I just need to clean it to release. This will be open source hardware if anyone is interested.

    mysens1.jpg

    Myna

    F Offline
    F Offline
    freeck
    wrote on last edited by freeck
    #21

    @Myna

    Hi there,

    Is there a driver available for the PIR E931.96 interface chip? There are sources available for an arm-processor, but for atmel328?
    PIR-sensor LHI968 as used in an application note of Excelitas is available at aliexpress for aprox 2 Euro.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Myna
      wrote on last edited by
      #22

      Hi there !

      I'm waiting for the boards and some components. Then I will be able to test, and write drivers (E931.96, no driver at the moment) and software for the system.

      I'm cleaning my files / schematics to release everything.

      I wasn't really aware of MYSX connector. After looking the PDF specs, It's not even clear how many pins it has, it look like every new versions add some pins ? It could be considered for a future version.

      The thing is I have never worked on an home automation before, nor mysensors. So the idea here was to design a few board that are enough for my basic project needs (RGBW lighting, low voltage halogen lighting, multiple multisensor, Jeedom RPI controller). At the moment I don't really know what flavor of extensions I would one day like to add to the boards so I tried to breakout a maximum of pins, with clear silkscreen, even if it makes the boards bigger. I see this as a dev project to dive into mysensors. Future rev will probably follow if it works for me.

      Myna

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Myna
        wrote on last edited by
        #23

        PCB and some components are are now arrived ! PCB are from Elecrow, I'm pretty satisfied with the result and silkscreen.

        Hopefully I will be able to start some tests this weekend.

        **2AA Multisensorboard: **
        IMG_20151218_175039.jpg

        **RGBW Dimmer board: **
        IMG_20151218_174637.jpg

        **Raspberry Pi Serial Node : (fit in this little plastic case) **
        IMG_20151218_173920.jpg

        Myna

        1 Reply Last reply
        3
        • D Offline
          D Offline
          DavidZH
          wrote on last edited by
          #24

          That looks promising! Is there any chance you'll release the files for others to use? I'm very interested in the dimmer module. And I'm glad there's more people using the RFM69. I thought I was a lone ranger in that respect.

          M 1 Reply Last reply
          0
          • D DavidZH

            That looks promising! Is there any chance you'll release the files for others to use? I'm very interested in the dimmer module. And I'm glad there's more people using the RFM69. I thought I was a lone ranger in that respect.

            M Offline
            M Offline
            Myna
            wrote on last edited by
            #25

            @DavidZH Of course, this is an openharware project, everything will be released ! I can share the files in the current state but this is early dev state: I've already found two errors in the PCBs.

            After some soldering and fiddling with software I have the gateway talking to one sensorboard : I'm excited !

            1 Reply Last reply
            0
            • D Offline
              D Offline
              DavidZH
              wrote on last edited by
              #26

              Cool! This thread will be bookmarked!

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Myna
                wrote on last edited by
                #27

                Testing the folowing hardware:

                12421748_10208518385382383_125320644_n.jpg

                12395298_10208518385462385_856753459_n.jpg

                It seems to work (basic hardware test). It still miss the DC/DC convefter and PIR sensor.

                However, I have a very strange problem with RFM69:

                gateway -> node rfm communication seems to have a very good range (Even with no antenna on the gateway, work everywhere in my appartment). But node -> gateway dont work past 30 ou 40cm. Tested with same 3.3V regulated supply. Any idea?

                Thanks!

                1 Reply Last reply
                0
                • alexsh1A Offline
                  alexsh1A Offline
                  alexsh1
                  wrote on last edited by
                  #28

                  @Myna Hi, Any update on this project please?

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    chbla
                    wrote on last edited by
                    #29

                    any update?

                    1 Reply Last reply
                    0
                    • pepsonP Offline
                      pepsonP Offline
                      pepson
                      wrote on last edited by pepson
                      #30

                      Hi
                      Where we can found files project to create PCB ?
                      And for Gateway MySensors it will also works with Radio RFM69HW ( Not RFM69HCW) ?

                      Or is any chance to create PCB Gateway for Radio RFM69HW ?

                      Or maybe Radio RFM69HCW and RFM69HW is compatible ?

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


                      12

                      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