Differences between revisions 5 and 9 (spanning 4 versions)
Revision 5 as of 2011-02-26 15:12:31
Size: 470
Editor: BobAdamson
Comment:
Revision 9 as of 2012-02-17 18:24:17
Size: 7648
Editor: BobAdamson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== The UCC Drinks Machine ==
For a little history and some photos of the drinks machine, check out [[http://www.ucc.asn.au/services/drink.ucc]].
== The UCC Coke Machine ==
Australia's only internet connected drink machine
Line 4: Line 4:
You might also want to read about how to use [[Dispense]], how the [[OpenDispense2|Dispense Server]] works, or maybe you're wondering how to do a [[DrinknSnackRun]]. Every now and then the coke machine has a spack or the server is being dodgy, so head over to [[FixCoke]] to learn what to do when everything goes wrong. This page is to describe the UCC Coke Machine hardware and its history, perhaps you ended up here for some other reason; you might be looking for how to use [[Dispense]], how the [[OpenDispense2|Drinks Server]] works, or maybe you're wondering how to do a [[DrinknSnackRun]]. Every now and then the coke machine has a spack or the server is being dodgy, so head over to [[FixCoke]] to learn what to do when everything goes wrong.

== The Machine ==
The big red edifice situated outside the club room was purchased from the local subsidiary of the Coca-Cola corporation. It lacks a functioning coin slot, but that's okay because we have organized a digital interface for it , with dispensing software on one of our local Unix boxes (currently [[Merlo]]) and tied in with a rather disturbing credit system so that the permanently plugged in masses can type a few simple commands to drop a can. All this wonderful remote-control does not aid in the transport from one end of the room to the other however. It is vaguely internet connected, and vaguely reliable.

=== Machine status and drink dispensing ===

To get its current state finger [email protected] <<BR>>
The latest and greatest thing to happen to the machine is for Luke Williams to create a web dispense interface! This is available at http://ucc.asn.au/dispense

See [[Dispense]] for how to use the dispense client software and get access to the sugary goodness that is Coca-Cola.

== History ==
=== The Original Backstory ===

These are extracts from alt.hackers regarding our coke machine... (the original is now available through Google Groups) Read on...

[email protected] (Bruce James Robrert Linley) writes:

        >Some time ago, I remember reading about a coke
        >machine on the Internet. You could 'finger' it
        >to check it's inventory. Does anyone have it's
        >address?
        >Thanks.
        

The best known is at CMU (try finger [email protected]). This is apparently their second machine, after the first died a some years ago. I've also heard that MIT had one, but couldn't find any confirmation beyond two machines called coke and Pepsi. They were not dispensing machines of any kind.

The Computer Club at the University of Western Australia also has a coke machine. As one of the chief perpetrators, I can tell you something about it.

It all started way back in '92 (remember that year?). We had heard the rumors about the CMU and MIT machines, and decided that this was something we just had to do. A few phone calls to coke, we found someone sympathetic to our cause, and explained what we wanted to do. It took a bit of explaining (these people had never heard of the internet), but when they understood what we were babbling about, they were (somewhat) enthusiastic about the project. A few rules were bent, and we got an old machine on loan.

Hack hack drill solder. Our coke machine got a 68000 based board and power supply and relay drivers bolted to the insides. Some quick test software was writted (a very simple monitor with commands to drop a can from slot n), and a terminal was attached. In case you're interested, the controller board is an 8MHz 68000 with 16K EPROM, 64K SRAM, and a 68681 DUART. A few I/O ports were attached later (74LS373 and 244).

Months passed. People got told 'The hardware works. Come on - we need software'. The software didn't happen. Photo-transistors were added to sense the 'sold out' lights on the front. The software didn't happen. Blinkenlights were added (a bit-scrambled grey code. the scrambling changes every 10 seconds or so). The software didn't happen.

Then at last, the software was written. It still uses the old test monitor, but the UNIX end (running on our Sun) has accounting and various other nice features. You can still get a free can by unplugging the Sun, sticking a terminal into the plug, and typing 'D6' (slot 6 is where the coke usually lives. We number them from right to left).

Anyway. finger [email protected] will give you very little information on what is in the machine at the moment, and is probably wrong (the optosensors are playing up). We have a program called 'dispense' which will drop cans and remove credits from your account. 'dispense coke' searches for a non-empty slot containing coke, and sends the appropriate command to the machine. 'dispense' without any parameters displays an evil curses menu and lets you select the drink from that.

Since the above was written, we've replaced the photo-transistors with opto-isolators, the machine is now connected to one of our Intel Linux boxes, several versions of software for the machine have been written and a new brain is being constructed (albeit slowly)

=== The Coke knee-jerk: ===
Coke had initially loaned the machine to the UCC, but in mid-1995, the son of one of the directors in Atlanta (USA) found our machine and commented about this to his father. This resulted in the knee jerk reaction of Coke requesting the machine to be terminated, and hence the story was carried on most newspapers and on several radio stations across the country. The situation was rectified when the UCC purchased the already loaned machine from Coca Cola for $200.

The UCC Media Circus contains a few images of when a photographer came to the UCC from the West Australian newspaper.

[Original delivery note]
[Our receipt for the machine]
Statistics and Damned Lies:

   1. According to the counter inside the machine, exactly 87000 drinks have been dispensed as of January 1st, 2000.
   2. Between April 1997 and April 1998, some 14392 drinks were dispensed electronically. The breakdown was:

    * 20 mixeds
    * 41 7ups
    * 67 Diet lifts
    * 95 Dr Peppers
    * 111 sunkists
    * 114 Passionas
    * 132 Ginger Beers
    * 156 redeyes
    * 163 solos
    * 201 lemonades
    * 484 club lemons
    * 480 sprites
    * 492 red eyes
    * 604 lifts
    * 839 kole beers
    * 827 mountain dews
    * 1016 fantas
    * 1770 Jolts
    * 6780 Cokes, of which 141 were Happy.

In addition, during that time, people dispensed the following:

    * 2 nothings
    * 6 empty's
    * 46 clues

People involved:

Coke Brain:

    * John West [email protected]
    * Dav [email protected]
    * Comrade [email protected]
    * Jem [email protected]
    * Bob Adamson <<MailTo(bob AT ucc DOT asn DOT au)>> (2011/2012 Rebuild)

Coke Software:

    * DDT [email protected]
    * Peter Lewis [email protected]
    * David Luyer [email protected]
    * John Hodge [email protected] (OpenDispense2 - 2011)

Talking to Coke:

    * DDT [email protected]
    * Comrade [email protected]

Vending machines on the net:

    * finger [email protected] (Coke machine at U of Wisconsin)
    * finger @coke.elab.cs.cmu.edu (Coke machine at Carnegie-Mellon U)
    * finger [email protected] (M&M machine at Carnegie-Mellon U)
    * finger [email protected] (Visual map of CMU coke machine) Some history here
    * finger [email protected] The UCC Coke Machine
    * http://www-swiss.ai.mit.edu/htbin/coke MIT's machine, which also has an FTP interface!
    * http://www-cse.ucsd.edu/users/bsy/coke.html bsy's List of Internet Accessible Coke Machines

Related sites:

    * Coca-Cola Company
    * Coca-Cola Enterprises Inc.
    * The Jolt Company

Coca-Cola ads:

    * Always Coca-Cola (USA) [Warning: 182Kb]
    * Coke Is It! (USA) [Warning: 242Kb]

The UCC Coke Machine

Australia's only internet connected drink machine

This page is to describe the UCC Coke Machine hardware and its history, perhaps you ended up here for some other reason; you might be looking for how to use Dispense, how the Drinks Server works, or maybe you're wondering how to do a DrinknSnackRun. Every now and then the coke machine has a spack or the server is being dodgy, so head over to FixCoke to learn what to do when everything goes wrong.

The Machine

The big red edifice situated outside the club room was purchased from the local subsidiary of the Coca-Cola corporation. It lacks a functioning coin slot, but that's okay because we have organized a digital interface for it , with dispensing software on one of our local Unix boxes (currently Merlo) and tied in with a rather disturbing credit system so that the permanently plugged in masses can type a few simple commands to drop a can. All this wonderful remote-control does not aid in the transport from one end of the room to the other however. It is vaguely internet connected, and vaguely reliable.

Machine status and drink dispensing

To get its current state finger [email protected]
The latest and greatest thing to happen to the machine is for Luke Williams to create a web dispense interface! This is available at http://ucc.asn.au/dispense

See Dispense for how to use the dispense client software and get access to the sugary goodness that is Coca-Cola.

History

The Original Backstory

These are extracts from alt.hackers regarding our coke machine... (the original is now available through Google Groups) Read on...

[email protected] (Bruce James Robrert Linley) writes:

  • >Some time ago, I remember reading about a coke >machine on the Internet. You could 'finger' it >to check it's inventory. Does anyone have it's >address? >Thanks.

The best known is at CMU (try finger [email protected]). This is apparently their second machine, after the first died a some years ago. I've also heard that MIT had one, but couldn't find any confirmation beyond two machines called coke and Pepsi. They were not dispensing machines of any kind.

The Computer Club at the University of Western Australia also has a coke machine. As one of the chief perpetrators, I can tell you something about it.

It all started way back in '92 (remember that year?). We had heard the rumors about the CMU and MIT machines, and decided that this was something we just had to do. A few phone calls to coke, we found someone sympathetic to our cause, and explained what we wanted to do. It took a bit of explaining (these people had never heard of the internet), but when they understood what we were babbling about, they were (somewhat) enthusiastic about the project. A few rules were bent, and we got an old machine on loan.

Hack hack drill solder. Our coke machine got a 68000 based board and power supply and relay drivers bolted to the insides. Some quick test software was writted (a very simple monitor with commands to drop a can from slot n), and a terminal was attached. In case you're interested, the controller board is an 8MHz 68000 with 16K EPROM, 64K SRAM, and a 68681 DUART. A few I/O ports were attached later (74LS373 and 244).

Months passed. People got told 'The hardware works. Come on - we need software'. The software didn't happen. Photo-transistors were added to sense the 'sold out' lights on the front. The software didn't happen. Blinkenlights were added (a bit-scrambled grey code. the scrambling changes every 10 seconds or so). The software didn't happen.

Then at last, the software was written. It still uses the old test monitor, but the UNIX end (running on our Sun) has accounting and various other nice features. You can still get a free can by unplugging the Sun, sticking a terminal into the plug, and typing 'D6' (slot 6 is where the coke usually lives. We number them from right to left).

Anyway. finger [email protected] will give you very little information on what is in the machine at the moment, and is probably wrong (the optosensors are playing up). We have a program called 'dispense' which will drop cans and remove credits from your account. 'dispense coke' searches for a non-empty slot containing coke, and sends the appropriate command to the machine. 'dispense' without any parameters displays an evil curses menu and lets you select the drink from that.

Since the above was written, we've replaced the photo-transistors with opto-isolators, the machine is now connected to one of our Intel Linux boxes, several versions of software for the machine have been written and a new brain is being constructed (albeit slowly)

The Coke knee-jerk:

Coke had initially loaned the machine to the UCC, but in mid-1995, the son of one of the directors in Atlanta (USA) found our machine and commented about this to his father. This resulted in the knee jerk reaction of Coke requesting the machine to be terminated, and hence the story was carried on most newspapers and on several radio stations across the country. The situation was rectified when the UCC purchased the already loaned machine from Coca Cola for $200.

The UCC Media Circus contains a few images of when a photographer came to the UCC from the West Australian newspaper.

[Original delivery note] [Our receipt for the machine] Statistics and Damned Lies:

  1. According to the counter inside the machine, exactly 87000 drinks have been dispensed as of January 1st, 2000.
  2. Between April 1997 and April 1998, some 14392 drinks were dispensed electronically. The breakdown was:
    • 20 mixeds
    • 41 7ups
    • 67 Diet lifts
    • 95 Dr Peppers
    • 111 sunkists
    • 114 Passionas
    • 132 Ginger Beers
    • 156 redeyes
    • 163 solos
    • 201 lemonades
    • 484 club lemons
    • 480 sprites
    • 492 red eyes
    • 604 lifts
    • 839 kole beers
    • 827 mountain dews
    • 1016 fantas
    • 1770 Jolts
    • 6780 Cokes, of which 141 were Happy.

In addition, during that time, people dispensed the following:

  • 2 nothings
  • 6 empty's
  • 46 clues

People involved:

Coke Brain:

Coke Software:

Talking to Coke:

Vending machines on the net:

Related sites:

  • Coca-Cola Company
  • Coca-Cola Enterprises Inc.
  • The Jolt Company

Coca-Cola ads:

  • Always Coca-Cola (USA) [Warning: 182Kb]
  • Coke Is It! (USA) [Warning: 242Kb]