Go to advanced search

by Robbieduke16
Fri May 15, 2020 4:10 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

It didn't really terminate. I just notice that while it is turning on/off the pin , the camera feed and detection freezes. I might need to do something like multithreading but sadly I don't have the time. Turn in is today, I might do it in the future. It is functional it just freezes the feed when c...
by Robbieduke16
Fri May 15, 2020 2:38 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

This is what the detection looks like. Once it gets detected as a dog or cat I need to turn on the valve for a few seconds then turn it off.
by Robbieduke16
Fri May 15, 2020 2:20 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

It is working, it turns on the valve but it terminates the python module and it doesn''t keep detecting. How can I make it so the valve being turned o doesnt stop the detecting software? while True: stime = time.time() ret, frame = capture.read() if ret: results = tfnet.return_predict(frame) for col...
by Robbieduke16
Fri May 15, 2020 5:18 am
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

I started looking at remote GPIO and that might do it but IP address syntax is killing me.
I tries using gpiozero pigpio library but its already 1 am so heading to bed ill get back on it tomorrow.
by Robbieduke16
Fri May 15, 2020 4:02 am
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Ok, so my code will most definitely not run on my 3b+. Is it possible to run the code on my PC and when needed turn on the GPIO pin somehow? Maybe through wifi/bluetooth?
by Robbieduke16
Wed May 13, 2020 5:24 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Do I need to change the pin ID? Or is the pin ID the text above the red line on the circuit diagram.
by Robbieduke16
Tue May 12, 2020 5:43 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Ahead is part of my python code, this determines if the thing on camera is a cat or a dog, if it is one of the 2 it surrounds it with a rectangle. Would it be possible to add a GPIO output to turn on the sprinkler? while True: stime = time.time() ret, frame = capture.read() if ret: results = tfnet.r...
by Robbieduke16
Tue May 12, 2020 5:15 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Yeah sorry it wasnt complete. Now it is. Bit of messy wiring but it should work. Now I just need to figure out the code to send a signal through that gpio pin.
by Robbieduke16
Tue May 12, 2020 2:34 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

The circuit so far. How does it look?
Those are 2 1k resistors. Couldnt get the 470 one on time
by Robbieduke16
Tue May 12, 2020 1:41 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

It finally arrived! I will try to build the circuit today and show you all!
by Robbieduke16
Sun May 03, 2020 7:26 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Isolator order is set. Should get here in 1-3 days. Will update then.
by Robbieduke16
Sun May 03, 2020 6:03 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

It is a 2n3904 transistor.
by Robbieduke16
Sun May 03, 2020 5:46 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

I have these resistances but I don't know if they will work. I honestly don't understand what the reading means.
by Robbieduke16
Sun May 03, 2020 5:25 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Awesome i have everything except the opto isolator and the resistance. Can i just buy any 6leg opto isolator and resistance? Any ones in particular you recommend?
by Robbieduke16
Sun May 03, 2020 4:07 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

This is however out of my knowledge range and skillset given why im here. Never to late to learn though and so far it has been very entertaining and educational.
by Robbieduke16
Sun May 03, 2020 4:02 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

I already have the object detection code ready. I need to get the connection between valve and pi up and running so i can finish the gpio code and do some test runs.
by Robbieduke16
Sun May 03, 2020 4:00 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

PiGraham wrote:
Sun May 03, 2020 3:55 pm
How about something like this?

https://www.amazon.co.uk/Wireless-Irrig ... 31&sr=8-10
I have to make it myself. It is for a university project.
by Robbieduke16
Sun May 03, 2020 3:54 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

With the jumper on low I get 11.2v from DC- to IN. It was on high for the previous test
by Robbieduke16
Sun May 03, 2020 1:38 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Reading from DC- to IN shows 0v, however DC+ to IN shows 11.4v.
by Robbieduke16
Sat May 02, 2020 10:20 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

I have these 2 relays on hand
by Robbieduke16
Sat May 02, 2020 7:08 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

What if i went with a higher amp power supply? Could i use the relay that i have? I have the hiletgo 12v single relay in the picture attached a couple messages above.
by Robbieduke16
Sat May 02, 2020 4:40 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Did the current test with this 12v wall adapter. Amperage was 2.7a, the resistance for the valve was 4.2ohms. Sorry I took so long this has been a learning experience for me. Its my first time doing anything like this.
by Robbieduke16
Wed Apr 29, 2020 9:24 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

My multimeter is busted apparently. I'll buy one tommorow at Home Depot. In the meantime i found this review which has some info on power consumption.
by Robbieduke16
Wed Apr 29, 2020 5:25 pm
Forum: Automation, sensing and robotics
Topic: Automated Garden Sprinkler System
Replies: 56
Views: 1953

Re: Automated Garden Sprinkler System

Sorry for being MIA the parts took a while to get here. This is the valve.

Go to advanced search