Tuesday, March 5, 2013

Gumball Machine 3: The Electronics

Gumball Machine 3:  The Electronics
 

Some projects are simply more fun than others.  This secret knock gumball machine, designed by Steve Hoefer, was such a project for me.
 
Click here to see the gumball machine in action
 
 Assembly of the electronic components was not easy for me. 
The machine’s actions are controlled by a tiny microprocessor called Arduino.  The code for these operations was written by Steve Hoefer and was easily downloadable from the internet.  Not quite as easy was the assembly of the circuit containing the sound sensor, the Led lights, and the servo mechanism.

Here is the wiring diagram.  It looks simple but every wire and pin in the circuit required a solder joint.

This is what the bench looks like in the thick of soldering.  Here are some of my problems.  My hands shake.  That is addressed by using a vise and small clamps to hold things together.  The parts to be joined are small and hard to see.  That is addressed with the magnifying visor.  Soldering is a skill and I have little experience.  This, and all the other problems, are addressed by actually working at it!

Some of my solder joints: They are sloppy but they work!

The assembled circuit and the Arduino microprocessor ready to be joined.  The Piezo electric sensor is the machine’s sense organ.  The device converts an electric current into a vibration (it buzzes) but it also converts a vibration into an electric current.  So, the piezo device converts the "knock" into a series of electric pulses.  The pulses are then evaluated by the microprocessor.  If the knock is correct the microprocessor activates a servo mechanism and a gumball is released.
The electronic components are assembled and ready for testing.

Adding the electronics to the case.

Now, adding the "knock Board" with the piezo sensor attached.


Voila! Ready to dispense gumballs!

    Click here for the "back Story".
    Click  here for cabinet construction.
     Visit my website.

 

22 comments:

  1. I as well believe hence , perfectly indited post! . Aliexpress Projectors

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. In spite of the fact that there are different things that can impact the business -, for example, customer gadgets accumulations, enactment and guidelines and fare issues - I trust that these 3 variables will have an increasingly significant effect on the fate of hardware reusing. OMC parts

    ReplyDelete
  4. koktale quite nice say. I just stumbled upon your weblog and wanted to publicize that i've without a doubt enjoyed browsing your weblog posts. After every sick be subscribing on your feed and that i dream you write inside the same manner as again quickly!

    ReplyDelete
  5. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. čistilni stroji

    ReplyDelete
  6. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! čistilni stroji

    ReplyDelete
  7. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. čistilni stroji
    koktale

    ReplyDelete
  8. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. Mouse Pad With Wrist Support

    ReplyDelete
  9. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. Silver Jewelry for Women Wedding

    ReplyDelete
  10. I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... motorola walkie talkie

    ReplyDelete
  11. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, ithor

    ReplyDelete
  12. Hello, I also would like to comment over all the points mentioned in this blog. I agree with essence of few point but somewhere I found myself on other place. I hope, there might little opinion of others as well.
    전자부품

    ReplyDelete
  13. I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks. Top 5 Gaming computer under 500$

    ReplyDelete
  14. I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks. Top 5 Gaming computer

    ReplyDelete
  15. Simply desire to say your article is as astonishing. The clarity in your post is simply excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the gratifying work. A Real man quotes sayings

    ReplyDelete
  16. Simply desire to say your article is as astonishing. The clarity in your post is simply excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the gratifying work. Bluetooth speakers at costco

    ReplyDelete
  17. Simply desire to say your article is as astonishing. The clarity in your post is simply excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the gratifying work. Top 5 Bluetooth Speakers

    ReplyDelete
  18. i love reading this article so beautiful!!great job! nodytalk

    ReplyDelete
  19. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. gm, ss, mrf, new

    ReplyDelete
  20. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing. DEll

    ReplyDelete