Peristaltic Pump with Reverse Polarity Switch

Hello,

I am working with a local museum to create an interactive display for how sap flows in maple trees. The museum is the International Maple Museum that is all about maple syrup production. It is located in my rural town and I'd love to help bring in some more interactive and relatable exhibits. After doing some investigating I decided that the sap flow exhibit is something I could create using an arduino and a peristaltic pump. However, I know nothing about how to code an arduino. My coding is limited to simple block coding. I've searched and searched and haven't found exactly what I need to put this together.

What I would like to do is use a rocker switch to adjust the flow of sap (slightly colored water) to go one direction to simulate the flow of sap upward in a tree at night and then switched to go the other direction to simulate the flow of sap downward during the day. The off position of the switch would stop the flow in either direction. I would like the flow to stop completely after 20-30 seconds to account for someone pressing the switch, but not shutting it back off.

I got the general idea of how I want to set up the pump using this video.

https://youtu.be/xNIedHi9PL8

I'm hoping there is someone that could help me out with this.
Thank you!

Please read the forum guidelines to get an idea of the information that we need in order to provide assistance.

I do not have the time nor do I want to watch a video to try to find out what you want.

Can you provide a description and maybe a block diagram and/'or flow chart showing details of your project?

Do you want to use an Arduino to control all of that? What would the Arduino do? Which board?

Do you have parts already? If so, can you post data sheets or other technical data for the relevant parts

What if somebody sets the switch to the same direction all the time?

I'd implement a full cycle of night and day, together with adequate illumination. A push button can start a new cycle.

How do you know how much water has been pumped (remaining) up and down?

Or simulate sap flow by a moving pattern in one or more LED strips. Simple, dry, no overflow limitation.

I have attached a diagram of what I want to make.

I have the following items for the project:

Arduino Uno

Peristaltic pump

  • Volts:DC 12V
  • Current: 80mA
  • Relative humidity <80%
  • Temperature: 0-40℃
  • Flow rate:0-100 ml/min
  • Rotate speed:0.1-100 rpm
  • Motor RPM: 5000RPM

Relay

  • Operating voltage (power): 5V.
  • Trigger voltage: 3.3V to 5V.
  • Trigger current: 5mA.
  • Maximum load: AC 250V/10A, DC 30V/10A

Rocker Switch

  • Wire Rated Amperage at 12V DC: 20 amps
  • switch amperage rating: 20 Amps at 12V DC and 10 Amps at 24V DC
  • Max Voltage: 250V

And I have all of the needed wires and power supplies.

When the up button is pressed I need water to get pumped out of the bottom of the bucket. The water will be pumped up through the tubing. A tap in the side of the tree will be connected to the tubing which will allow the water to drip out of the tap into the bucket simulating the sap dripping on a warm day.

When the down button is pressed the water will flow down the tubing in the tree trunk and go back into the bottom of the bucket. This will simulate when temperatures drop below freezing.

When neither up or down is pressed (off) the flow will stop in either direction.

When up or down is pressed I need the arduino to stop the flow after a set time to prevent the flow from continuing after a person has walked away.




You can certainly have software controls over the switch behaviour, but using a momentary reversing rocker switch might be a better choice.

https://www.amazon.com/Momentary-Rocker-Polarity-Reversing-Control/dp/B079JDTC36

Always show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.


In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the current complete sketch.

Use the < CODE / > icon from the ‘posting menu’ to attach the copied sketch.

Is your pump reversible? Some are, some not. You need 2 relays for reversing a DC motor, also, some diodes to prevent "kickback" noise. Would be easier to use an H-bridge motor controller.

Hello jgates136

I see no need for the use of an Arduino. Please clarify.

Agreed. With the motor reversing rocker switch referenced in post #4, I don't think an Arduino will be needed, unless you wish to limit the time the switch can be held down or vary the flow rate with pwm.

The rocker switch in post #5 is self returning and is a momentary switch which must be held in position.

Well, that switch (DPDT) could be used to start/stop/reverse the pump, no relay needed except for timeout, but the switch would have to be manually reversed.

It would be conceivable to monitor the overall functionality using an Arduino.

We don't know which Arduino but I would suggest a UNO, L298 motor driver and a momentary SPDT, center OFF rocker switch.

I would use a off delay timer, when the motor switch is turned on in either direction it starts timing and will turn off the motor power after it times out. It will not reset until the switch is returned to the off position. No Arduino or other parts, just a simple timer.

That would be an ON delay timer. :grin:

It opens the contact after time out.

Yes, after the timing period.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.