Introduction: Trampolino - Automatic Liquid Pouring System
Trampolino is an open source and open hardware project. You can use it to pour water into a plant vase at a specific time for example. The project is described also at http://darksmo.github.io/arduino-trampolino/ .
Manual liquid pouring
Fill up your desired quantity of liquid directly through the straw.
Press a button to start pouring, release it to stop pouring.
Unit of liquid calibration
Trampolino can pour discrete units of liquid automatically.
Through the calibration procedure you can teach Trampolino how much liquid corresponds to a unit.
Automatic liquid pouring
You can instruct Trampolino on quantity, timing and frequency of automatic liquid pouring.
Trampolino displays information about the remaining time at which the liquid is going to get poured.
No pumps, no big motors, and no secrets. Trampolino hardware and software are open and documented.
Start building your trampolino now!
What you need to build this project:
- Half breadboard (the one that comes with your Arduino kit is fine)
- 3 push buttons
- 1 on/off switch
- 1 capacitor 100µf 25v
- 1 servo motor
- 1 led 5 10KΩ resistors
- 2 220Ω resistors
- 1 220KΩ resistor
- 1 560Ω resistor
- 1 potentiometer (10KΩ max resistance)
- 1 LCD display (Hitachi HD44780 based)
- 1 transistor Long wires. You will be placing some components away from the breadboard. So you'll need to find long cables, or create some. I've soldered thin wires from an ethernet cable together with wires that fit into the breadboard for example. Crocodile wires can also be useful if you intend to use this type of push buttons.
Step 1: Insert the Straw in the Bottle
Believe it or not, the most complicated part of the project is to insert a straw upside down into an empty plastic bottle.
Can you do that? I have heated up the bottom of the plastic bottle with the tip of a how glue gun and penetrated the bottle with the straw when there was enough heat.
Make sure there is no leak.
- Fill the bottle with some water
- Close the bottle with its original cap
- Place a finger on the straw
- Squeeze the bottle! no water should come out
Step 2: Bind Motor and Straw
Step 3: Add Support to the Motor
Depending at what height of the bottle you have managed to attach the straw, you may need to fill the extra space between the bottom of the bottle and the bottom of the servo motor. For example, you can bind the servo motor to the cap of the bottle.
Step 4: Build the Liquid Passing Sensor
Trampolino requires a "liquid passing sensor" at the tip of the straw. This is made up of a couple of wires that close a circuit when the liquid passes through the tip of the straw.
Use some tape to bind the two wires at the end of the straw as shown in the picture.
Step 5: Liquid Passing Feedback LED (optional)
You can optionally mount a led that will turn on to indicate whether the liquid is flowing. Just extend the ends of the led with two wires and bind it to the end of the straw with more tape.
Step 6: Input Push Buttons Circuit
Start by connecting the +5V and GND pins of the Arduino to the breadboard. Extend these connections to the other side of the breadboard as shown. Connect three push button input circuits. The push buttons are supposed to be far away from the breadboard, so you would need to connect long cables to them. In my project I've used buttons that looks like this, and connected each of them to the breadboard though crocodile wires.
Step 7: Servo Motor Circuit
Connect the servo motor and the capacitor as shown. The capacitor can fit directly into the breadboard actually (it looks like that in the picture just for clarity purposes). Note that the polarity of these connections is important.
Step 8: Liquid Passing Detection Circuit
This is our liquid passing detection circuit. The two floating cables must be soldered or connected somehow to the wires at the tip of the straw we have prepared at step 4 of the previous section. I have no other particular note about this step.
Step 9: Liquid Passing Led (optional)
Connect the led we have prepared at step 5 of the previous section to the breadboard. This step is optional. As you can see I'm using the pin 13 of the arduino, which is already connected to a small led on the arduino board. If you skip this step, you won't have feedback about liquid passing through the straw at the tip of the straw.
Step 10: LCD Display - Part 1
You don't need to solder 12 wires from the display to the breadboard if your display has headers. If this is the case, just plug it on the breadboard as the very last step of this tutorial.
Step 11: LCD Display - Part 2
Finish up connecting the display. As you can see, there are two mini circuits here.
The potentiometer can be used to tune the backlight of the led display.
The on/off switch is used to turn on and off the backlight of the display. I just don't like to have lights on if I'm not using a device... but if you don't mind you can connect that resistor directly to +5V and skip the switch connections entirely.
Note the curve cables at pins 29 and 30 of the breadboard. They are curve because a display with headers may sit over them (see previous step).
Step 12: Software
This will be hopefully your less painful step. You can download the source code for the software from https://github.com/darksmo/arduino-trampolino/arch....
Then extract the zip archive and follow the instructions in the README.md file. Feel free to star, fork and contribute to improve Trampolino software via GitHub at https://github.com/darksmo/arduino-trampolino .
We have a be nice policy.
Please be positive and constructive.