Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

24 May 2010
Author: Giorgos Lazaridis
Instant Cold Coffee Machine





Worklog - The electronic part: The Shaker guide controller (September 28 2010)

The next module that needs of a controller is the shaker liner guide. This controller is going to be very easy compared to the previous 2, because it only needs to control the direction of a DC motor. I added also a linear DC motor speed controller, to reduce the speed. The speed is controlled by a potentiometer on the PCB.




The circuit

Here is the schematic diagram of the circuit (as always, click to enlarge):





I use 2 relays to control the motor. The first relay (K1) turns on and off the motor and is driven through Q2. The next relay, K2, will change the polarity of the motor, and thus it controls the direction. This relay is controlled through Q3.

The transistor Q1 is the one that controls the voltage of the motor. This is done by adjusting the potentiometer R4.

Finally, R5, R6 and the zener D1 are used for the encoder. The signal of the encoder is 12 volts. The zener will drop it down to 5 volts (for HIGH state), and the R6 is pull-down resistor, as the signal will be driven to the master microcontroller. R5 is current limiting to protect the Zener.




The Printed Circuit Board



I will not go through the whole procedure that i do to make a PCB, as i have already show this in the previous pages. So, here is the PCB complete, with all the components soldered:





The motor draws about 2.5 Amperes at 12 volts. That is 30 Watts. The transistor Q1 needs of a large heat-sink to operate, as it needs to dissipate a lot of power when working. What i really did, is to cut a 16x10mm aluminum U profile, about 30mm long, and use it as a heat sink. It is not a perfect solution, but hey, the motor will only run for a couple of seconds each time. I tested this heat-sink for about 2 minutes of continuous operation, and proved to be quite reliable. No need to mention that i could easily bake eggs on it...

Then, i began wiring the limit switches:


The tools that i used First the bottom limit switch And then the top limit Both switches goes to the PCB using a polarized pins header




Test-run
Here is a picture with the PCB connected for test-run:



The controller works perfect. When 5volts (hight is applied to the "start" pin, the motor goes down with the pre-selected speed. If the limit switch is actuated, the motor stops immediately, and the "Bottom Limit" output is driven low. The motor can only move upwards.

When the "direction" pin is high (5 volts), the motor moves upwards, until the top limit is actuated. The motor will then stop, and it will only be able to move downwards. Moreover, the "top limit" output will be driven low.

The encoder interface also works fine. The pulses are successfully converted form 3-12V to 0-5 volts.




















Comments

  Name

  Email (shall not be published)

  Website

Notify me of new posts via email


Write your comments below:
BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


      

  • At 3 July 2015, 6:23:11 user Alex wrote:   [reply @ Alex]
    • Still watching this space every other month only to find the project still not being updated. Hoping to see some progress soon. :)


  • At 28 March 2014, 3:28:25 user Nikos wrote:   [reply @ Nikos]
    • re si, nomizo the "redux" version should have an optional milk stage too for those of us who prefer it a bit easier to drink :)

      subscribed on YT, keep up the good work!


  • At 18 January 2014, 7:31:43 user Giorgos Lazaridis wrote:   [reply @ Giorgos Lazaridis]
    • @Alex In Greece during the Ancient times there was this saying: "Oyden monimoteron ek toy prosorinoy" which means that "nothing is more permanent than the temporary".
      But now that you said that again, i think i should restart this project, shouldn't I? Hopefully within this year.


  • At 17 January 2014, 19:59:52 user Alex wrote:   [reply @ Alex]
    • Dude what happened with this project, there hasn't been any updates for quite some time now. Looking forward to see the end result :)


  • At 13 November 2013, 17:56:48 user Robert wrote:   [reply @ Robert]
    • This is a great invention! I especially like the straw delivery, it is perfect. how wonderfully useless! you are a genious!


  • At 16 September 2013, 15:38:37 user praveen wrote:   [reply @ praveen]
    • excellent job......


  • At 14 June 2013, 17:45:35 user Amir wrote:   [reply @ Amir]
    • Hi ,

      Great work . From where did you buy the worm gear extruder ? Can you give me a website for that .

      Many thanks
      Amir


  • At 29 March 2012, 21:03:02 user alex wrote:   [reply @ alex]
    • Hi you have a nice coffee Instant Cold Coffee Machine but you wanted to use a fridge for cold water but no water cooler that you use waron also in coffee automaaten is where you can get I know old water out of if not the name but it can look for you we have that built-in devices greetings alex
      mail alex.heijkens@kpnmail.nl


  • At 6 March 2012, 10:25:13 user Giorgos Lazaridis wrote:   [reply @ Giorgos Lazaridis]
    • @steve salvaged from an old photo copier. it was used to push the toner


  • At 5 March 2012, 13:56:29 user steve wrote:   [reply @ steve]
    • Where did you found the worm gear for the sugar and coffee supply?And awesome project.Good Job


  • At 9 January 2012, 9:40:16 user qwerty wrote:   [reply @ qwerty]
    • Tromeri i frapediera sou.bravo sou


  • At 24 August 2011, 11:38:08 user a.mira@vmcogulf.com wrote:   [reply @ a.mira@vmcogulf.com]
    • niccccccce i like this machine :) did you manufacuter it ???


  • At 26 July 2011, 17:53:16 user Sergio wrote:   [reply @ Sergio]
    • Excelent Job! Very good videos an explanations.

      Congratulations!


      Segio from Argentina


  • At 24 May 2011, 15:00:24 user Kammenos wrote:   [reply @ Kammenos]
    • @Fung no of course not. i will have different programs for different sizes. there are 4 sizes of cups (in respect to the volume)


  • At 24 May 2011, 14:24:55 user Fung wrote:   [reply @ Fung]
    • Do the cups which being used are restricted to the same size and same volume? (ie other cups are not allowed?)


  • At 14 May 2011, 19:27:58 user Ivan wrote:   [reply @ Ivan]
    • Great work.....


  • At 27 April 2011, 4:54:19 user Kammenos wrote:   [reply @ Kammenos]
    • @Dimitris it was part of an old photo copier, used to push the toner.


  • At 26 April 2011, 20:23:01 user Dimitris wrote:   [reply @ Dimitris]
    • Congratulations man!
      Awesome machine!
      Can you tell me, where did you find the 'worm' thing
      for the dispenser mechanisms?


  • At 27 March 2011, 6:16:30 user Kammenos wrote:   [reply @ Kammenos]
    • Hello George. Regarding the elements, these are hardware wiring to indicate wire connections between the modules. The orange boxes indicate wires coming from the output module (Digital Output Module - DOM), and the green indicate wires going to the Digital Input Modules. Notice that for example, from module "Rotary table", 4 wires comes out, then 2 of them arrive from the DOM and 2 goes to the CPU.
      As far as the diode is concerned, this is only for polarity protection. It is the same as the D2. But you are right, It is not necessary and i may not put it after all.


  • At 27 March 2011, 5:57:10 user George Hadley wrote:   [reply @ George Hadley]
    • I think your architecture diagram (first figure) is slightly confusing, because it seems to include elements of code (the elements above the CPU) with hardware elements. Ideally, you would have a system-level block diagram detailing your hardware and a separate functional block diagram to describe your code. If I'm misreading your architecture diagram, feel free to ignore this.

      Secondly, looking at your reset circuitry, I see you have a 1N4148 diode between your microcontroller pin and your ICSP header (pin 1). I'm fairly certain this diode is not necessary, so you may want to double check that.

      --George


  • At 25 March 2011, 11:45:30 user Fung wrote:   [reply @ Fung]
    • Why does PIC16F1937 have 2 Vdd's and 2 Vss's?


  • At 12 March 2011, 16:40:13 user de.das.dude wrote:   [reply @ de.das.dude]
    • you are sooooo awesome!!!

      there are no words to describe your awesomeness!

      i hope i can be as awesome as you!


  • At 25 May 2010, 1:53:39 user Tom Hargrave wrote:   [reply @ Tom Hargrave]
    • Frappé has become very popular here in the States. The difference is we use fresh coffee grounds to make coffee then we chill the hot coffee. But we tend to make more fresh coffee here while Europeans tend to make more instant coffee.

      To serve we pour some in a glass and add chipped ice.

      We also tend to add flavors to our frappé in the States. We can't leave a good thing alone - we have to tinker with it to make it more sellable.



    delicious
    digg
    reddit this Reddit this
    Faves



     HOT in heaven!


    NEW in heaven!



    New Theory: AC electric motor working principle



     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

    Site design: Giorgos Lazaridis
    © Copyright 2008
    Please read the Terms of services and the Privacy policy