element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum motor drive
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 388 subscribers
  • Views 329 views
  • Users 0 members are here
Related

motor drive

tsla
tsla over 5 years ago

now i will hold my hands up this is probalbily easy to do but i am new to arduino but basicaly its a method to open a door yes i know it would be done easyer but this is what fits the space i have and i know i could do it all manuely with switches and that but i wanted basicaly a 2 button oparation one to open one to close.
so how i see it working is i use one push button to open and you have 4 motors that run together to push the door out till it hits a limit swich and then useing 2 more motors it lifts the door up till it hits a limit switch
and to close its just to opasit you push another button that lowers the door till it hits a limit swich and pulls the door back in till it hits a limit swich

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 5 years ago +2
    Hi Scott, What you're describing is quite hard to do, especially for a beginner. On the surface it sounds easy, but anything electronic + mechanical becomes awkward due to needing to consider the success…
  • gadget.iom
    gadget.iom over 5 years ago +1
    shabaz has given some great advice here. I would also strongly recommend starting out with some simple switches and LED's until you get your logic sorted out, motors add a level of physical motion that…
  • shabaz
    shabaz over 5 years ago

    Hi Scott,

     

    What you're describing is quite hard to do, especially for a beginner. On the surface it sounds easy, but anything electronic + mechanical becomes awkward due to needing to consider the success and failure situations, such as delays due to things getting stuck, abort/back-out situation, limit switch failures, etc. Electrically you'd have to deal with stalls (high current), possibility of resets and so on.

    So, there is no easy answer, but to get the knowledge to begin prototyping this, you'll probably want to do some basic Arduino tutorials, concentrating on the areas of switching LEDs on and off with push buttons, reading inputs, working with loops and timers and state machines. If you're a beginner then from the software perspective you're likely a month away from doing that, you'll need to go through some training and practical experiments first. Start with simple projects and build up the knowledge.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 5 years ago

    shabaz has given some great advice here. I would also strongly recommend starting out with some simple switches and LED's until you get your logic sorted out, motors add a level of physical motion that could have disastrous consequences while experimenting.

     

    After getting some LED's and switches working the next important step will be looking at State Machines as shabaz also suggested. They are implemented in most Arduino projects, and will be used to manage the stages of your program execution. eg. "Door closed", "Push Out", "Lift Up", "Door Open", "Pull Down", "Pull In".

     

    The Arduino has a serial monitor, so you can also add some Serial.println commands to log the various stages of your program.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube