Design and manufacture of Milk ATM


#41

Very good. The more the variables, or point of reference, the more accurate it gets. We could combine them all.
About programming the atmega, when will you be available at gearbox. Or any other way you could guide ne throught.


#42

Hey Emmanuel. I can answer questions you may be having concerning programming, any difficulties you face. I know that on the forum there is a post we discussed on programming atmega328 standalone


#43

Can you describe the exact trouble you are facing?


#44

Programmer not detected by atmel studio. Thought it was a driver problem,
looked into it, still not detected


#45

Before moving into atmel studio have you used the programmer on the normal arduino IDE to program atmega328 standalone chip? its a good starting point.

Arduino IDE supports a wide range of programmers

-AVR ISP
-AVRISP mkII
-ArduinoISP
-USBTinyISP
-USBasp
-Parallel Programmer
-Arduino as ISP
-Arduino Gemma
-Atmel STK500 development Board
-BusPirate as ISP


#46

After diagnosis and fault searching, I discovered that it was the programmer that was damaged. Quite a waste of my time.

Anyway, i proceeded to the prototype and made a rough picture of how the main part of the dispensor will work using what i currently have in my hobby components kit.

In the breadboard, observe the arduino, four buttons, LED bar and relay: the buttons are a preset value of given amount of drink each having a fixed price. In this case: 300ml, 500ml, 700ml and 1 Litre buttons. So if a 500ml drink is needed, the user simply selects the 500ml button, and the relay opens the valve to allow liquid flow.

I had made a short working video to demo the process, only to realise i couldn’t upload the video. So ill just add a screenshot from the video showing the valve pouring into a cup.


#47

This is very nice Emmanuel! nice work. it is very good to do breadboard prototyping before the final design, it helps catch unseen errors of the design concept.

I can almost see your circuit. Were you able to get exactly 300ml, 500ml, 700ml from the various push button selections in your experiment? - I understand accuracy is going to be quite an important property of the dispenser if it is to be used for business and profit making.

Sorry about the broken programmer


#48

With the valve, no. Something to do with minimum pressure requirements to
allow the valve to allow flow. Apparently, only the brass version of it
would work the concept.

However, i replaced it with a miniature pump, carried a few analysis and
balancing (pumping at a (calibrated) amount of time on a constant votage
suppy) and it worked fine. Repeatedly using the same time gap gave almost
accurate (probably due to factors like spillage and air gap) amount of
water.

So my assumption is, the amount part works

aliandika:


#49

Great. Thats very creative of you.
By the way, concerning the video, you can upload it to your google drive space and right click on the options to obtain a sharable link that you can paste here. I’d really like to see the video


#50

I suppose its about time, to begin designing the schematic and then the PCB


#51

Video link:
https://goo.gl/photos/ijiABoq6E2f2BJgEA

I agree its a goot time for the design phase. How do you suggest we go
about it?


#52

Hey Emanuel, I’ve seen the video. Its great. All this hardware can be condensed into a single printed circuit board, which will be the heart of your system. It will be cheap, compact, professional and reliable.

I suggest using a KICAD software to design this board. I’ve done a conversation thread on splashboard v2.0, which you’ll find as one of the topics, and you’ll get everything there to get you started. The good thing with such a software is that it’s open source (forever free), and there is no licence to pay for commercial products like this.

I’ll help with any question you have. Please begin by putting all this into schematic first, then upload the schematic here we both evaluate and verify


#53

Am into this, arent there kits in the china market for milk meters with displays and unit cost programming?