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. DIY Blind Control Motor

DIY Blind Control Motor

Scheduled Pinned Locked Moved My Project
49 Posts 9 Posters 44.5k Views 8 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.
  • korttomaK Offline
    korttomaK Offline
    korttoma
    Hero Member
    wrote on last edited by
    #6

    I really did not put much thought in to the physical setup, I just squeezed it in to as small a box I could. Here is some pictures. Still waiting for some parts to get it mounted.

    I forgot to mention that the "sleep" pin of the driver board is also connected to the arduino to enable the motor to spin freely when it is not being controlled from the arduino. I want it to be possible to use the original cord to open/close the blinds also (WAF).

    WP_20140606_001.jpg

    WP_20140606_002.jpg

    • Tomas
    N 2 Replies Last reply
    0
    • greglG Offline
      greglG Offline
      gregl
      Hero Member
      wrote on last edited by
      #7

      Nice work...Especially your platting of the wires! ( id need my daughters to do that!)

      What sort of torque can you get out of a motor that size? I bought some tubular blind motors ( sight unseen) on ebay...but the diameter of them is too big for standard internal blind tubes....bummer!

      Cant wait to see your creation in action and how you connect the motor the the blind...

      Great stuff!

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

        Platting is not that hard. If you are an engineer you just need the will to do something and then you just make it happen, one way or another (youtube).

        It said "Holding torque : 2.8 kg.cm" on the ebay site, whatever that means.

        I'll update with it in action as soon as I find a way to connect it to my blinds, still missing some parts so it might be a few weeks...

        • Tomas
        1 Reply Last reply
        0
        • N Offline
          N Offline
          naveen
          wrote on last edited by
          #9

          I'm not clear on why you need the EasyDriver V44 red board, can't the arduino board control the stepper motor directly?

          PS. Setup looks great! Looking forward to seeing the pictures of it all installed and functional!

          BulldogLowellB 1 Reply Last reply
          0
          • N naveen

            I'm not clear on why you need the EasyDriver V44 red board, can't the arduino board control the stepper motor directly?

            PS. Setup looks great! Looking forward to seeing the pictures of it all installed and functional!

            BulldogLowellB Offline
            BulldogLowellB Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by
            #10

            @naveen

            likely the stepper motor's power requirements... Arduino outputs only 40mA on a pin

            N 1 Reply Last reply
            0
            • BulldogLowellB BulldogLowell

              @naveen

              likely the stepper motor's power requirements... Arduino outputs only 40mA on a pin

              N Offline
              N Offline
              naveen
              wrote on last edited by
              #11

              @BulldogLowell

              In the servo example sketch on the site there's no driver board - I guess the Arduino can support certain motors but not others?

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

                Like BULLDOGLOWELL said it is due to the current consumption of the motor.
                The motor I use needs up to 400mA so it is 10 times what the arduino can handle.

                • Tomas
                1 Reply Last reply
                0
                • korttomaK korttoma

                  I really did not put much thought in to the physical setup, I just squeezed it in to as small a box I could. Here is some pictures. Still waiting for some parts to get it mounted.

                  I forgot to mention that the "sleep" pin of the driver board is also connected to the arduino to enable the motor to spin freely when it is not being controlled from the arduino. I want it to be possible to use the original cord to open/close the blinds also (WAF).

                  WP_20140606_001.jpg

                  WP_20140606_002.jpg

                  N Offline
                  N Offline
                  naveen
                  wrote on last edited by naveen
                  #13
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    naveen
                    wrote on last edited by naveen
                    #14

                    TL;DR:
                    Tried using a 12V 2A power supply, caused issues with the EasyDriver (flashing LED). I found an old 12V 1.5A power supply from a WD External HDD and it works fine (the unedited EasyStepper.ino from @korttoma).

                    Now I'm looking for a good power supply supplier to avoid this issue in the future...or can I buy some sort of regulator to regulate 12-20V 2A to 12V 2A?

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      naveen
                      wrote on last edited by
                      #15

                      I purchased: http://www.ebay.ca/itm/New-CNC-Nema17-Hybrid-Stepper-Motor-DC12V-2-Phase-4000g-cm-4-Lead-1-8-Degree-dvg/261449715274?_trksid=p2045573.c100033.m2042&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20140423084956%26meid%3D8553692874532777649%26pid%3D100033%26prg%3D20140423084956%26rk%3D2%26rkt%3D4%26sd%3D191109030885

                      and the motor is turning extremely slow using the EasyDriver V4.4 . It says the motor is rated at 12V 1.3A but the EasyDriver is only up to 700mA. The EasyDriver gets very hot as well, could this be the reason? I'm thinking of switching to the Big Easy Driver but I'm not sure if it'll help

                      korttomaK 1 Reply Last reply
                      0
                      • N naveen

                        I purchased: http://www.ebay.ca/itm/New-CNC-Nema17-Hybrid-Stepper-Motor-DC12V-2-Phase-4000g-cm-4-Lead-1-8-Degree-dvg/261449715274?_trksid=p2045573.c100033.m2042&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20140423084956%26meid%3D8553692874532777649%26pid%3D100033%26prg%3D20140423084956%26rk%3D2%26rkt%3D4%26sd%3D191109030885

                        and the motor is turning extremely slow using the EasyDriver V4.4 . It says the motor is rated at 12V 1.3A but the EasyDriver is only up to 700mA. The EasyDriver gets very hot as well, could this be the reason? I'm thinking of switching to the Big Easy Driver but I'm not sure if it'll help

                        korttomaK Offline
                        korttomaK Offline
                        korttoma
                        Hero Member
                        wrote on last edited by
                        #16

                        @naveen Sorry for the late reply. I think it is safe to use the EasyDriver board on that motor because it has a current limiter. My guess is the EasyDriver board runs hot because you do not put it to sleep when not moving. Basically the EasyDriver board is holding the motor in its current position by feeding full current trough one of the coils. If you do not want it to hold it down by full force so it is impossible to rotate the motor you need to connect the sleep pin.

                        I have a similar motor also that I plan to use with the EasyDriver but I have not had a chance to wire it yet.

                        The Big Easy Driver board looks nice, I think I will order one of those to...

                        • Tomas
                        N 1 Reply Last reply
                        0
                        • korttomaK korttoma

                          @naveen Sorry for the late reply. I think it is safe to use the EasyDriver board on that motor because it has a current limiter. My guess is the EasyDriver board runs hot because you do not put it to sleep when not moving. Basically the EasyDriver board is holding the motor in its current position by feeding full current trough one of the coils. If you do not want it to hold it down by full force so it is impossible to rotate the motor you need to connect the sleep pin.

                          I have a similar motor also that I plan to use with the EasyDriver but I have not had a chance to wire it yet.

                          The Big Easy Driver board looks nice, I think I will order one of those to...

                          N Offline
                          N Offline
                          naveen
                          wrote on last edited by
                          #17

                          @korttoma

                          The speed is also really slow, I can't get past about 400microsteps/second (which is 50 steps * 1.8deg/step = 90deg/sec) - that doesn't seem normal...right? I set the max speed and speed to 8000 and it doesn't seem to help.

                          Would low current cause low speeds? It does turn the correct amount, though.

                          korttomaK 1 Reply Last reply
                          0
                          • N naveen

                            @korttoma

                            The speed is also really slow, I can't get past about 400microsteps/second (which is 50 steps * 1.8deg/step = 90deg/sec) - that doesn't seem normal...right? I set the max speed and speed to 8000 and it doesn't seem to help.

                            Would low current cause low speeds? It does turn the correct amount, though.

                            korttomaK Offline
                            korttomaK Offline
                            korttoma
                            Hero Member
                            wrote on last edited by korttoma
                            #18

                            @naveen could be that you are right and the 700mA current is just not enough for your motor. Sorry I can't be of more help with your problems.

                            btw, I have updated my sketch to 1.4b1 and at the same time changed it so that I can basically send the blinds to any position between fully open and closed using the dimmer slider in Vera. And my setup has now performed flawlessly for over 1 month opening/closing twice every day.

                            I will share the sketch file when I get home if I remember.

                            • Tomas
                            N 1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              rafael.brasilia
                              wrote on last edited by
                              #19

                              I've mounted a little Fubata servo motor to my blinds and it works just fine. I drive it directly from my Arduino so no need to an external power supply. I have a button that opens and closes it. Now Im looking forward to connecting a RF Receiver on my Arduino so I can control it from my Veralite.
                              I like the servo motor better because it's smaller, cheaper and you can tell it exactly how many degrees it should turn (0 - 180).

                              N 1 Reply Last reply
                              0
                              • korttomaK korttoma

                                @naveen could be that you are right and the 700mA current is just not enough for your motor. Sorry I can't be of more help with your problems.

                                btw, I have updated my sketch to 1.4b1 and at the same time changed it so that I can basically send the blinds to any position between fully open and closed using the dimmer slider in Vera. And my setup has now performed flawlessly for over 1 month opening/closing twice every day.

                                I will share the sketch file when I get home if I remember.

                                N Offline
                                N Offline
                                naveen
                                wrote on last edited by
                                #20

                                @korttoma said:

                                @naveen could be that you are right and the 700mA current is just not enough for your motor. Sorry I can't be of more help with your problems.

                                btw, I have updated my sketch to 1.4b1 and at the same time changed it so that I can basically send the blinds to any position between fully open and closed using the dimmer slider in Vera. And my setup has now performed flawlessly for over 1 month opening/closing twice every day.

                                I will share the sketch file when I get home if I remember.

                                I pulled some of the pins to ground on the Big EasyDriver and it changed the number of microsteps and I was able to drive it faster, now I've got to find a decent gear to connect it to the blinds!

                                korttomaK 1 Reply Last reply
                                0
                                • R rafael.brasilia

                                  I've mounted a little Fubata servo motor to my blinds and it works just fine. I drive it directly from my Arduino so no need to an external power supply. I have a button that opens and closes it. Now Im looking forward to connecting a RF Receiver on my Arduino so I can control it from my Veralite.
                                  I like the servo motor better because it's smaller, cheaper and you can tell it exactly how many degrees it should turn (0 - 180).

                                  N Offline
                                  N Offline
                                  naveen
                                  wrote on last edited by
                                  #21

                                  @rafael.brasilia said:

                                  I've mounted a little Fubata servo motor to my blinds and it works just fine. I drive it directly from my Arduino so no need to an external power supply. I have a button that opens and closes it. Now Im looking forward to connecting a RF Receiver on my Arduino so I can control it from my Veralite.
                                  I like the servo motor better because it's smaller, cheaper and you can tell it exactly how many degrees it should turn (0 - 180).

                                  Servo would be great if you're able to do only 180 degrees to open/close your blinds - like venetian blinds or something

                                  1 Reply Last reply
                                  0
                                  • N naveen

                                    @korttoma said:

                                    @naveen could be that you are right and the 700mA current is just not enough for your motor. Sorry I can't be of more help with your problems.

                                    btw, I have updated my sketch to 1.4b1 and at the same time changed it so that I can basically send the blinds to any position between fully open and closed using the dimmer slider in Vera. And my setup has now performed flawlessly for over 1 month opening/closing twice every day.

                                    I will share the sketch file when I get home if I remember.

                                    I pulled some of the pins to ground on the Big EasyDriver and it changed the number of microsteps and I was able to drive it faster, now I've got to find a decent gear to connect it to the blinds!

                                    korttomaK Offline
                                    korttomaK Offline
                                    korttoma
                                    Hero Member
                                    wrote on last edited by
                                    #22

                                    @naveen said:

                                    I pulled some of the pins to ground on the Big EasyDriver and it changed the number of microsteps and I was able to drive it faster, now I've got to find a decent gear to connect it to the blinds!

                                    Ahh, that explains it I checked the Big Easy Driver user guide and it seems that it is set to "Sixteenth Step" Microstep Resolution by default compared to the EasyDriver that is set to "Eight step". So what did you set it to? I did not try anything else than the default, guess I could sett it to "Full Step" just to see if it would run more quiet.

                                    • Tomas
                                    N 1 Reply Last reply
                                    0
                                    • korttomaK Offline
                                      korttomaK Offline
                                      korttoma
                                      Hero Member
                                      wrote on last edited by
                                      #23

                                      btw, here is the sketch I'm currently running on 1.4b1 will be updateing to 1.4 soon.

                                      https://codebender.cc/sketch:44733

                                      • Tomas
                                      1 Reply Last reply
                                      0
                                      • korttomaK korttoma

                                        @naveen said:

                                        I pulled some of the pins to ground on the Big EasyDriver and it changed the number of microsteps and I was able to drive it faster, now I've got to find a decent gear to connect it to the blinds!

                                        Ahh, that explains it I checked the Big Easy Driver user guide and it seems that it is set to "Sixteenth Step" Microstep Resolution by default compared to the EasyDriver that is set to "Eight step". So what did you set it to? I did not try anything else than the default, guess I could sett it to "Full Step" just to see if it would run more quiet.

                                        N Offline
                                        N Offline
                                        naveen
                                        wrote on last edited by
                                        #24

                                        @korttoma said:

                                        @naveen said:

                                        I pulled some of the pins to ground on the Big EasyDriver and it changed the number of microsteps and I was able to drive it faster, now I've got to find a decent gear to connect it to the blinds!

                                        Ahh, that explains it I checked the Big Easy Driver user guide and it seems that it is set to "Sixteenth Step" Microstep Resolution by default compared to the EasyDriver that is set to "Eight step". So what did you set it to? I did not try anything else than the default, guess I could sett it to "Full Step" just to see if it would run more quiet.

                                        I've got it running on full steps right now and it seems to run pretty good. I might end up running it on half steps in the end.

                                        1 Reply Last reply
                                        0
                                        • N Offline
                                          N Offline
                                          naveen
                                          wrote on last edited by
                                          #25

                                          So I finally got the blinds set-up and working. A few tweaks to be made but overall it is working OK. One thing that would be really handy is if I could alter the speed variable through Vera, is there any way to create a custom variable in vera and send it to the Arduino?

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


                                          7

                                          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