Difference between revisions of "Hack-o-mat"

Jump to navigation Jump to search
1,749 bytes added ,  01:53, 5 March 2016
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is a work in progress! Currently [[User:Juul|Juul]] and [[User:Jerkey|Jerkey]] are working on this project.
= Idea =


[[File:Snackshop_II.JPG]]
We want to sell all kinds of hackery things from a vending machine in our hacker space! 3D printed objects, usb sticks, mate straws (and mate), caffeinated snacks, arduinos, mesh routers, logic analyzers, lyophilized DNA (biohacking), dogecoins, ear plugs, headphones, batteries, etc! See the [http://hackpack.me hackpack project] for more inspiration.


= Idea =
= Status =
 
[[File:IMG 1426.JPG|thumbnail|The black vending machine (a.k.a. vending1) is nearly ready to use (Mar. 2016)]]
 
There are currently two vending machines, one of which is ready to dispense product (as of March 2016).
 
Still needed:
* Product to dispense
* A lock for the door
* Something to direct the light from the fluorescent bulb so that it more clearly shows the product, rather than shining into the eyes of innocent bystanders
* A user interface
** some way to select a product
** a mechanism for providing payment
* A better place to put the trash and recycling bins that are currently blocking the front of the machine
* perhaps "soup bowl" coils for dispensing larger items like soylent packs https://snackattack.sharepoint.com/Pages/APSNACKMACHINEPARTS.aspx


We want to sell all kinds of hackery things from a vending machine in our hacker space! 3D printed objects, usb sticks, mate straws (and mate), caffeinated snacks, arduinos, mesh routers, logic analyzers, lyophilized DNA (biohacking), dogecoins, ear plugs, headphones, batteries, etc! See the [http://hackpack.me hackpack project] for more inspiration.
For more information, ask [[User:Juul|Juul]] and [[User:Jerkey|Jerkey]].


= Stocking the hack-o-mat with hacker candy =
= Stocking the hack-o-mat with hacker candy =
Line 13: Line 27:
*  generic CY7C68013A-56 on a board: http://item.ebay.com/200910097384  also see http://www.eevblog.com/forum/blog/eevblog-436-saleae-usb-logic-analyser-review-teardown/msg444169/#msg444169 and http://sunbizhosting.co.uk/~spiral/blog/?p=117
*  generic CY7C68013A-56 on a board: http://item.ebay.com/200910097384  also see http://www.eevblog.com/forum/blog/eevblog-436-saleae-usb-logic-analyser-review-teardown/msg444169/#msg444169 and http://sunbizhosting.co.uk/~spiral/blog/?p=117


*  $3 Arduinos!  search ebay for Pro Mini Atmega328  also include CP2102 (with cables) usb serial ports for programming
*  $3 Arduinos!  search ebay for Pro Mini Atmega328  also include CP2102 (with cables) usb serial ports for programming - five atmega328p-au boards for $11.87 http://www.ebay.com/itm/5PCS-Pro-Mini-atmega328-5V-16M-Replace-ATmega128-Arduino-Compatible-with-Nano-/311065690969?


* Bicycle inner tubes of all sizes!  red blinky taillights!
* Bicycle inner tubes of all sizes!  red blinky taillights!
Line 128: Line 142:
== Brain, display and selection ==
== Brain, display and selection ==


The original hardware was wired to use diodes on a board of switches, where the price was set for each product with five on/off switches, worth 5, 10, 20, 40, and 80 cents.  The user would press a button for the product they wanted.  Since we don't want to use the buttons that way, we need to use triacs (electronic relays for AC) for each of the 40 product motors.  We are designing a custom circuitboard to replace the binary coin-counter matrix with 40 charlieplexed triacs:
The original hardware was wired to use diodes on a board of switches, where the price was set for each product with five on/off switches, worth 5, 10, 20, 40, and 80 cents.  The user would press a button for the product they wanted.  Since we don't want to use the buttons that way, we need to use triacs (electronic relays for AC) for each of the 40 product motors.  We are designing a custom circuitboard to replace the binary coin-counter matrix with 40 [https://en.wikipedia.org/wiki/Charlieplexing charlieplexed] triacs:


https://github.com/sudoroom/hackomat
https://github.com/sudoroom/hackomat


which uses these triacs:
which uses these triacs:
NOTE:  the beaglebone black GPIO pins are only rated for 4 to 6mA per pin, which means it is essential to choose a triac with a guaranteed trigger current of 5mA such as the MOC3023  If you instead get a part with a 15mA guaranteed trigger, you may end up with customers who don't get their product even though they paid for it, on days when the temperature or phase of the moon is wrong.  That would be really bad.
ALSO:  there are two physical versions of the through-hole part.  One is "Dual-in-line" and the other is "Wide lead spacing".  The former fits in the sockets on this board, at standard DIP width of 0.300" track width, while the "Wide lead spacing" would need to be bent to fit a normal socket, on this board.  You don't want to be stuck bending 240 pins for this project because you bought the wrong part, do you?


http://www.mouser.com/ds/2/239/MOC302-201763.pdf
http://www.mouser.com/ds/2/239/MOC302-201763.pdf

Navigation menu