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 First project ever and need help!
  • 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
  • State Not Answered
  • Replies 25 replies
  • Subscribers 392 subscribers
  • Views 1503 views
  • Users 0 members are here
  • help
  • first_project
  • ben_heck
  • question
Related

First project ever and need help!

Former Member
Former Member over 10 years ago

     To start i'm 15 and this is my first project that I have sat down and actually planned out. Also please note I have little to no programming skills. My plan is to build a vending machine that is powered by an arduino board. The arduino would power servo motors that would then dispense the item. My question is where do I even start. What kind of motors should I get? Can the arduino even run several motors? How can I make this connectable to an outlet? (not battery powered). What equipment do I need? I have so many questions I could write book. Any design tips and help I can get would be great. Also any design changes you think would make the idea more efficient do share.Thanks.

  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 10 years ago in reply to Former Member +1
    A good way to do this would be to use a DC motor that will rotate at a fixed speed. You can then control that using your arduino while timing a 360 operation and/or using a optical sensor to detect a complete…
  • gadget.iom
    gadget.iom over 10 years ago in reply to gadget.iom +1
    As this post looks like it is going to be mostly Arduino based you may want to move this post to The specified item was not found. . You can do this by clicking 'Move' in the menu on the right.
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    The speed would be an issue. If directly connected to the motor your coil would spin 1700 times a minute, resulting in a dispensing rate of 28 items per second. A vending machine gun. image

    You would need some kind of gearbox to reduce the speed to a sensible ratio.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    You could take some inspiration from Jan Cumps in his article: [Christmas Wreath of Things] Internet of Holiday Lights: part 5 - Stepper Motor works.

    This approach only uses two I/Os from the Arduino and gives you more flexibility over the voltage of your stepper motor.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to gadget.iom

    I will keep searching for a high toqrue motor with board then. Good to know.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 10 years ago in reply to Former Member

    See if you have any surplus electronics stores in your area. Most big cities seem to have them, or a store that includes a surplus section.

    Unfortunately the Isle of Man is lacking in such a place, but I was in Montreal last month and there was one there. Sooooo tempted to fill my suitcase.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iexpress
    0 iexpress over 10 years ago

    Sounds like a good project. There could be two different types of motors you can use, Servo or Step Motors. Servos are continuous, while Step Motors are more accurate and have X amount of steps per revolution. Perhaps the snacks could be aligned so that one turn of the motor spindle would be enough to make the snack fall off.

     

    You could use a any Arduino pin as an input, say for sensing a coin, and even taking user input from a keypad. Some blank keypads have 8 pins, 16 buttons. 4 are used to supply voltage to, and 4 are used to read voltage level from. Most of the time, checking the pins for HIGH level is good enough for the MCU to take action.

     

    I'd say you could probably get a hardware controller circuit board working in about a week or two if you're starting from scratch. There are also coin receptors you can buy that send out clock pulses when coins are inserted to tell you what denomination went in the slot.

     

    Sure would be interesting to make your own machine. I was thinking on doing something similar, like an automated toothpick dispenser. Only one motor might be needed for that though. Hope this helps some.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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