Finding a buried wire
Dave Hein
Posts: 6,347
I have been trying for months·to locate a lawn sprinkler valve buried somewhere in my front yard.· I have spent a lot of time poking around the front yard with a metal rod to try to hit the valve cover, but I was unable to find it using this method.· I knew about the technique of sending an RF signal on the wire that runs from the control box to the valve, so I tried a transmitter I have that operates at around 403 MHz.· However, this frequency is way to high to get through the ground, so that attempt didn't work.
After doing some internet research, I realized I needed a transmitter that operates in the AM band.· I thought of running out to Radio Shack or Frys to see what they had, but then I realized that the AM band is well within the capabilites of the SX.· I programmed an SX28 in an SX Tech board to generate a signal within the AM band frequency range.··The RF signal is modulated by a square wave at 1/500th the RF frequency to produce a tone.· Basically, I send out 250 cycles of the RF signal, and then zeros for the next 250 cycles.
I was able to receive the signal on an AM radio at around 850 KHz, which would make the modulated tone around 1.7 KHz.· I connected the output pin of the SX to one end of the controller wire, and I listened for the signal in my front yard using a small AM radio.· I followed the direction where the signal was the strongest, and I found the sprinkler valve in a matter of minutes!
To me, this demonstrates the versatility of the SX chip.· I've used the SX to do timers and other simple cirucits, but I've also used it to read a gyro chip and control the direction of a rocket.
The code for the AM radio tone generator is attached below.
Dave
After doing some internet research, I realized I needed a transmitter that operates in the AM band.· I thought of running out to Radio Shack or Frys to see what they had, but then I realized that the AM band is well within the capabilites of the SX.· I programmed an SX28 in an SX Tech board to generate a signal within the AM band frequency range.··The RF signal is modulated by a square wave at 1/500th the RF frequency to produce a tone.· Basically, I send out 250 cycles of the RF signal, and then zeros for the next 250 cycles.
I was able to receive the signal on an AM radio at around 850 KHz, which would make the modulated tone around 1.7 KHz.· I connected the output pin of the SX to one end of the controller wire, and I listened for the signal in my front yard using a small AM radio.· I followed the direction where the signal was the strongest, and I found the sprinkler valve in a matter of minutes!
To me, this demonstrates the versatility of the SX chip.· I've used the SX to do timers and other simple cirucits, but I've also used it to read a gyro chip and control the direction of a rocket.
The code for the AM radio tone generator is attached below.
Dave
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I didn't want to crawl all over my front yard, so I switched to a small AM radio hanging down from the earbud wires.· It worked very well.
It was kind of funny when my wife saw me working on the computer while I was programming the·SX.· She asked me why I wasn't working on the sprinkler system.· I told her I was working on the sprinkler system.· She left with a disbelieving look on her face.
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!
Post Edited (Shawn Lowe) : 7/29/2009 9:25:26 PM GMT
I'll have to take a look at the latest issue of the Circuit Cellar to see how they implemented it.
Dave