Hi everyone, I'm a french student and I need some help on my project for school. With 4 friends, we have to create a machine which can prepare a baby bottle automaticly. My part is about relying every programs that my friends did:
-One for the milk pouder measure (by a servo which shed poudre into the bottle)
-One for the water measure (by a water pump and a water flow sensor)
-One for the mix (by a moto-reductor)
-One for the choice of the volume wanted
I'm realy bad in arduino, I learned python and html in class, but teachers want me to do this in arduino language. So I realy need help because the note will count for my diplom
We have a dagu minidriver for now, but if needed we can buy a new card that would be more appropriated for this job.
So, I need to program to work this way:
If the volume select by the button pushed by the user is X:
Activate the mix fonction
Shed the water needed for X volume (activate the fonction for Z seconds)
Shed the pouder needed for X volume (activate the fonction for Y seconds)
Stop the mix fonction 80 seconds maximum after the start
Can someone help us doing this and give me some advice in arduino ?
You need to treat each of the 4 parts in your Original Post
-One for the milk pouder measure (by a servo which shed poudre into the bottle)
-One for the water measure (by a water pump and a water flow sensor)
-One for the mix (by a moto-reductor)
-One for the choice of the volume wanted
as a separate learning exercise. Don't try to build a program with them all in it until you can get each working properly on its own.
And you cannot write an Arduino program for controlling an external device without continually trying it with the device to make sure it is working after every change to the code.
And you should do the same with your program parts
If the volume select by the button pushed by the user is X:
Activate the mix fonction
Shed the water needed for X volume (activate the fonction for Z seconds)
Shed the pouder needed for X volume (activate the fonction for Y seconds)
Stop the mix fonction 80 seconds maximum after the start