Difference between revisions of "Hack-o-mat"

Jump to navigation Jump to search
2,809 bytes added ,  21:20, 17 January 2023
 
(16 intermediate revisions by 3 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 =
 
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.
Also paper zines, handmade books, and women's clothes with pockets and non sexist swimwear!
 
= Status =
 
== January 2023 ==
 
There's interest in the vending machine again! Let's get this party started. There has been activity in-between now and 2016 but that is lost.
 
* Getting the machine plugged in and connected to the internet again *DONE*
* Have people learn electronics and make a learn about vending machines
* Repaint the vending machine, maybe in brighter colors! and make its magnetic sides decorated with news and arts
* Stock it up with cool hackery from various members but augment the electronic stuff with paper zines, non sexist women's swimwear, and stuffed animals
 
== March 2016 ==


[[File:Snackshop_II.JPG]]
[[File:IMG 1426.JPG|thumbnail|The black vending machine (a.k.a. vending1) is nearly ready to use (Mar. 2016)]]


= Idea =
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 39:
*  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 154:
== 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
UPDATE:  the above part doesn't flow enough current, and works to run a motor exactly one time before going up in smoke.  I found more powerful 6-pin DIP optoisolated triacs at digikey years ago and bought them, but now i can't find them - in real life or on the digikey site.  So we're searching again for parts that can take 2 or more amps when the motors start up.


their inputs are basically LEDs, and they're totally isolated from the AC output.  So we can charlieplex these 40 triacs to just seven GPIO pins from our controller, as long as it has three-state outputs.
their inputs are basically LEDs, and they're totally isolated from the AC output.  So we can charlieplex these 40 triacs to just seven GPIO pins from our controller, as long as it has three-state outputs.
1,463

edits

Navigation menu