|
Post by backyardhops on May 19, 2020 6:45:58 GMT -8
|
|
|
Post by SDL on May 19, 2020 15:15:07 GMT -8
Charles, A man after my own manner. We are working on doing very similar things for the next version of SGS. The simplest way (since it is a 5V relay) would be to buy a USB Plug to wires breakout: amzn.to/2ZwipuXConnect it to the USB PowerControl. Then you have no software to change. You can do the same thing on the extender boards too. The 5V line is the line that is switched by the USB PowerControl, so you can use that on your own relay. BP
|
|
|
Post by backyardhops on May 20, 2020 4:59:44 GMT -8
Excellent. I assume you are aware my solenoid is 12 Volts. I will be posting this on Instagram: backyardhopsfarmer
Best
Charles
|
|
|
Post by SDL on May 20, 2020 7:54:04 GMT -8
Relay is controlled by 5V, that's what I meant.
AC 250V/10A, DC 30V/10A is what the relay will switch.
We followed you!
BP
|
|
|
Post by backyardhops on May 24, 2020 19:54:17 GMT -8
Greetings BP! The bad news is we are at least six months away from a hops harvest. The good news is we have 6 months to really mess things up! Speaking of which here is my progress: charlesdarwall.com/images/solenoid.png It is lovely looking but now I have to plug it into the USB. Arrrrgh! I shall assume the Solenoid positive (red) goes directly to the 12V power source. But the ground. I need to get the power 12 ground through the USB device, without making Raspberry crumble ... Hmmm...That is the great mystery. Thanks!! Charles
|
|
|
Post by SDL on May 26, 2020 17:41:17 GMT -8
Beautiful picture?
Send me a link to the specification for the solenoid and i'll take a gander. Happy to help. This is very useful for our next generation development.
BP
|
|
|
Post by backyardhops on May 28, 2020 3:46:10 GMT -8
|
|
|
Post by SDL on May 29, 2020 12:18:01 GMT -8
You switch your 12V Powersupply through the relay. You control the relay with 5V from the USB connector. Otherwise you can program another GPIO from the Pi2Grover board (Pi2Grover supplies 5V GPIO signals - directly from the Pi they are 3.3V).
Love the images!
BP
|
|
|
Post by backyardhops on May 31, 2020 4:33:38 GMT -8
Making progress but still no trigger of watering when the hydro sensor is removed from soil and water level drops to single digits. Three of the four leads from the PI Grover D16/D19 are plugged in: Positive, Ground and the YELLOW lead into IN slot. White lead is not connected. This is my configuration.
|
|
|
Post by backyardhops on May 31, 2020 11:15:46 GMT -8
EUREKA!!!! It works, at least it does when I press the "Water" button on the Blynk. What comes out resembles the experience of an old man with an enlarged prostrate (tinkle) while what I need is Secretariat after winning the Kentucky Derby. I'll tinkle with the code (pardon the typo)
|
|
|
Post by backyardhops on May 31, 2020 13:45:50 GMT -8
EUREKA 2.0!!! def forceWaterPlant(plantNumber): previousState = state.SGS_State; #if(state.SGS_State == state.SGS_States.Monitor): state.SGS_State =state.SGS_States.Watering if (config.USEPUBNUB): publishStatusToPubNub() if (config.USEBLYNK): updateBlynk.blynkStatusUpdate() pumpWater(60.0, plantNumber) #darwall was 2 state.Last_Event = "Plant #{ } Force Watered at: ".format(plantNumber)+time.strftime("%Y-%m-%d %H:%M:%S") if (config.USEBLYNK): I need a minute because I am running an 18' drip hose
|
|
|
Post by SDL on Jun 1, 2020 10:21:33 GMT -8
Congratulations! We are watching you and following you on Instagram.
Please drop me your private email address on a PM here. John Shovic would like to communicate with you.
Best, BP
|
|
|
Post by backyardhops on Jun 3, 2020 19:12:01 GMT -8
Progress being made, now to remote connect. I accidentally attached the solenoid to the NO terminal and almost flooded my yard, LOL!
|
|
|
Post by SDL on Jun 5, 2020 16:38:58 GMT -8
I love stories like that!
BP
|
|