Difference between revisions of "Hack-o-mat"

Jump to navigation Jump to search
3,648 bytes added ,  21:20, 17 January 2023
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is a work in progress! Currently [[User:Juul|Juul]] ([[User talk:Juul|talk]]) is 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


[[File:Snackshop_II.JPG]]
== March 2016 ==


= Idea =
[[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 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!
 
* Headlamps, gloves


*  $7 universal USB JTAG cable - search ebay for USB Blaster FPGA CPLD NIOS JTAG Altera Programmer  
*  $7 universal USB JTAG cable - search ebay for USB Blaster FPGA CPLD NIOS JTAG Altera Programmer  
Line 35: Line 65:


*  Basically everything from the hackpack ( http://hackpack.me ) and more
*  Basically everything from the hackpack ( http://hackpack.me ) and more
* Individual packets of [http://sugru.com/ Sugru] (moldable rubber)
* [http://en.wikipedia.org/wiki/Polycaprolactone Polycaprolactone] - aka [http://shapelock.com/ Shapelock] / [http://www.instamorph.com/ Instamorph] (moldable plastic)
[[File:Homer-vendingmachine.jpg|thumb|homer looking at OUR vending machine]]


= Funding =
= Funding =
Line 118: 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 will use these:
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
 
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


their inputs are basically LEDs, and they're totally isolated from the AC output.  So we can charlieplex these 40 triacs to just eight GPIO pins from our controller, as long as it has three-state outputs.
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.


We'll be using a $65 Beagle Bone Black for the brain and a $39 android tablet from Fry's electronics with a web app loaded from the Beagle Bone for display and selection. We're planning to have videos of sudoers presenting each item and headphones so people watch, listen and understand what they're bying. We'll probably still hook up the original dispenser buttons, but that's secondary.
We'll be using a $65 Beagle Bone Black for the brain and a $39 android tablet from Fry's electronics with a web app loaded from the Beagle Bone for display and selection. We're planning to have videos of sudoers presenting each item and headphones so people watch, listen and understand what they're bying. We'll probably still hook up the original dispenser buttons, but that's secondary.


One of the reasons for replacing the brain is that our dispenser has a max programmable price per item of $1.85, which conflicts with our desire to sell usb sticks out of the gum dispenser :) It will also make it easy for us to track how much money is spent on each type of item which means we can let other groups, like [https://counterculturelabs.org Counter Culture Labs] sell stuff out of our vending machine and track who should receive how much money without manually counting.
One of the reasons for replacing the brain is that the original dispenser circuitboard has a max programmable price per item of $1.85, which conflicts with our desire to sell usb sticks out of the gum dispenser :) It will also make it easy for us to track how much money is spent on each type of item which means we can let other groups, like [https://counterculturelabs.org Counter Culture Labs] sell stuff out of our vending machine and track who should receive how much money without manually counting.
 
we can even allow purchases online to dispense locally, so you can call your parents and have them buy you a beaglebone black from New Hampshire and the vending machine will shit it out for you while you're on the phone with them.  Christmas is coming soon...
1,544

edits

Navigation menu