help with sketch and wireing

hi im new to this need help

someone is stealing copper wire of my arrigation pivots for the last two winters the wire is a quarter mile long so lots of money lost.

I bought an arduine compatible osepp uno r3 plus with a cellular shield sm5100b need help with sketch and wireing I need to know if I can make a normally open circuit to a relay from the uno r3 plus to a 12v relay and if the relay shuts down it will close the circuit and tell the cellular shield to text or phone a cell number it would be powered by a battery and a solar panel thanks much

Are you saying that you want to have a 12v relay attached to the copper wire so that it is held operated. If the copper wire is then cut it drops the relay out. You then want this to trigger the Arduino to send an SMS?

This can be done as the relay contacts are a simple switch input to the Arduino. The code for the SMS has been done before.

Have you done a search in the search box at the top of this page?

Weedpharma

As @Weedpharma has said, what you want can easily be done.

But will it make any difference to the outcome?

A system that could photograph the thieves and send the photo somewhere secure might help with a prosecution - unless they are wise enough to wear a disguise.

...R

forget the relay.
use the resistance of the wire or a pulse.
much, MUCH less power consumption.

you could put a siren at the pivot so that they are aware that someone knows.

your idea of the cell phone is a great idea, but unless you can get there before they get away, you will only know when they took it.

I had to re-wire a warehouse with 00 copper, almost 1,000 feet, 4 conductor.they came the night we were done, cut the ends, tied on their cable clamps and drove away, pulling out the wire. all of about 5 minutes according to the alarm sensors.

yes I have looked at the sketches but am unsure which one too use

would the wire resistance method work the wire that makes the circuit in the pivot wires is #14 copper its half a mile long total or 1/4 mile down and 1/4 mile back this circuit is a safety for when the pivot go's out of wack or malfunction during normal operation I could shorten it during the winter and if they get to that spot im sure I need to only catch them once im only 4 miles away from my furthest pivot so I could be there pretty fast just have to try something thanks for all the help and quick feed back

jamesljpm:
im sure I need to only catch them once im only 4 miles away from my furthest pivot so I could be there pretty fast just have to try something

I reckon it will take a minimum of 15 minutes to get there - by the time you have finished in the restroom.

I do understand the frustration, but do you really want to put yourself in danger ?

I wonder could you arrange your wiring with joints that will break under a pull - so they could not get it all at once

...R

the wire is 7 to 10 lengths long for a total of 1/4 mile long all I need is to catch them in the act and call the cops im sure it takes them longer then two hours to strip an entire arrigation pivot of wire

with this system as soon as the wire gets cut i will know about it

Hi,
An obvious question is.

What does the wire do?

Does this wire have a current passing through it?
If so is it AC or DC.

I think you mean Irrigation Pivots.

http://www.valmont.com/valley-irrigation/us/irrigation-products/center-pivots

Tom........ :slight_smile:

the pivot runs on AC current the the safely wires is a normally closed circuit if the wire breaks it shuts down the pivot for now I just need the arduino in the winter time when there is no power to the pivot if it works for preventing theft I can use later on for other uses such as controlling pivot during the summer please help finding the correct sketch and wiring method thanks much

weedpharma:
Are you saying that you want to have a 12v relay attached to the copper wire so that it is held operated. If the copper wire is then cut it drops the relay out. You then want this to trigger the Arduino to send an SMS?

This can be done as the relay contacts are a simple switch input to the Arduino. The code for the SMS has been done before.

Have you done a search in the search box at the top of this page?

Weedpharma

thanks could you please point me to the right sketch for this would this sketch also show me how to connect the cell shield thanks james

Reading the relay contacts is the same as reading a basic switch. It involves putting a 10k resistor from 5v to a digital input and putting the relay contacts from the input to ground. You would need to have the relay active normally and use the normally open contacts as your input. This way when the relay drops out due cable being cut, the relay releases and the contacts open.

Your code would simply loop around looking for the input to change to high. Once this happens, you go to the SMS procedure.

I have not done anything with SMS so cannot help with that. As it is regularly wanted, there would be many posts that can be found by searching in the search box at the top of the page.

Weedpharma

is there a sketch for this thanks