Close

The Deuce, you say (or: how do these pump things work?)

A project log for Tintype Develop-o-tron

Automated tintype (and film?) developing machine

jorj-bauerJorj Bauer 05/09/2016 at 00:590 Comments

I've built many contraptions over my forty-some years. And I'm a bit surprised that, to date, none of them have really involved pumps. Okay, there was that one "hey, we have some high power sump pumps from the flood, and a kids' pool, and some steel pipe, and - look at this! - a KID, so let's turn this in to a fountain and see if we can spray water higher than the house." Which is related to the "pump all the water out of the basement for a week" project. Which is related to the "what do you mean the pump overheated?" project. But none of those involved any real logic; they were just pipe - turn on - enjoy. Or, hope to enjoy.

So when I started this project I knew just about bupkis about pumps and solenoid valves. Sure, I know what they do. I know about diaphragm pumps, piston pumps, peristaltic pumps. I know how these things work. I've just never had to specify that pump "A" was the right pump for job "B". And I've sure as hell never had to pick a solenoid valve. Or six.

But I know a lot about the chemicals I want to pump around this thing. I know that photographic fixer will happily eat away silver - as it's intended. And also copper and steel, amongst other metals. Plastic, then, is the name of the game.

I figure that I need to move about 1L of chemistry in under a minute; 30 seconds being my target. Based on those two specs alone, I picked a pump. Well, two pumps: one for each direction.

Seaflo New 12V Water Pressure Diaphragm Pump 4.3 L/min 1.2 GPM 35 PSI Caravan/RV/Boat/Marine

... or so it says. This thing is designed to put positive pressure out the front end, with an automatic cutoff, so that you can use it to pressurize a faucet in an RV. The pump pumps up the pressure and turns off; you later open the tap; water starts to flow out because of the pressure in the line; then the pump kicks back in to keep the water flowing. Seems pretty good to me! Should have my liter of soup moved in seconds, easily.

It turns out that these pumps are pretty good for my task (I got lucky). They're not quite as fast as I'd like, but this (as you'll soon see) are due to engineering difficulties rather than the pumps themselves.

Next up are the solenoids. I drew up a quick flow diagram to figure out how I'd make this all work, and quickly realized I'd need 6: one for each motor direction; one for each of the three supply tanks; and one for a waste line. I picked something that looked like it might do the job, based on nothing other than the 12v supply.

-NEW- Solenoid Valve 1/4" Normally Closed (N.C.) 12VDC Nylon (NEW Improved Crack-resistant Polymer) Blue Cap by U.S. Solid

These, it turns out, are just about sufficient. The "Crack-resistant Polymer" turns out to be eminently crackable - if you have no idea what you're doing and overtighten the fixture, and then put way too much force on it at an angle. I don't think I can really fault the manufacturer here. I made do with it for a week or so by filling the crack with superglue and then coating it with truck bed liner. Good enough for development.

The bigger problem is also not theirs: these are designed to flow in one direction, and I really need bi-directional flow.
The good news is that they worked bi-directionally. The bad news is that they also leak air bi-directionally.
This turned out to be an acceptable solution for the first go-round. I found that once everything was primed (had been filled and then run fluid through) - and with suitable amounts of truck bed liner poured over various connections that were then clamped down with 3/8" hose clamps - I could still fill the tank in about 45 seconds. Not ideal, but it did work. Clearly room for improvement here on the develop-o-tron[bis].
The initial proof of concept showed the air problem, with fairly slow pump action going on here. I was not deterred.

To run all of this, I figured I would throw in a Moteino with an RFM69. This would let me put most of the electronics onboard in some waterproof and safe way, and take the controls off to some safe remote location. Not to mention that, as you might suspect by now, I had some Moteinos close at hand and I'd rather use the what-I-have. I'm really liking the remote programming of these devices, which also means I can close up the circuitry and program them over the air. Very, very convenient - and having to use the Arduino IDE-from-hell is a minor price to pay.

For relays, rather than rolling my own - knowing I was on a tight schedule to get this done, prep the actual tintype plates, and have it all come together for a real honest-to-goodness photo shoot - I bought a

JBtek 8 Channel DC 5V Relay Module for Arduino Raspberry Pi DSP AVR PIC ARM

This board is fairly well engineered, quite to my surprise. Optoisolators! Flyback diodes!! DUAL power supply inputs!!! It's almost like engineers had some part in making these, which is something I am very unaccustomed to seeing with the Arduino community. Generally speaking, either it comes from Sparkfun or Adafruit and is well-engineered; or it comes from China and it's terribly underthought.
Take my first attempt at a power supply as an example. I grabbed a

NEWSTYLE AC 110V-220V to 12V 10A DC 120W Switching Power Supply Transformer For LED CCTV

which boasts "overload protection" and "over volt protection" and other such hoo-ha. First, you have to notice that there's a switch *inside the RF cage* that switches it between 110 and 220 input (set to 220 by default). Then, after you've found a suitable tool to poke through the cage to flip the switch, find that it happens to be running at a cool 12.01v, and start using it - the first time you accidentally short the 12v side, the power supply goes up in a *poof* of "oh, now I'm just gonna put out 10.1v and there's nothing you can do about it."
Fortunately, from another project (ahem), I've got this

LEDwholesalers 12 Volt DC Waterpoof LED Power Supply Driver Transformer with 3-Prong Plug, 60W, 3204

sitting around. 4A isn't the 10A I had expected, but it's probably good enough. And, HEY!, it's in my house already. AND IT WORKS AT 12v.

The last piece of electronics I need is a 5v step-down regulator. I've got a pile of 7805 linear regulators in my basement, and those would do fine. I'd just have to add some filter caps, and then waterproof it in some way, and do my best to not draw so much current through it that it heats up and causes trouble. Which, if you haven't guessed, is what I've had happen with many other "I just need a simple 5v regulator so I'll build it on the fly" kinds of projects. The next thing you know, you're adding something that draws a little more, and a little more, and now suddenly that horribly inefficient linear regulator is white-hot and threatening to start forest fires or go mini-nova and melt down the planet or something.

For once, I did the smart thing. I bought a

SINOLLC DC 12V 24V to 5V 3A Converter Step Down Regulator 5V Regulated Power Supplies Transformer Converter

figuring that, starting from an initial couple-hundred-milliamps, it's unlikely that I'll need more than 3A on the 5v supply. And if I do, these have bigger brothers and I could easily swap out a 3A for a 10A.

And that's all I needed for the initial planning. Next up: we start the build...

Discussions