Forum Replies Created
-
AuthorPosts
-
crossmaxParticipantHi @Peter,
You know that I found your sources very useful, but I ordered a nodemcu with the H driver to have the most compact and robust device.
I have ordered 2 pieces of each, and with them I did not get the driver to work. The outputs of motor A are always 0V.I’ve tried several setups, with shorcut connector (short by VM and VIM), thus can use one power source (must be 4.5V~9V) to complete the drive and control for motor at a time. Also with two power source (9V to motor and 5V to nodemcu). I’ve tested your source code without modifications, and your code with my owns settings that I need to work with my other driver. In this old driver, I need to have only one data line in high state to +9V output, and another line in high state to -9V. More descriptive: GPIO0 high and GPIO5 low to +9V and GPIO0 low and GPIO5 high to -9V.
I dont understand why it fail and it is strange that both drivers are defective.
Am I forget something?Thanks once again.
crossmaxParticipant@peter
Thanks for share it!
I’m trying to flash but i get compilation errors. I’ve to install Time library from this link but seems is not compatible with your code.
I not have yet installed arduino library (#include <arduino.h> not found returned).Would you be so kind to link the libraries you have used? I’m newby to arduino
crossmaxParticipant@Peter, Thanks for your answer because it has opened another possibility that I had not contemplated.
My fisrt idea was try to do a wireless system with 9V baterry for control valve. I posted this thread where I explain it. I think it is impossible to do without adding a solar panel and I find it easier to have a power supply.As I have a ESP8266MOD in my jumble case. Can you share your arduino code? I think it is compatible with my ESP. Time ago I fashing it with Arduino IDE. I’ll be very grateful to you.
Thanks again.
P.D: Maybe it would be better to continue this conversation in your post about indoor watering system
crossmaxParticipant3) Indoor Station: I wanted to control my Claber Oasis indoor watering system in the same way as my front and back garden setups so I have combined an ESP8266 with a motor shield to drive the 9V DC latching valve on the Claber. I have custom code running on the ESP that mimics the OpenSprinkler Remote Station api so that the main OSPi controller in the back garden can turn the Claber valve on/off using the Remote Station functionality. Again, keeps all the programme scheduling together.
Hi @Peter, I have contacted you from another thread where you related that you had managed to operate a latching valve with L293D H driver.
I’m very interested to know how has managed to make compatible OS software with this type of valves. I think the only way to do it is to assign two gpio pins to each station, one pin to indicate to the driver +9V and another pin to indicate -9V.
BTW, I haven’t been able to make this change in the source code.Can you tell me how I can do it?
P.D: I’ve tried contact you via private message or via github but there are no such options.
Thanks
crossmaxParticipantHi.
First of all, sorry for this up. Is a old thread.Peter, I’m in the same situation that you were. I have a latching DC valve, and I want manage it with OpenSprinkler software that run on raspberry pi. I have a motor driver board, L298D which looks like L293D, but I need to configure the valve (in OS settings) with two tasks, one to open and another to close, connecting a motor driver board to 2 GPIO pins.
How did you do this setting into OS code? I suppose you modified the source code, right?
Thanks
crossmaxParticipantHi.
I have a 9V valves and I’m reading to setup OpenSprinkler with them. In my case, my valve is latching, and I think this is the problem to make compatible with OS software. My valve open circuit with a 9V positive pulse (just one pulse, not continue voltage) and close circuit with a 9V negative pulse (reverse polarity to open).
When working with pulses, I need to configure the valve with two tasks, one to open and another to close. Connecting a motor driver board to 2 GPIO pins, I can open and close, because the motor driver generates 9V and -9V depending on 2 GPIO pins.So, all this talk about latching valve mode, I recommended a not latching valve, but I did not know its existence for 9V operate.
-
AuthorPosts