CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Kill Switch Question

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Setna



Joined: 24 Jun 2008
Posts: 10

View user's profile Send private message

Kill Switch Question
PostPosted: Mon Jun 30, 2008 11:13 am     Reply with quote

Hi,

I'm using a PIC18F6722 and I'm looking for a simple way to make a remote kill switch. The PIC itself is going to be sealed in watertight capsule and attached to a remote control submarine that it is controlling. The sub is generally set to run at about 2 ft underwater so most typical sensors wont work.

I am currently thinking of using another R/C receiver on a different frequency that would control a switch. This switch would control the link between the PIC and its power source. Any other suggestions would be greatly appreciated.
Steve H
Guest







PostPosted: Wed Jul 02, 2008 10:57 am     Reply with quote

It sounds like you have communication to the PIC already via some radio link. If so then just add a kill command to your list of commands and use a circuit something like this to have the PIC shut off it's own power.

w w w. edn. c o m / article / CA6317068 . h t m l

HTH - Steve H.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Wed Jul 02, 2008 12:28 pm     Reply with quote

How about using the PIC Watchdog timer. If it does not get a valid command (including a null command) before the watchdog times out it kills itself. If you want to kill it just shut off the command transmitter.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group