Context
I have been trying for some time to control a 4.5 V bistable solenoid valve (a bistable solenoid valve is controlled by reversing the polarities) using an ATmega328P in order to be able to control a flow of water. Everything will be on battery and therefore needs to consume as little as possible.
For now, all tests have been done at 5 V powered by USB and on 3.7 V battery.
Attempts
When I directly connect the valve between VCC and GND, whether it is with USB or battery, the valve correctly open/close.
I tried using a L9110s and a L293DNE, but with the battery, the problem is that the valve only makes a slight noise, but does not open/close. It also happens from time to time with USB, but it's probably a handling error on my part.
So I think the controllers have too big losses and don't give a high enough voltage to do anything. These are of course just assumptions, I don't know enough about it to say for sure.
Regarding the connections, I did as indicated in the datasheet:
By placing the valve in place of the motor and connecting one of the two inputs to the GND and the other to the VCC.
Values
I did some tests by measuring the voltage across the valve with the L9110s, as well as its current under different conditions.
In 5 V through USB
Voltage with valve | Voltage without valve | Current | |
---|---|---|---|
Off | 0 V | 0 mA | |
Open | 2.7 V | 4.5 V | 196 mA |
Close | -3.3 V | -4.6 V | 231 mA |
And that work !
In 3.9 V through 3.7 V battery
Voltage with valve | Voltage without valve | Current | |
---|---|---|---|
Off | 0 V | 0 mA | |
Open | 1.8 V | 3.3 V | 140 mA |
Close | -2.1 V | -3.5 V | 150 mA |
But here, it just makes little noises…
Finally
I would like to know if there is a way to increase the output voltage of the L9110s without consuming more when not in use. I had thought about using a DC-DC step up boost like this one, but the problem is that the L9110s reverses the polarities, and therefore I cannot connect my boost to the output of the latter.