Difference between revisions of "Tom's Vending Machine"

From LVL1
Jump to navigation Jump to search
Line 11: Line 11:
 
== Current State of Affairs ==
 
== Current State of Affairs ==
  
Brad has built some custom boards with [http://pdf1.alldatasheet.com/datasheet-pdf/view/86705/PHILIPS/PCA9554N.html PCA9554N I/O Port chips] on them. There is an input board, with 22 screw terminals to be connected to any buttons on the device, an output board, with 22 relays to trigger the 22 motors to vend products, and a rPi to handle i2c protocol between the PCA9554N chips.  -Jared
+
* Brad has built some custom boards with [http://pdf1.alldatasheet.com/datasheet-pdf/view/86705/PHILIPS/PCA9554N.html PCA9554N I/O Port chips] on them. There is an input board, with 22 screw terminals to be connected to any buttons on the device, an output board, with 22 relays to trigger the 22 motors to vend products, and a rPi to handle i2c protocol between the PCA9554N chips.  -Jared
  
As of August 25, 2015, the I/O boards and RPI can successfully trigger each motor individually, and code has been written in python on functions such as tablature, stocking, and interpreting I/O boards. (Thanks Hunter!)
+
* As of August 25, 2015, the I/O boards and RPI can successfully trigger each motor individually, and code has been written in python on functions such as tablature, stocking, and interpreting I/O boards. (Thanks Hunter!)
  
Gary has built a first-run prototype of a transparent coin acceptor that will pass coins in front of the glass display on the front of the vending machine.  
+
* Gary has built a first-run prototype of a transparent coin acceptor that will pass coins in front of the glass display on the front of the vending machine.  
  
Jared signed up for a square account to get a card reader and is donating an iphone4 to be used in conjunction to accept cards for products on Dec 14, 2015.
+
* Jared signed up for a square account to get a card reader and is donating an iphone4 to be used in conjunction to accept cards for products on Dec 14, 2015.
  
Jared got a square card reader, it is connected to the iphone 4.
+
* Jared got a square card reader, it is connected to the iphone 4.
  
The [http://learn.adafruit.com/usb-plus-serial-backpack/overview Adafruit display] is mounted inside the vending machine.
+
* The [http://learn.adafruit.com/usb-plus-serial-backpack/overview Adafruit display] is mounted inside the vending machine.
 +
 
 +
* The square card reader does not interface well with the rPi, so an Apache Webserver with MySQLi and PHP is being loaded to the rPi to run OpenCart, to interface with Paypal, to take card. Thanks Hunter!
 +
 
 +
* 2/10/16 Jared got a digital coin bank/counter from walgreens and hacked it so the rPi can know which coin is inputted, this device needs to be mounted inside the machine, and wired into the rPi.
  
 
== To Do ==
 
== To Do ==
  
*Hook up [http://learn.adafruit.com/usb-plus-serial-backpack/overview screen] to RPI.
+
* Collect stock of the kinds of supplies that LVL1 wants stocked in the device.
*Modify Gary's coin acceptor design to work in the machine.
+
* Mount the Walgreens Coin Acceptor inside the machine
*Collect stock of the kinds of supplies that LVL1 wants stocked in the device.
+
* Setup OpenCart and interface it with paypal
*Interface the iPhone4 with the square card reader with the rPi.
 
**Brad was trying to make a web-based store that gave you a pin to punch in? See [https://github.com/Zuph/LVL1VendingMachine LVL1Vending Machine]
 

Revision as of 15:37, 24 February 2016

[Equipment|Back to list of Equipment]]

Lvl1 qr header.png
Tom%27s_Vending_Machine&.png

General

  • Owner/Loaner: LVL1
  • Serial Number: none visible
  • Make/Model: unknown
  • Arrival Date: prior to Dec2010
  • Usability: not yet
  • Contact: Jared
  • Where: on pallet in back
No image.JPG


Current State of Affairs

  • Brad has built some custom boards with PCA9554N I/O Port chips on them. There is an input board, with 22 screw terminals to be connected to any buttons on the device, an output board, with 22 relays to trigger the 22 motors to vend products, and a rPi to handle i2c protocol between the PCA9554N chips. -Jared
  • As of August 25, 2015, the I/O boards and RPI can successfully trigger each motor individually, and code has been written in python on functions such as tablature, stocking, and interpreting I/O boards. (Thanks Hunter!)
  • Gary has built a first-run prototype of a transparent coin acceptor that will pass coins in front of the glass display on the front of the vending machine.
  • Jared signed up for a square account to get a card reader and is donating an iphone4 to be used in conjunction to accept cards for products on Dec 14, 2015.
  • Jared got a square card reader, it is connected to the iphone 4.
  • The square card reader does not interface well with the rPi, so an Apache Webserver with MySQLi and PHP is being loaded to the rPi to run OpenCart, to interface with Paypal, to take card. Thanks Hunter!
  • 2/10/16 Jared got a digital coin bank/counter from walgreens and hacked it so the rPi can know which coin is inputted, this device needs to be mounted inside the machine, and wired into the rPi.

To Do

  • Collect stock of the kinds of supplies that LVL1 wants stocked in the device.
  • Mount the Walgreens Coin Acceptor inside the machine
  • Setup OpenCart and interface it with paypal