Difference between revisions of "Vendingmachine"
(→Programming) |
|||
(24 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
|picture=wurlitzer-filled.JPG | |picture=wurlitzer-filled.JPG | ||
|ProjectSkills=2+ | |ProjectSkills=2+ | ||
− | |ProjectStatus= | + | |ProjectStatus=Finished |
|ProjectNiche=Community | |ProjectNiche=Community | ||
|ProjectPurpose=Fun | |ProjectPurpose=Fun | ||
Line 27: | Line 27: | ||
= What's in the machine = | = What's in the machine = | ||
+ | The items in the machine can change by week/day :) | ||
Vendingslot ItemDescription Price Seller | Vendingslot ItemDescription Price Seller | ||
Line 81: | Line 82: | ||
All products are sold directly with cash thru the machine. | All products are sold directly with cash thru the machine. | ||
− | On every | + | On every product a donation is put towards TechInc. |
*1. Choose the product. | *1. Choose the product. | ||
Line 93: | Line 94: | ||
On days that Daan or Einstein are present the machine will be open to access the content, and you can pay with revbank. | On days that Daan or Einstein are present the machine will be open to access the content, and you can pay with revbank. | ||
− | On every | + | On every product a donation is put towards TechInc. |
− | |||
− | |||
*1. Choose the product. | *1. Choose the product. | ||
Line 127: | Line 126: | ||
*7. On the revbank a marketplace item will be made. | *7. On the revbank a marketplace item will be made. | ||
*8. Start Selling your product !! | *8. Start Selling your product !! | ||
− | |||
== Other == | == Other == | ||
Line 136: | Line 134: | ||
*5. We got little bags for small goods. | *5. We got little bags for small goods. | ||
*6. On the revbank a marketplace item will be made. | *6. On the revbank a marketplace item will be made. | ||
− | *7. Start Selling your product !! | + | *7. Start Selling your product !! |
− | + | ||
+ | |||
+ | ------- | ||
− | |||
= Vending machine Specs= | = Vending machine Specs= | ||
Line 178: | Line 177: | ||
=Programming= | =Programming= | ||
− | |||
− | |||
− | + | This section is for reference usage only, please do not try reprogramming the vending machine by yourself (i screwed it up once already:)). | |
− | |||
− | |||
− | |||
− | + | How to exit servicemenu : Press S until led "In werking" goes red :) | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | *Service Menu 2 | + | *Service Menu 1 - Sale per slot |
− | ** | + | **Read counter |
+ | ***1 Choose slot | ||
+ | ***2 Read value | ||
+ | ***3 Exit with C and S | ||
+ | **Reset counter | ||
+ | ***1 Choose slot | ||
+ | ***2 Read value | ||
+ | ***3 Hold program | ||
+ | ***4 Type 0000 | ||
+ | ***5 Exit with C and S | ||
− | ***Read counter | + | *Service Menu 2 - Power outages |
− | ****Press 6 | + | **Read counter |
− | *** | + | ***1 Press 6 |
− | ****Exit with C and S | + | ***2 Read value |
+ | ***3 Exit with C and S | ||
+ | **Reset counter | ||
+ | ***1 Press 6 | ||
+ | ***2 Read value | ||
+ | ***3 Press Program | ||
+ | ***4 Type 0000 | ||
+ | ***5 Exit with C and S | ||
− | ***Reset | + | *Service Menu 3 - Total Sale |
− | *** | + | **Read value |
− | *** | + | ***1 Press 0 |
− | *** | + | ***2 Read value |
− | *** | + | ***3 Exit with C and S |
− | *** | + | **Reset value |
+ | ***1 Press 0 | ||
+ | ***2 Read value | ||
+ | ***3 Press Program | ||
+ | ***4 Type 0000 | ||
+ | ***5 Exit with C and S | ||
− | *Service Menu | + | *Service Menu 4 - Reset all counters except Service 5 |
− | ** | + | **Reset counter |
− | ***Read value | + | ***1 Press 8 |
− | *** | + | ***2 Read value |
− | *** | + | ***3 Press Program |
− | *** | + | ***4 Type 9999 |
+ | ***5 Exit with C and S | ||
− | *** | + | *Service Menu 5 - Total Sale Euro (not resetable) |
− | *** | + | **Read counter |
− | + | ***1 Press 1 for top value (if 0000 amount = under 100) | |
− | *** | + | ***2 Press C |
− | *** | + | ***3 Press 2 for lower value (if 3580 amount = € 35,80) |
− | *** | + | ***4 Exit with C and S |
− | *Service Menu 4 | + | *Service Menu 6 - Total Sale - Moneybox - Change (resetable) |
+ | **Read total Sale | ||
+ | ***1 Press 1 for top value (if 0000 amount = under 100) | ||
+ | ***2 Press C | ||
+ | ***3 Press 2 for lower value (if 3580 amount = € 35,80) | ||
+ | ***4 Exit with C and S | ||
− | + | **Read total Moneybox | |
− | ** | + | ***1 Press 3 for top value (if 0000 amount = under 100) |
− | ***Press | + | ***2 Press C |
− | ***Press C | + | ***3 Press 4 for lower value (if 3580 amount = € 35,80) |
− | ***Press | + | ***4 Exit with C and S |
− | ***Exit with C and S | ||
− | * | + | **Read total Change |
− | * | + | ***1 Press 5 for top value (if 0000 amount = under 100) |
− | *** | + | ***2 Press C |
− | + | ***3 Press 6 for lower value (if 3580 amount = E 35,80) | |
− | + | ***4 Exit with C and S | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ***Press C | ||
− | ***Press 6 for lower value (if 3580 amount = E 35,80) | ||
− | ***Exit with C and S | ||
+ | *Service Menu 7 - Machine test | ||
+ | **Display test | ||
+ | ***1 Press 1 for display test | ||
+ | ***2 Exit with C and S | ||
+ | **Motor test | ||
+ | ***1 Press 2 for motor test | ||
+ | ***2 Exit with C and S | ||
− | *Service Menu | + | *Service Menu 8 Programming price into slot |
+ | **Read price | ||
+ | ***1 Choose slot number | ||
+ | ***2 Read value | ||
+ | ***3 Exit with C and S | ||
+ | **Write price | ||
+ | ***1 Choose slot number | ||
+ | ***2 Read value | ||
+ | ***3 Press Program | ||
+ | ***4 Type price f.e. €5.00 = 0500 | ||
+ | ***5 Exit with C and S | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*Service Menu 9 | *Service Menu 9 | ||
− | * | + | **??? |
+ | *Service Menu 10 - Slot vending programming | ||
+ | **1 RTFM | ||
+ | ---- | ||
+ | |||
+ | =Manual= | ||
− | + | here we will publish the manual soon | |
---- | ---- | ||
− | = | + | =Moneyflow= |
+ | |||
+ | |||
+ | uitgaven 481,5 | ||
+ | |||
+ | inkomsten tot nu 645,63 | ||
+ | |||
+ | inkomsten verwacht 858,63 | ||
+ | |||
+ | aanschaf 311 | ||
+ | |||
+ | totaal -146,87 | ||
− | + | 3.2.2015 - 18.9.2015 | |
+ | ---- |
Latest revision as of 03:07, 15 February 2017
Projects | |
---|---|
| |
Participants | Einstein |
Skills | 2+ |
Status | Finished |
Niche | Community |
Purpose | Fun |
Contents
Welcome to our vending machine wiki
Read me first
- Do Not Hack this machine! Feel free to have a look inside (on Wednesday).
- This is a perfect working machine from 1980 (maintenance inspection 2015), incl euro money changer.
- A few people already talked about interfacing with it, and making a connection to revbank. More info soon :)
Why do we need a Vending machine?
- The intent of doing this project is selling cool stuff to each other :)
- With every purchase we can support TechInc, if the seller wants to.
What do you need to operate the machine?
- Money (cash small coins € 2.00, 1.00, 0.50, 0.20, 0.10, 0.05)
- or a revbank account
What's in the machine
The items in the machine can change by week/day :)
Vendingslot ItemDescription Price Seller
- 10 TOOOL Lockpickset € 30,00 Toool
- 11 Klene Drop "Pinpassen" € 1,50 Vendingmachine
- 12 Breadboard € 3,00 Thomas
- 13 USB Microusb data/charger cable € 2,00 Vendingmachine
- 20 Baduino smd unsoldered € 15,00 Brainsmoke
- 21 Baduino soldered € 20,00 Brainsmoke
- 22 TechInc Badge unsoldered € 10,00 TechInc
- 23 In-Ear Headphone € 2,00 Vendingmachine
- 30 LCD 16x2 Blue Backlight € 5,00 Justa
- 31 ATmega328P Nano v3 € 5,00 Thomas
- 32 Led Rainbow Solderkit € 5,50 Young Hackers
- 33 Superglue 3pcs € 1,30 Vendingmachine
- 40 ProtoPCB 5*7cm 24*18holes single€ 0,75 Justa
- 41 Arduino pro mini 3.3V 8Mhz € 5,00 Justa
- 42 Arduino pro mini 5.0V 16Mhz € 5,00 Justa
- 43 433mhz Rx/TX TTL € 4,00 Justa
- 44 PL2303HX USB-RS232 € 3,50 Justa
- 45 ESP8266 Wifi to Serial € 6,00 Justa
- 46 WTV020M01 Audioplayer module € 4,00 Justa
- 47 NRF24L01 € 3,00 Justa
- 50 KopSoep Chinees Tomaat € 0,25 Vendingmachine
- 51 KopSoep Kip € 0,25 Vendingmachine
- 52 SOLD OUT € 0,65 Vendingmachine
- 53 Seeds € 0,65 Vendingmachine
- 54 Seeds € 0,65 Vendingmachine
- 55 Seeds € 0,65 Vendingmachine
- 56 E-Liquid € 2,50 Vendingmachine
- 57 Lighter € 0,50 Vendingmachine
- 60 Mars € 0,65 Vendingmachine
- 61 Snickers € 0,65 Vendingmachine
- 62 Twix € 0,65 Vendingmachine
- 63 Bros € 0,65 Vendingmachine
- 64 Pepermint € 0,65 Vendingmachine
- 65 Chew4u € 0,65 Vendingmachine
- 66 Stimorol Green € 0,65 Vendingmachine
- 67 Stimorol Blue € 0,65 Vendingmachine
date : 09-02-2015
How to get stuff out of the vending machine?
Cash - normal usage
All products are sold directly with cash thru the machine. On every product a donation is put towards TechInc.
- 1. Choose the product.
- 2. Price will be shown on display.
- 3. Deposit money into machine.
- 4. Choose the product.
- 5. Take product out of the bin.
- 6. Enjoy your product.
Credit - if you have a revbank account
On days that Daan or Einstein are present the machine will be open to access the content, and you can pay with revbank.
On every product a donation is put towards TechInc.
- 1. Choose the product.
- 2. Price will be shown on display.
- 3. Open the door of the vending machine.
- 4. Take product out of slot (please take one from the back, otherwise other people can't buy anything if its empty in front).
- 5. Close the door of the Vending machine.
- 6. Scan your product at the revbank. Some candy doesn't have a bar code, please scan "SNACK" to pay € 0.65, towards the vending machine.
- 7. Pay from your account.
- 8. Enjoy your product.
How to get your stuff in the machine?
Candy & Sweets
- Daan & Einstein will take care of buying and refilling the candy, sweets and other special stuff.
- On every of these purchases a donation is put towards TechInc.
- If you want other candy talk to us we will try to find and stock it.
- We decided to have a fixed price on candy.
- Every candy bar, chewing gum etc will be € 0.65.
- We will try to keep the price as low as possible but not more then €0.65
Electronics
- 1. Purchase some cool electronics.
- 2. Bring them to the space.
- 3. Decide your price and if a donation towards TechInc is wanted.
- 4. Ask Daan or Einstein to program the price into the machine.
- 5. If the product doesn't have a bar code, one will be added.
- 6. We got little bags for small goods.
- 7. On the revbank a marketplace item will be made.
- 8. Start Selling your product !!
Other
- 1. Bring the stuff to the space.
- 2. Decide your price and if a donation towards TechInc is wanted.
- 3. Ask Daan or Einstein to program the price into the machine.
- 4. If the product doesn't have a bar code, one will be added.
- 5. We got little bags for small goods.
- 6. On the revbank a marketplace item will be made.
- 7. Start Selling your product !!
Vending machine Specs
Specs
- Wurlitzer S636 (Snack, 6 Rows, 36 slots), in the US they call it B645 (Budget, 6 Rows, 45 Slots)
- 6 trays
- 36 selections (max. 48 selections)
- Size & Weight:
- Width 86.8cm
- Height 183.0cm
- Depth 86.3cm
- Weight 340kg
- Bought at De Roock Speelautomaten (http://www.deroockspeelautomaten.nl)
- Bought on 3.2.2015
- Born : 1980
- Price : priceless
What did we use for this project?
Transport
- One car
- 2 drivers in car (Daan & Einstein)
- 2 helpers to load vending machine into car at buyer
- 2 helpers to get vending machine into TechInc
Hardware used
- Wurlitzer S636
- 220V Power
- HP Thin client incl power adapter(property of Einstein)
- Monitor
- Keyboard
- Mouse
Programming
This section is for reference usage only, please do not try reprogramming the vending machine by yourself (i screwed it up once already:)).
How to exit servicemenu : Press S until led "In werking" goes red :)
- Service Menu 1 - Sale per slot
- Read counter
- 1 Choose slot
- 2 Read value
- 3 Exit with C and S
- Reset counter
- 1 Choose slot
- 2 Read value
- 3 Hold program
- 4 Type 0000
- 5 Exit with C and S
- Read counter
- Service Menu 2 - Power outages
- Read counter
- 1 Press 6
- 2 Read value
- 3 Exit with C and S
- Reset counter
- 1 Press 6
- 2 Read value
- 3 Press Program
- 4 Type 0000
- 5 Exit with C and S
- Read counter
- Service Menu 3 - Total Sale
- Read value
- 1 Press 0
- 2 Read value
- 3 Exit with C and S
- Reset value
- 1 Press 0
- 2 Read value
- 3 Press Program
- 4 Type 0000
- 5 Exit with C and S
- Read value
- Service Menu 4 - Reset all counters except Service 5
- Reset counter
- 1 Press 8
- 2 Read value
- 3 Press Program
- 4 Type 9999
- 5 Exit with C and S
- Reset counter
- Service Menu 5 - Total Sale Euro (not resetable)
- Read counter
- 1 Press 1 for top value (if 0000 amount = under 100)
- 2 Press C
- 3 Press 2 for lower value (if 3580 amount = € 35,80)
- 4 Exit with C and S
- Read counter
- Service Menu 6 - Total Sale - Moneybox - Change (resetable)
- Read total Sale
- 1 Press 1 for top value (if 0000 amount = under 100)
- 2 Press C
- 3 Press 2 for lower value (if 3580 amount = € 35,80)
- 4 Exit with C and S
- Read total Sale
- Read total Moneybox
- 1 Press 3 for top value (if 0000 amount = under 100)
- 2 Press C
- 3 Press 4 for lower value (if 3580 amount = € 35,80)
- 4 Exit with C and S
- Read total Moneybox
- Read total Change
- 1 Press 5 for top value (if 0000 amount = under 100)
- 2 Press C
- 3 Press 6 for lower value (if 3580 amount = E 35,80)
- 4 Exit with C and S
- Read total Change
- Service Menu 7 - Machine test
- Display test
- 1 Press 1 for display test
- 2 Exit with C and S
- Motor test
- 1 Press 2 for motor test
- 2 Exit with C and S
- Display test
- Service Menu 8 Programming price into slot
- Read price
- 1 Choose slot number
- 2 Read value
- 3 Exit with C and S
- Write price
- 1 Choose slot number
- 2 Read value
- 3 Press Program
- 4 Type price f.e. €5.00 = 0500
- 5 Exit with C and S
- Read price
- Service Menu 9
- ???
- Service Menu 10 - Slot vending programming
- 1 RTFM
Manual
here we will publish the manual soon
Moneyflow
uitgaven 481,5
inkomsten tot nu 645,63
inkomsten verwacht 858,63
aanschaf 311
totaal -146,87
3.2.2015 - 18.9.2015