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. OpenHardware.io
  3. 💬 Very narrow and minimal switch node

💬 Very narrow and minimal switch node

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsbinary switchesi2cnrf24l01
66 Posts 19 Posters 25.9k Views 16 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.
  • GertSandersG GertSanders

    @carlierd The only specific thing about the boot loader is that it flashes the LED on pin D8 when starting up and it expects a transfer rate of 78600 when uploading sketches. Apart from that it is standard Optiboot 6.2 for operation at 8Mhz.

    I only have and use NRF24L01+, so RFM69HW is not in my plans or tests for the moment.

    Update: 15-FEB-2016
    The original boot loader was wrongly compiled for 4MHz, so when you try to upload at 38400, it will fail. Uploading the boot loader at 76800 when running at 8MHz will work, but timing in the sketches will be twice as short as expected.

    I replaced the original boot loader with a version compiled for 8MHz and upload speeds of 38400.

    I also added a second boot loader (for version v1-1) which is made for 8Mhz operation and upload speeds of 38400. This second boot loader flashes LED on pin D6.

    carlierdC Offline
    carlierdC Offline
    carlierd
    wrote on last edited by
    #13

    @GertSanders I will try to modify your design to replace the NRF with a RFM69. Thanks.

    1 Reply Last reply
    1
    • GertSandersG Offline
      GertSandersG Offline
      GertSanders
      Hardware Contributor
      wrote on last edited by
      #14

      Updated the design files with version 1-1. Explanation of what this version does will follow later (not that much more, but I2C extension is now an option).

      1 Reply Last reply
      0
      • M Offline
        M Offline
        meddie
        wrote on last edited by
        #15

        Very nice! It would be perfect if it would get an atsha204a and a flash module.
        Greets Eddie

        GertSandersG 1 Reply Last reply
        0
        • M meddie

          Very nice! It would be perfect if it would get an atsha204a and a flash module.
          Greets Eddie

          GertSandersG Offline
          GertSandersG Offline
          GertSanders
          Hardware Contributor
          wrote on last edited by
          #16

          @meddie not sure that would even fit on the board, have you seen the size?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            meddie
            wrote on last edited by
            #17

            @GertSanders
            the PCB must be a little bit longer. But the two chips are not big. The ATSHA201A is very small its a 3 PIN smd chip, and the flash chip is 8 pin.

            1 Reply Last reply
            0
            • GertSandersG Offline
              GertSandersG Offline
              GertSanders
              Hardware Contributor
              wrote on last edited by GertSanders
              #18

              @meddie I try to stay within the 50mm length limit, so that we can have the boards produced in a 50x50 format. Making it longer means we need to go to a 100x100mm format, and that makes it more costly (not necessarily per board, but some people do not need +50 sensor boards).

              At the moment we get 5 of these nodes within the 50x50mm limit, so a prototype run already produces 50 boards.

              Anyway, I'm not exscluding this idea, I just do not have a need for it now. The minimal node is meant to be minimal, not a complete MySensors node. If you need that, there is always the Sensebender Micro (which has it all built in).

              1 Reply Last reply
              0
              • Carl HC Offline
                Carl HC Offline
                Carl H
                wrote on last edited by
                #19

                @GertSanders I'm a fan of your boards. I have your 20x30mm board, AC/Capable 50x50mm board (my favorite) and now I ordered your v1.1 of your narrow board because you are agree my suggestion for I2C port with jumper ;)

                1 Reply Last reply
                0
                • Carl HC Offline
                  Carl HC Offline
                  Carl H
                  wrote on last edited by Carl H
                  #20

                  @GertSanders , 1 question, you have specified 1/8w resistor... did you know if 1/4w fit on narrow board ?

                  1 Reply Last reply
                  0
                  • GertSandersG Offline
                    GertSandersG Offline
                    GertSanders
                    Hardware Contributor
                    wrote on last edited by
                    #21

                    @Carl H If the 1/4w resistor can fit in pads 7mm apart from each other, then should be no problem. But they need to stay flat to fit under the processor.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jacikaas
                      wrote on last edited by
                      #22

                      Hello, @GertSanders I would like to ask. How I understand it is possible to load different sketch type to this board and then I could use it like one of MySensors sketches? For example could I load MyS humidity sketch? Thanks!

                      GertSandersG 1 Reply Last reply
                      0
                      • J jacikaas

                        Hello, @GertSanders I would like to ask. How I understand it is possible to load different sketch type to this board and then I could use it like one of MySensors sketches? For example could I load MyS humidity sketch? Thanks!

                        GertSandersG Offline
                        GertSandersG Offline
                        GertSanders
                        Hardware Contributor
                        wrote on last edited by
                        #23

                        @jacikaas: to program the processor, you need to remove it from the board and program it on a breadboard or another board with ftdi interface.
                        But you can load a sketch like the humidity sensor sketch if you add a I2C sensor like a SI7021. I plan to do just that.

                        1 Reply Last reply
                        1
                        • GertSandersG Offline
                          GertSandersG Offline
                          GertSanders
                          Hardware Contributor
                          wrote on last edited by GertSanders
                          #24

                          The very narrow boards v1-1 have arrived :-)

                          0_1456950291190_IMG_7800.jpg

                          0_1456950446982_IMG_7801.jpg

                          1 Reply Last reply
                          3
                          • GertSandersG Offline
                            GertSandersG Offline
                            GertSanders
                            Hardware Contributor
                            wrote on last edited by
                            #25

                            The latest member of my growing sensor family, a reedswitch sensor with wakeup from power down by change on pin 2, wakeup every 23 hours to report battery voltage, and of course a blinky light when these things happen :-)

                            0_1456959867067_IMG_7804.jpg
                            1_1456959867067_IMG_7805.jpg
                            2_1456959867067_IMG_7807.jpg

                            Just tested and found to be OK. Next board will be set up for using a I2C module (will be my smallest temperature sensor yet). Time for a glas of WestVleeteren and rest.

                            alexsh1A 1 Reply Last reply
                            2
                            • carlierdC Offline
                              carlierdC Offline
                              carlierd
                              wrote on last edited by
                              #26

                              Very nice !!
                              I just started learning Eagles to modify your board for RFM69 compatibility. The road will be long ;)
                              Could be good also to add ATSHA204A but in a second time !

                              David.

                              1 Reply Last reply
                              0
                              • GertSandersG GertSanders

                                The latest member of my growing sensor family, a reedswitch sensor with wakeup from power down by change on pin 2, wakeup every 23 hours to report battery voltage, and of course a blinky light when these things happen :-)

                                0_1456959867067_IMG_7804.jpg
                                1_1456959867067_IMG_7805.jpg
                                2_1456959867067_IMG_7807.jpg

                                Just tested and found to be OK. Next board will be set up for using a I2C module (will be my smallest temperature sensor yet). Time for a glas of WestVleeteren and rest.

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #27

                                @GertSanders said:

                                Just tested and found to be OK. Next board will be set up for using a I2C module (will be my smallest temperature sensor yet). Time for a glas of WestVleeteren and rest.

                                @GertSanders
                                Westvleteren Blonde is very nice :)
                                Can you please remind me the difference berwrrn v1 and 1-1?
                                I think it would be good to add FTDI connection, but the space is very limited

                                GertSandersG 2 Replies Last reply
                                0
                                • alexsh1A alexsh1

                                  @GertSanders said:

                                  Just tested and found to be OK. Next board will be set up for using a I2C module (will be my smallest temperature sensor yet). Time for a glas of WestVleeteren and rest.

                                  @GertSanders
                                  Westvleteren Blonde is very nice :)
                                  Can you please remind me the difference berwrrn v1 and 1-1?
                                  I think it would be good to add FTDI connection, but the space is very limited

                                  GertSandersG Offline
                                  GertSandersG Offline
                                  GertSanders
                                  Hardware Contributor
                                  wrote on last edited by GertSanders
                                  #28

                                  @alexsh1 FTDI would be nice to reprogram more easily, but in my case I have a stable sketch which is loaded 1 time, and then the node is deployed. No point in providing extra pins or using boardspace if it is only used once or twice.

                                  I saw that @AWI mentioned pogo-pins to make connections. Also a nice idea. In any case, my node is not designed to be flexible, and after programming I want to forget it. These nodes are sitting on doors and windows and need to do 1 thing only: show status of the reed-switched that are connected to them.

                                  But adding some pads so that pogo pins can make contact to RX, TX and !RESET would still be possible.

                                  It will be nice to see if a RFM69 radio can be connected by @carlierd . Looking forward to some pictures :-)

                                  AWIA 1 Reply Last reply
                                  0
                                  • alexsh1A alexsh1

                                    @GertSanders said:

                                    Just tested and found to be OK. Next board will be set up for using a I2C module (will be my smallest temperature sensor yet). Time for a glas of WestVleeteren and rest.

                                    @GertSanders
                                    Westvleteren Blonde is very nice :)
                                    Can you please remind me the difference berwrrn v1 and 1-1?
                                    I think it would be good to add FTDI connection, but the space is very limited

                                    GertSandersG Offline
                                    GertSandersG Offline
                                    GertSanders
                                    Hardware Contributor
                                    wrote on last edited by GertSanders
                                    #29

                                    @alexsh1

                                    The difference between v1-0 and V1-1:

                                    V1-0:
                                    has 4 pins connected to VCC, GND, D2, D3 (in this sequence).
                                    LED is connected to D8

                                    V1-1:
                                    has 4 pins, of which 2 are fixed. Vcc and GND are at the outside (closest to board edge).
                                    The two pins in the middle (pin1 and pin2) can be connected to two different pins each by using the solder jumper.
                                    pin1 can be connected to SDA/A4 or to D2
                                    pin2 can be connected to SCL/A5 or to GND
                                    LED is connected to D6

                                    1 Reply Last reply
                                    0
                                    • GertSandersG GertSanders

                                      @alexsh1 FTDI would be nice to reprogram more easily, but in my case I have a stable sketch which is loaded 1 time, and then the node is deployed. No point in providing extra pins or using boardspace if it is only used once or twice.

                                      I saw that @AWI mentioned pogo-pins to make connections. Also a nice idea. In any case, my node is not designed to be flexible, and after programming I want to forget it. These nodes are sitting on doors and windows and need to do 1 thing only: show status of the reed-switched that are connected to them.

                                      But adding some pads so that pogo pins can make contact to RX, TX and !RESET would still be possible.

                                      It will be nice to see if a RFM69 radio can be connected by @carlierd . Looking forward to some pictures :-)

                                      AWIA Offline
                                      AWIA Offline
                                      AWI
                                      Hero Member
                                      wrote on last edited by
                                      #30

                                      @GertSanders A bit off a hassle, but I don't need pads... ;-)

                                      0_1457102582398_upload-7fc04aa0-f360-48dd-b170-601e208392ee

                                      GertSandersG 1 Reply Last reply
                                      2
                                      • AWIA AWI

                                        @GertSanders A bit off a hassle, but I don't need pads... ;-)

                                        0_1457102582398_upload-7fc04aa0-f360-48dd-b170-601e208392ee

                                        GertSandersG Offline
                                        GertSandersG Offline
                                        GertSanders
                                        Hardware Contributor
                                        wrote on last edited by
                                        #31

                                        @AWI very nice, where did you buy the pins ?

                                        AWIA 1 Reply Last reply
                                        0
                                        • GertSandersG GertSanders

                                          @AWI very nice, where did you buy the pins ?

                                          AWIA Offline
                                          AWIA Offline
                                          AWI
                                          Hero Member
                                          wrote on last edited by
                                          #32

                                          @GertSanders I used these pins. These work for me but there are many other types in the same store which could serve your needs better.

                                          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