Mini Filling Machine With Internal EEPROM
by Miftahul_Arif in Circuits > Arduino
571 Views, 3 Favorites, 0 Comments
Mini Filling Machine With Internal EEPROM
I will give a simple project that is Mini Filling Machine using Arduino Nano. The simple principle is the conversion of the delay time to turn on the DC pump, which later the delay time can be used to determine the volume of liquid to be filled.
Supplies
I use materials or parts in Indonesia's online shop. For those of you who will try my project, I can adjust it, maybe in every country it is different.
Measuring cup to calibrate the results of filling the liquid before entering the bottle or the like (looking for a delay comparison with the actual volume), optional.
Wiring
Button (-) : to reduce the delay timer.
Button (+) : To add delay timer.
Button (F) : to start charging/save delay value to internal memory (EEPROM).
Coding
Here I only use the Arduino IDE built-in library (EEPROM.h).
Please download the source code that I have included below (Mini_Filling_Machine.ino) and upload it to your Arduino Nano that has been wired.
Downloads
Trial &Error
Operation:
Prepare in advance the measuring cup (optional) and the liquid in the container.
1. Connect the Filling Machine module prototype with Arduino IDE.
2. Open the serial monitor on the Arduino IDE (Tools->Serial Monitor).
3. Press the (-) button to decrease the value in the EEPROM, (+) to increase the value to the EEPROM.
4. If the value has been adjusted, simply press the (F) button to try filling, if the value is in accordance with the measuring cup (eg 40 = 30mL), for volume multiples, just multiply or try Trial & Error.
5. When the value has been calibrated, press the (F) button for 3 seconds to save the value to the internal EEPROM.
Here I get the test values: set value 40 = 30mL, 70 = 60mL. With an error of approximately 5%.