Jump to content


Vending Machine II


20 replies to this topic

#1 Ricardo Oliveira

Ricardo Oliveira

    Posts: 5
    Joined: 30-January 07
    Member: 1313

Posted 30 January 2007 - 08:12 PM

Hello all,

I am Ricardo Oliveira, member of PLUG (www.plug.pt) and a Mindstorms fan! :)

This is my new MOC:

Posted Image

Brickshelf Folder: http://www.brickshel...ry.cgi?f=229618

This new MOC comes from my previous work: Smart Candy Machine. Since I have
become a member of PLUG, I was encouraged to try a better and bigger one. This
time, it’s very developed comparing to the first one!

It took all summer of 2006. But, this project is on my mind a long time ago. The
body (where products take place) was virtually built in MLCAD to know what kind
and quantity of pieces were required. After building the “brain”, where all
coins control is processed, I bought all pieces that were in need to build the
body. Then, unfortunately, I destroyed my Ferrari sets, 8653 and 8386, to build
the block in the back, responsible to reach each product and dispense it. This
way, almost everything is old style, but the back has new style (studless).

Functions:

1 – Firstly, the user inserts the coins, from 0.05€ to 2€, 6 different coins.
While processing the recognition of each one, the slot is locked to avoid
blockage;
2 – The user digits the number of the product required through a keyboard (1-5).
There are 13 different products (total of 57 products) and they’re numbered in
three shelves, like this: 11, 12, 13…; 21, 22, 23…; 31, 32, 33…;
3 – If money is not enough, the LCD displays the amount needed for that product.
Else, the product is released and the exchange is given;
4 – There is a Return button to return the money of the user;
5 - In the inside of the exchange door, there’s a lamp that is turned on when
exchange is given;
6 – All extra coins are saved in the appropriated box/drawer. These drawers can
be open by introducing a code chosen by me and only modified through the NQC
program;
7 – If RCX’s stay always turned on, it knows the quantity of each product and
each coin reacting well to some incompatibly situations;
8 – There’s also fibre optic just to the aesthetic in the base of the machine
where products fall;

Specifications:

Pieces: I would also like to know…
RCX’s: 2
Motors: 8
Lamps: 2 (on the inside of exchange door)
Sensors:
- 1 Rotation Sensor;
- 3 Light Sensors;
- 8 Touch Sensors (6 of them used in the keyboard);
Programming language: NQC.
Special equipment:
- Extra wires (take a look at these instructions : http://www.brickshel....cgi?f=187610);
- Strong wire to make snacks spirals;
- Book spirals to save coins for exchange;
- Aluminium band to cover the ramp where coins have to make contact;
- Breadboard and resistances linked to the RCX inputs to identify coins and keys of keyboard;
- 2 acrylic parts, one to the front and the other to the back like a drawer not to hide mechanisms in the main block;
- Some lamps to light up the products.

Any question or comment, contact me @ irmaos_oliveira@hotmail.com.

#2 Starwars4J

Starwars4J

    Posts: 5396
    Joined: 27-February 05
    Member: 257

Posted 30 January 2007 - 08:18 PM

This is quite possibly one of the most ingenious, creative, and complex things I've ever seen done with Lego.

How long did it take you to build/design?  How many pieces are in it?  Can you make me one?  ;-)

Absolutely fantastic.  And welcome to EuroBricks!  You should introduce yourself over at the introduction forum :-)

Edited by Starwars4J, 30 January 2007 - 08:19 PM.


#3 Serengeti

Serengeti

    Posts: 1160
    Joined: 20-October 06
    Member: 1040
    Country: Ireland

Posted 30 January 2007 - 08:20 PM

This is amazing. Well done. How long it take to do this and when you get the idea?

You use the light sensors to recognise the different coins??

You do electronics?

I have made minifigure-scale manual vending machines for my legomen which are cute but suck :) Nice to see a real machine!
Posted ImagePosted ImagePosted Image

MinifigTimes.com    Leaving no brick unturned in the search for scandals

#4 pianodude2494

pianodude2494

    Posts: 60
    Joined: 10-January 07
    Member: 1229
    Country: America

Posted 30 January 2007 - 08:23 PM

Absolutely marvelous! This must be one of the most intricate LEGO creations I've ever seen! It's remarkable!

Have you put this amazing creation on display at any confrences and such? I wouldn't me at all suprised if you had!

Again, wonderful job!  *y*  *y*  *y*

#5 Pawel

Pawel

    Posts: 26
    Joined: 21-January 07
    Member: 1286
    Country: Poland

Posted 30 January 2007 - 08:55 PM

I watched it in this Polish blog. I think...this is great :D How many hour did you programmed it ??

#6 Asuka

Asuka

  • Pictural Poet


    Posts: 6658
    Joined: 19-June 06
    Member: 816
    Country: Schnitzelland

Posted 30 January 2007 - 08:56 PM

Yeah, ingenious indeed. And welcome to this forum.  *y*
That´s a beautiful machine, although I would prefer if it would work with original LEGO bricks (no fakes) instead of coins....
Could be a great business then....  X-D

#7 Kahgarak

Kahgarak

    Posts: 1359
    Joined: 23-October 05
    Member: 514
    Country: The Netherlands

Posted 30 January 2007 - 09:03 PM

Ohmygod!That's awesome!

#8 Ricardo Oliveira

Ricardo Oliveira

    Posts: 5
    Joined: 30-January 07
    Member: 1313

Posted 30 January 2007 - 09:33 PM

Thanks for your friendliness!

Actually, I was not used to visit this site. It was told me to put here my MOC! :)

As said in the discription, I took about 3/4 months building it, but pieces and ideas has come a long time before.
Programming was done during and after construction. And as you can imagine, I'm allways developing the program, solving some problems, cause it's never 100% perfect, but I'm working on it!

Coins are detected through its size and conductibility(?).

Calvin, I am a student of electronic engineering, first year ;) Everything is my work, but it's not as difficult as you can think! Just a few resistances connected to input ports to get different values when coins do the connection. Keyboard works the same way!

#9 Capn Kirk 911

Capn Kirk 911

    Posts: 195
    Joined: 12-December 06
    Member: 1121
    Country: USA

Posted 30 January 2007 - 09:33 PM

I love It, I wish I have one of those! 8-o

#10 Ricardo Oliveira

Ricardo Oliveira

    Posts: 5
    Joined: 30-January 07
    Member: 1313

Posted 30 January 2007 - 11:23 PM

Pawel, I also saw that blog, but I haven't found any polish translator yet  |-/  :P

#11 hippotam

hippotam

    Posts: 21
    Joined: 31-January 07
    Member: 1317
    Country: Poland

Posted 31 January 2007 - 06:52 PM

View PostRicardo Oliveira, on Jan 31 2007, 12:23 AM, said:

Pawel, I also saw that blog, but I haven't found any polish translator yet  |-/  :P
Hi, that's my blog. How may I help you?

#12 Pawel

Pawel

    Posts: 26
    Joined: 21-January 07
    Member: 1286
    Country: Poland

Posted 31 January 2007 - 08:05 PM

" blu3-fir3 from Portugal builded and programmed machine for sell drinks and snacks.
(first foto)
It activing
One: We are throwing in a currency.
(Secound foto)
Two: We take away Sprite.
(Third foto)
Eee...Hippotam help ;) I can't write along.

#13 hippotam

hippotam

    Posts: 21
    Joined: 31-January 07
    Member: 1317
    Country: Poland

Posted 31 January 2007 - 09:00 PM

View PostPawel, on Jan 31 2007, 09:05 PM, said:

Eee...Hippotam help ;) I can't write along.
Well, there is really little text in there. I came across your MOC while browsing briskshelf, got excited about it, googled you and blogged few words about you and your creation. It is mainly translation of your own text into Polish:-)

BTW, I think the vending machine is fantastic. I think you should exhibit it on some PLUG show and actually raise some funds with it. I would be first in line to buy some 7UP :-)

#14 Ricardo Oliveira

Ricardo Oliveira

    Posts: 5
    Joined: 30-January 07
    Member: 1313

Posted 01 February 2007 - 01:59 AM

ahah  :-)

Thanks for translating me that. It was just curiosity!

Everything was built for fun, but that's not a bad idea! :D I get nervous when PLUG members ask me to try it. ;) I need to be always there close to the machine, at least! Hm, well... but if I'm not there and something goes wrong, then I can blame them  :-D

#15 JINZONINGEN73

JINZONINGEN73

  • Da Mecha Bay


    Posts: 2366
    Joined: 25-October 05
    Member: 516
    Country: USA

Posted 10 February 2007 - 07:40 PM

Highly technical creations like this always shock me.
They don't seem possible with Lego, but someone always manages to do it.

Incredible stuff.  8-°

I think what gets me most is that it can tell the different types of coins.
If fluoride isn't dangerous, why was it added to the water in the Russian gulags and by the Germans during world war 2 to make the prisoners "apathetic" to what was going on around them?
Posted Imagehttp://www.astralwer...ix/default.html Posted Image

#16 Optimax X

Optimax X

  • Likes sheep......


    Posts: 652
    Joined: 07-January 07
    Member: 1212
    Country: england

Posted 05 March 2007 - 09:53 PM

Look at all that junk food! 8-°  Opps, sorry, hope i was not too ofending, great model, very big and amazing workings if it does actuly do what a real vending machine does.

#17 exo attack

exo attack

    Posts: 627
    Joined: 23-December 06
    Member: 1141
    Country: scotland

Posted 05 March 2007 - 09:56 PM

That is very impressive, Now, if you made that out of those LEGO sweet blocks, the whole thing would be edible!

#18 Ricardo Oliveira

Ricardo Oliveira

    Posts: 5
    Joined: 30-January 07
    Member: 1313

Posted 05 March 2007 - 10:40 PM

It works, obviously ;) That was the point of building it! I will try to make a simple movie soon.

#19 conductorjoe

conductorjoe

    Posts: 110
    Joined: 12-April 06
    Member: 725
    Country: USA

Posted 06 March 2007 - 04:10 AM

View PostStarwars4J, on Jan 30 2007, 12:18 PM, said:

This is quite possibly one of the most ingenious, creative, and complex things I've ever seen done with Lego.

How long did it take you to build/design?  How many pieces are in it?  Can you make me one?  ;-)

Absolutely fantastic.  And welcome to EuroBricks!  You should introduce yourself over at the introduction forum :-)
Ditto. I'm speechless, you're one of those higher beings who has the awesome ability to make stuff like this. X-D I don't think I would have even gotten started. My brain would explode.

10/10, just hope no one takes it apart to get free pop.

#20 Dark Brick

Dark Brick

    Posts: 144
    Joined: 07-February 07
    Member: 1343
    Country: U.S.A

Posted 22 March 2007 - 02:33 PM

I think you and Mark Bellis(EB member) have remarkable talent in creating intricate real working models. I have to say that now I have seen almost everything that has been developed by the LEGO community.

Now I have this urge to purchase the new Mindstorms set just to see what can be done myself. Thank for the inspiration.



DB

#21 Paul B

Paul B

    Posts: 1180
    Joined: 01-November 09
    Member: 8056
    Country: Australia

Posted 03 February 2010 - 11:39 AM

This is simply outstanding, really well designed and built.

Paul



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users