Announcement

Collapse
No announcement yet.

Hooking Car alarm into PC To monitor

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hooking Car alarm into PC To monitor

    I am going to be puting my car pc in this weekend. I was wondering if anyone has there alarm hooked into their Car pC. If you do what is the name or what adapter did you use.

  • #2
    What you want to do with it?

    This is an installed by cproaudio on this
    97 Toyota Tacoma truck. to see what a car alarm and computer can do.
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 [email protected]/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

    Comment


    • #3
      If the purpose is to protect the car pc, best bet would be to put a spring switch behind the unit, so when you pull it out, it automatically goes off.

      Comment


      • #4
        Originally posted by cyberdrakon
        If the purpose is to protect the car pc, best bet would be to put a spring switch behind the unit, so when you pull it out, it automatically goes off.
        That or some sort of shock sensor, perhaps.
        Have you looked in the FAQ yet?
        How about the Wiki?



        Under normal circumstances, a signature would go here.

        Comment


        • #5
          I was thinking more in having a connection from my alarm system to my pc via USB or RS232 and monitor the system ( like a log sheet on how many times it went of and such)

          Comment


          • #6
            Unless your manufacturer makes a kit for something like this, you would have to use a scotch-lok to make an IO cable from the computer of the alarm. This actually wouldnt be very hard, you can find the ends to IO connectors at RadioShack. Then just write a program that captures all data from the port, set off the alarm, find the data that was sent at that time, and write a program that watches for that value.
            Quick! To the Popemobile!

            Comment


            • #7
              Here, I took just about all of the guess work out of it for you.

              Code:
              import java.io.*;
              import javax.comm.*;
              
              public class AlarmInterface implements Runnable
              {
              	InputStream  input = null;
              	OutputStream output;
              	String activationString = "asdf";
              	SerialPort serialPort = null;
              
              
              	public AlarmInterface(String name, int baud, int timeout) throws Exception
              	{
              		CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier(name);
              		serialPort = (SerialPort)portId.openPort("GenericSerialReader", timeout);
              		serialPort.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);	
              		serialPort.setFlowcontrolMode(SerialPort.FLOWCTRL_NONE);   
              		serialPort.enableRcvThreshold(1);
              		serialPort.enableRcvTimeout(timeout);
              		int rosStatus = 0;
              
              		System.out.println("Open device called");
              
              		output = serialPort.getOutputStream();
              		input = serialPort.getInputStream();
              	}
              	
              	public void run()
              	{
              		try
              		{
              			if(output.readLine().compareToIgnoreCase(actiavtionString) == 0)
              			{
              				//Write and call an log function here	
              			}
              		}
              		catch(Exception e)
              		{
              			System.err.println(e);
              		}
              	}
              	
              	public static void main(String [] args)
              	{
              		Thread mt = new Thread(new AlarmInterface("Alarm Reader", 9600, 1000));
              		mt.start();
              	}
              }
              Edit: Yeah, it's in Java. You will need to download the javax.comm package for this to work.
              Quick! To the Popemobile!

              Comment


              • #8
                im interested in seeing this work..
                Carputer: 2.8Ghz P4, 512 RAM, 120gb HDD, WIFI, TV tuner, CDRW/DVDROM, Slot load DVD in front.
                Screen: Lilliput 7" touchscreen (Custom made Carbon Fiber Screen Enclosure)
                S2000 Carputer

                Comment


                • #9
                  Thanx Bio

                  I am not a programmer but i can do the wiring and install this is a project to try thou

                  I seen that the clifford G5 alarm can also do this right off the shelf with a serial connection that i seen today.

                  Comment


                  • #10
                    I want to get the Clifford G5, but I just have to find who actually sells them in Australia. They are suppose to be installed by a accredited installer. They won't just sell you the alarm If anyone knows where I can get one, let me know.
                    Never let the truth get in the way of a good story

                    Comment


                    • #11
                      What about the bitwriter port that comes on most alarms? Are there any adapters that can allow a PC to hook up to the alarm throught this port?

                      Meddler: I got my clifford matrix off ebay, don't remember if I saw any G5's but that's probably your best bet...

                      Comment

                      Working...
                      X