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. 💬 Roller Shutter Node

💬 Roller Shutter Node

Scheduled Pinned Locked Moved OpenHardware.io
rollershuttercurrent sensorrelayblinds
107 Posts 25 Posters 38.2k Views 27 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
    Fabien
    wrote on last edited by
    #3

    No EEPROM and no FTDI ? With RFM69 we don't have MYSBootloader ... It's only NRF compatible ? And can you give us a sketch for the previous version ?

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

      @Fabien hehe! yep you're right, that's why I said I will try to do my best to put eeprom (and ftdi). I am just redesigning the overall to see what I can do/improve. And I hope @Tekka will come with some interesting news in future ;) but for the moment you're right. Rfm69 fit of course. Eeprom could I think, then this is ftdi that will be tricky, maybe smd pogopin 2.54 or 1.25mm pitch...or the oppposite, avrspi smd pogo and a connector for ftdi. I will see.
      Looking at my pics, I see few one or two milling missing!! but that's not finished yet.
      For sketch, later today, I will tell you, not complete but workable for the % opening.

      Thx for feedback

      S 1 Reply Last reply
      1
      • scalzS scalz

        @Fabien hehe! yep you're right, that's why I said I will try to do my best to put eeprom (and ftdi). I am just redesigning the overall to see what I can do/improve. And I hope @Tekka will come with some interesting news in future ;) but for the moment you're right. Rfm69 fit of course. Eeprom could I think, then this is ftdi that will be tricky, maybe smd pogopin 2.54 or 1.25mm pitch...or the oppposite, avrspi smd pogo and a connector for ftdi. I will see.
        Looking at my pics, I see few one or two milling missing!! but that's not finished yet.
        For sketch, later today, I will tell you, not complete but workable for the % opening.

        Thx for feedback

        S Offline
        S Offline
        Samuel235
        Hardware Contributor
        wrote on last edited by
        #5

        @scalz, between the two options if you can't fit both as normal headers, i would prefer the FTDI to have a connector and the ISP to be pogo pins :) I've been very interested in this board layout to learn from for my new AC module. Thank you for your upgrades!

        MySensors 2.1.1
        Controller - OpenHAB (Virtual Machine)
        Gateway - Arduino Mega MQTT Gateway W5100

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

          after few hours...eeprom is back! and all routed ;)
          for curious.. :)
          only one 5pins connector for actuator: vcc, gnd, and

          • I2C+D3 int (for gesture or tactile switch extension),
          • A4-A5-D3 for classic switch buttons UP/DOWN/STOP

          I just need to look to my programming port..and I update this too
          but looks better, cool :)

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

            ftdi is back too, with a reset switch in bonus :)
            I have uploaded preview in first post with some details. You can see there are now 3connectors! + reset (was missing in previous rev, and thought it was too bad, so it's there.). It was not so easy to fit everything!
            On 3d preview, we don't see millings but it's there (I didn't figured out how to 3d export..)

            So nrf revision is done, I am actually making the rfm69 changes and I order this...maybe tomorrow :)

            S GertSandersG 2 Replies Last reply
            2
            • scalzS scalz

              ftdi is back too, with a reset switch in bonus :)
              I have uploaded preview in first post with some details. You can see there are now 3connectors! + reset (was missing in previous rev, and thought it was too bad, so it's there.). It was not so easy to fit everything!
              On 3d preview, we don't see millings but it's there (I didn't figured out how to 3d export..)

              So nrf revision is done, I am actually making the rfm69 changes and I order this...maybe tomorrow :)

              S Offline
              S Offline
              Samuel235
              Hardware Contributor
              wrote on last edited by
              #8

              @scalz, fantastic revision upgrades. I love seeing your contributions, learning so much as i see each and every one. Thanks for the continued support!

              MySensors 2.1.1
              Controller - OpenHAB (Virtual Machine)
              Gateway - Arduino Mega MQTT Gateway W5100

              A 1 Reply Last reply
              1
              • TmasterT Offline
                TmasterT Offline
                Tmaster
                wrote on last edited by
                #9

                :+1:
                There it is ... the limit in size for this kind of boards with powersuply and 1 or 2 relays. I reach the same size on a protoboard with an arduino pro mini and its good for install inside wall swiches.

                Great work on that onboard arduino.(better only if you have onboard nrf24 :satisfied: )

                i'm a arduino fan .Even sometimes don't undestanding how to use it :P

                1 Reply Last reply
                0
                • scalzS scalz

                  ftdi is back too, with a reset switch in bonus :)
                  I have uploaded preview in first post with some details. You can see there are now 3connectors! + reset (was missing in previous rev, and thought it was too bad, so it's there.). It was not so easy to fit everything!
                  On 3d preview, we don't see millings but it's there (I didn't figured out how to 3d export..)

                  So nrf revision is done, I am actually making the rfm69 changes and I order this...maybe tomorrow :)

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

                  @scalz

                  I'm having trouble understanding how your AC side is connected.
                  Cab you show the schematic for this part ?

                  S 1 Reply Last reply
                  0
                  • GertSandersG GertSanders

                    @scalz

                    I'm having trouble understanding how your AC side is connected.
                    Cab you show the schematic for this part ?

                    S Offline
                    S Offline
                    Samuel235
                    Hardware Contributor
                    wrote on last edited by
                    #11

                    @GertSanders Any specific prt you're struggling with? I think i can see his routes and may be of some help until Scalz gets back to you.

                    MySensors 2.1.1
                    Controller - OpenHAB (Virtual Machine)
                    Gateway - Arduino Mega MQTT Gateway W5100

                    GertSandersG 1 Reply Last reply
                    0
                    • S Samuel235

                      @GertSanders Any specific prt you're struggling with? I think i can see his routes and may be of some help until Scalz gets back to you.

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

                      @Samuel235

                      I just realised: he is not using the two relays to give two AC sources, but uses them to switch a motor.

                      I was still in my mind thinking about my relay board (not published) which gives a contact with 220V when relay is closed and is AC free when relay is open.

                      But I will check his BOM to see which relays @scalz is using. They are smaller then the popular SONGLE relays and the pin layout is better for keeping AC away from low voltage circuitry.

                      S 1 Reply Last reply
                      0
                      • GertSandersG GertSanders

                        @Samuel235

                        I just realised: he is not using the two relays to give two AC sources, but uses them to switch a motor.

                        I was still in my mind thinking about my relay board (not published) which gives a contact with 220V when relay is closed and is AC free when relay is open.

                        But I will check his BOM to see which relays @scalz is using. They are smaller then the popular SONGLE relays and the pin layout is better for keeping AC away from low voltage circuitry.

                        S Offline
                        S Offline
                        Samuel235
                        Hardware Contributor
                        wrote on last edited by
                        #13

                        @GertSanders Please inform me of those he uses when you find them. I too like the look of those on his board. Does your module use solid state relays?

                        MySensors 2.1.1
                        Controller - OpenHAB (Virtual Machine)
                        Gateway - Arduino Mega MQTT Gateway W5100

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

                          hi guys :)

                          @Tmaster thx I'm glad ;) I'm not lucky this is so compact, so I couldn't have both footprint (rfm and nrf), argh so I made two rev. Don't ask me why, I still don't know, I'm going crazy :laughing:

                          @GertSanders schematic is already there. arg, I thought it was enough readable. what do you want to know about AC?
                          Here, for protecting shutter motor I had to put relays in serie.
                          So there is one SPST NO for "power". When enabled, if I remember right, it moves UP. Send logic 1 to the 2nd relay, and as it is SPDT it will go DOWN. Disable the first one, no more juice...
                          if motor is AC, the 12_220 pad need to be connected to one LIVE.
                          if motor is DC, 12_220 need to be connected to your DC source.

                          Relays I'm using are well known OMRON. G5Q. I choosed them exactly for what you said, size and footprint. Nice price at tme, I have a bunch of them ;) No ad :) I have other more powerful 16a too, for a special multi relays board...

                          I have modified a little bit my thing. Boards are ordered. I will try to upload asap. I'm a bit busy and would like to check few things before, you know..Oh, and I have other cool projects ongoing, I hope you will like them ;)

                          GertSandersG 1 Reply Last reply
                          0
                          • S Samuel235

                            @GertSanders Please inform me of those he uses when you find them. I too like the look of those on his board. Does your module use solid state relays?

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

                            @Samuel235
                            My board is using the cheap Songle relays (5V switches 10A 220VAC).

                            In the mean time I found out he is using G5Q by OMRON series. They have a Panasonic equivalent at Aliexpress, I will try those.

                            1 Reply Last reply
                            1
                            • scalzS scalz

                              hi guys :)

                              @Tmaster thx I'm glad ;) I'm not lucky this is so compact, so I couldn't have both footprint (rfm and nrf), argh so I made two rev. Don't ask me why, I still don't know, I'm going crazy :laughing:

                              @GertSanders schematic is already there. arg, I thought it was enough readable. what do you want to know about AC?
                              Here, for protecting shutter motor I had to put relays in serie.
                              So there is one SPST NO for "power". When enabled, if I remember right, it moves UP. Send logic 1 to the 2nd relay, and as it is SPDT it will go DOWN. Disable the first one, no more juice...
                              if motor is AC, the 12_220 pad need to be connected to one LIVE.
                              if motor is DC, 12_220 need to be connected to your DC source.

                              Relays I'm using are well known OMRON. G5Q. I choosed them exactly for what you said, size and footprint. Nice price at tme, I have a bunch of them ;) No ad :) I have other more powerful 16a too, for a special multi relays board...

                              I have modified a little bit my thing. Boards are ordered. I will try to upload asap. I'm a bit busy and would like to check few things before, you know..Oh, and I have other cool projects ongoing, I hope you will like them ;)

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

                              @scalz
                              No worries about the schematic. I was just confused (but it is clear now). Do you have a link for the relays ? I can find equivalents from Panasonic on the Aliexpress site. Not sure what vendor you mean with TME (url?)

                              I always look forward to your projects :-)

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

                                @GertSanders I'm reassured ;) I try to keep things understable but sometimes my brain is confused lol
                                Relays I'm using:
                                http://www.tme.eu/en/details/g5q-1-eu-5dc/miniature-electromagnetic-relays/omron/g5q-1-eu-5vdc/
                                http://www.tme.eu/en/details/g5q-1a-eu-5dc/miniature-electromagnetic-relays/omron/g5q-1a-eu-5vdc/
                                The cheaper I found at a trusted source. nice isn't it?

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

                                  @GertSanders a last note..that's not my very last schematic rev. On this previous one, you can see I was protecting globally the board with a 5Amp fuse, good for relays here (shutter motor don't use so much), but what about hilink?? not rated for 5a at all! So on bottom, I have added a smd fuses for the hilink only. So there are two fuses on my board now.
                                  Link of the smd fuse :
                                  http://www.mouser.com/ds/2/9/MF2410 Datasheet2013-247737.pdf
                                  I never tried this one so I will tell you if it works well. I have 0.8 and 1amp ref. I think it's largely enough secure...varistor, temp sensor, two fuses...lol I don't know if there are so much things in commercial products..If there is a problem on the board, lot of chance there is a bigger problem somewhere else lol

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

                                    Hey there :)

                                    sorry for delay, busy busy time..
                                    Just to say i have uploaded latest pics , and I will try to make a vid of the thing in action as soon as i can..
                                    See you soon!

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

                                      hi

                                      my node is still working well..i'm trying to reorganize my priority, I'm enough confident to release :blush:
                                      for the report, I don't remember if I explained how i did my acs calibration so..

                                      Here a pic of an homemade load, don't laugh, it can be useful :)

                                      0_1470429936597_load.JPG
                                      I can power 1 to 5 incandescent bulbs separately on a row, and there is also a switch to power completely the other row. So I was able to measure 0-1000W by 100W step. cool :)

                                      And the report after calibrating a bit opamp circuit

                                      0_1470430097752_acs_notes.png

                                      So you can see that's pretty nice.

                                      I know there could be some debate about the way I decided to do the endstop monitoring. I could have used other ways than acs sensors. but after footprint evaluation, cost, versatility etc..I preferred imho this way.
                                      Plus, like this, by using the opamp, I can have a nice curve for a 3V adc, keeping atmel 3v, and saving some uc cycle without doing sampling for 50hz etc...and I can use some fast adc for faster..

                                      1 Reply Last reply
                                      4
                                      • tonnerre33T Offline
                                        tonnerre33T Offline
                                        tonnerre33
                                        Hardware Contributor
                                        wrote on last edited by tonnerre33
                                        #21

                                        @scalz said:

                                        @tonnerre33 yep. you're right, it's cms I'm sorry :disappointed: I think.. good luck to fit everything with arduino mini in wall.
                                        About the cutoff, I replaced this by a simple temperature sensor for monitoring. imho, i have two fuses onboards + varistor, enough for me comparing to some commercial products. If it burns you have a big problem somewhere!! But sure it's better to know what you do, thermal fuses is good ;)

                                        About the cutoff, i understand you replaced this by a simple temperature sensor but do you cut the primary of the AC source if the temperature is too hight ?
                                        If we only cut the ouput relays and the problem came from the AC source, how we cut the power for stop the overheating ?

                                        Thx for your answers and thx for this project ;)

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

                                          @tonnerre33 : and how do you protect your thermofuse? :laughing: I'm joking :) I think it's a bit redundant, protection on protection for this project, especially..
                                          But that's an interesting question, I will try to answer how I have made my choice, I hope to not miss a point, and don't forget it is imho ;)

                                          About the fuse:

                                          • if you look at the board (topview), you will see that's too tight to put the thermofuse. And I prefer AC isolated on pcb side. The previous rev of this board was few millimeters more wide, and didn't fit well first. Now it's better
                                          • how to secure, I thought? what if hilink fails (paranoid mode as it's a nice module)? So I decided to put a dedicated fast blow fuse for hilink. Right, no temperature! (Note : there is another 5amps fuses but it's for handling relays).
                                          • Two choice, heu no 3 in fact.
                                            I could use rfm to monitor hilink temp...could work, not the best precision, but that would need I put rfm69 under hilink to be precise enough as I want. Maybe paranoid on EMI etc..but I didn't wanted to put the radio under hilink, and for antenna performance.
                                            So..a CTN? I was using this on the previous rev, under hilink.
                                            For this one, I have decided to use onewire sensor glued on hilink side. nice too.

                                          But..you're still right, no temp cutoff! damn!! But:

                                          • why would the temperature increase??? over current somewhere? on a bad hilink or something else? etc..
                                            The hilink fuse should be already dead at this moment! If I remember well the ref I use is a 500mah, there is 1A variant too. For lightnings storm etc.. there is also a varistor.
                                          • and what happens if temp increase? For thermofuse, are you notified if it happens? or a bit before it happens? Or can you predict it for weeks? In my case, I like the idea to be able to monitor/detect weeks before, than waiting it burn in the wall! in case the board starts to heat more than usual,
                                          • the hilink is already well protected.
                                          • what else :smile: ah yes! I have millings on the boards, respected creepage/clearance..

                                          Now, I'm curious, I would like to know how can I make my board burning in the wall? I would like to try..I think my main electric system will trigger too..

                                          Very personal opinion, perhaps i've not answered completely to your question...but i've answered why I thought it was redundant :)

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


                                          22

                                          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