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 Sugar-Coffee dispenser controller (September 27 2010)

Following, i designed and made the PCB for the sugar and coffee dispensers. For this controller, i will use a doubled Unipolar Stepper Motor Full Step Controller that i had designed a couple of days ago. Because i have to control 2 motors, i will design one controoler and i will also include 2 relays to select each time which motor to drive. Of course, both motors will be able to run simultaneously.




The Circuit

So, here is the schematic diagram of the circuit:





The X1 connector is for the power supply. The SV1 is the interface to the main board, which will ultimately control all the modules. I use 2 relays, K1 and K2, to connect or disconnect the common wire of the motors. The relays will be controlled from the main board directly. Into production now:


The procedure is more or less known. First, the printout of the PCB Then i cut the transparencies into size. And i also cut a photosensitive PCB board to size... ...Which i smoothed its edges with a file



Transferring the artwork to the PCB with photographic method Developing the PCB in the solution Drilling a hole for hanging the PCB into the etching bath And finally, etching the PCB


After cleaning and drying the PCB...


First the drilling part. And then,the soldering part BTW: My soldering station rocks!




Dum spiro disco

This phenomenon worths to be mentioned. When i put the controller into test, it worked perfectly, except one slight problem: No matter which motor was enabled (by the relay), both motors would run! I could not run a single motor by no means! Then, i re-checked the circuit and found out what happened!:





Suppose that K1 is closed and K2 is open. The top motor should operate, while the bottom should be stopped. Now, suppose that a pulse arrives at the gate of Q2. The red line, indicates the normal current flow, through the top motor and through the Q2. The blue line, indicates the parasitic current flow. From the other side of the first coil of the top motor, an amount of current runs through, and goes through the other motor's coil! That is exactly why both motors run, even if the second motor's common wire is completely disconnected!

To resolve the problem, i soldered diodes on each of the 4 wires of the coils:





This way, the current will not follow the blue line, as it cannot go backwards to the second motor's coil. I soldered the diodes directly on the wires of the motors, because i did not want to re-make the PCB:


8 diodes and 8 pieces of heatshrink tube is what i will need I cut the leads of the diodes small And one by one, i cut the wires of the coils of the motors. NOT the common wire
Then i soldered the diodes with the correct polarity And with the thermal gun, i shrink the heatshrinks Done this for both modules


And then i tested the modules. they work perfectly! Now i can control both motors with a single controller, being also able to run them simultaneously.


























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