GSM , GPS vehicle tracking device on a single board Pentium computer
This is a discussion of the features that a GPS/GSM vehicle tracking system must have implemented on a SBC Pentium computer. The embedded Pentium SBC (Single board computer) which runs of a 12Volt battery interfaces to the GPS and GSM units. It runs www.python.com on an embedded Linux distribution. The SBC has A/D inputs for water temp and oil pressure measurement and can be used as an immobilizer device. Oil pressure and water temp measurement would be features truck owners implement.
Connected to the SBC are: <br>
www.wavecom.com GSM rs-232 enabled AT command set modem (R1600)
www.trimble.com rs-232 OEM GPS module (R400)
Flash card which functions as the HDD. (R400)
Total cost should be no more than R4500 for a tracking system that belongs
to and is controled by you. There are NO monthly fees to pay to use the
system, since it is opensource.
The tracking software written in Python uses the embedded http://gadfly.sourceforge.net database to store way points and street data. Optional signal conditioning hardware: zener clamps, surge protecting inductors and low pass filters for the A/D inputs to monitor oil pressure and water temperature, excessive idling or revving of engine, open doors, disconnected trailers. Basically anything you want done.
Optional wi-fi 802.11b card. The SBC has an ethernet port on which street data can be uploaded at will.
Features that the system will have: <br>
When driving a specific route every morning to work and your wife turns left where she should have turned right you will receive a real-time SMS with the speed and GPS coordinates of the vehicle. In a hijacking the doors are always opened. If the vehicle's doors opens at a stop street (GPS coordinates
are stored in a gadfly python database) you will be alerted. If her door opens at the security gate of the company she works for, no alert will be sent to you (this is optional). Using an infrared diode shining on the drivers face one can determine the complexion of the driver. Should the complexion of the driver change an SMS will be sent to the base station. <p>
Recovery of a hijacked vehicle: <br>
The SBC on a vehicle or truck going below a certain speed at any designated point or deviating more than 20m from a specified
route will SMS the base station. The present situation with the tracking companies are that you are not alerted in real-time as to the
exact moment that your R1 000 000 truck has stopped on the N1 highway where it was not supposed to stop or the exact moment
it turned left instead of right.
<p>
Most hijacking takes place at 5pm in front of your gate. The system will SMS the base station after a vehicle returns to the person's
residence but leaves within a 10min (or any period) window.
<p>
Hijackers have now started to target women driving alone, no matter what the condition of their car. You only have
about 20min to save her ..... The tracking companies don't have the manpower to respond within the needed time frame.
If you can't convince them that she really has been hijacked (usually they want to speak to the
driver of the vehicle) you are basically out of luck. I have a much better idea. We must sign an agreement with Chub or any
large security company that they will track down the vehicle. You the distressed husband relays the street GPS data from
your computer to the driver of the Chub Corsa bakkie. Once he has visual contact , you remotely via SMS cut the
engine. If you make a prepayment into their account to cover the cost of a pursuit then you are guaranteed of a prompt response to your distress. So the question is: What is your wife and kids worth to you ? And if it turns out to be a false alarm, your wife forgot her cellphone and she did not tell you where she was going, then next time she will know better. But now you had to pay for a false pursuit and not the tracking company who financially just can't afford to look for people who forgot their cellphones at home. Since this system is opensource it can also be integrated with www.eblockwatch.co.za
<p>
All these features are trivial to program and implement. The only OOP that will be used is to wrap the serial driver routines into an object that must be instantiated. You therefore don't need to know anything about serial port drivers. To send an SMS to cut of the engine:
myser = PythonSerial()
myser.SendsMs('cutengine', '0831234321')
These two lines of code sends the instruction via the AT command set to a wavecom GSM modem on the Rs-232 serial port from my base station PC or laptop. The modem SMS's this instruction to the vehicle SBC.
The I/O port of the SBC actuates a relay which cuts of the engine on reception of the SMS. The list of features are only limited by your imagination. The source code will be released on www.sourceforge.net under the LGPL license. I will limit the use of OOP so that people who only understand procedural programming can tinker with the source
code.
Any questions, post on this thread.
This is a discussion of the features that a GPS/GSM vehicle tracking system must have implemented on a SBC Pentium computer. The embedded Pentium SBC (Single board computer) which runs of a 12Volt battery interfaces to the GPS and GSM units. It runs www.python.com on an embedded Linux distribution. The SBC has A/D inputs for water temp and oil pressure measurement and can be used as an immobilizer device. Oil pressure and water temp measurement would be features truck owners implement.
Connected to the SBC are: <br>
www.wavecom.com GSM rs-232 enabled AT command set modem (R1600)
www.trimble.com rs-232 OEM GPS module (R400)
Flash card which functions as the HDD. (R400)
Total cost should be no more than R4500 for a tracking system that belongs
to and is controled by you. There are NO monthly fees to pay to use the
system, since it is opensource.
The tracking software written in Python uses the embedded http://gadfly.sourceforge.net database to store way points and street data. Optional signal conditioning hardware: zener clamps, surge protecting inductors and low pass filters for the A/D inputs to monitor oil pressure and water temperature, excessive idling or revving of engine, open doors, disconnected trailers. Basically anything you want done.
Optional wi-fi 802.11b card. The SBC has an ethernet port on which street data can be uploaded at will.
Features that the system will have: <br>
When driving a specific route every morning to work and your wife turns left where she should have turned right you will receive a real-time SMS with the speed and GPS coordinates of the vehicle. In a hijacking the doors are always opened. If the vehicle's doors opens at a stop street (GPS coordinates
are stored in a gadfly python database) you will be alerted. If her door opens at the security gate of the company she works for, no alert will be sent to you (this is optional). Using an infrared diode shining on the drivers face one can determine the complexion of the driver. Should the complexion of the driver change an SMS will be sent to the base station. <p>
Recovery of a hijacked vehicle: <br>
The SBC on a vehicle or truck going below a certain speed at any designated point or deviating more than 20m from a specified
route will SMS the base station. The present situation with the tracking companies are that you are not alerted in real-time as to the
exact moment that your R1 000 000 truck has stopped on the N1 highway where it was not supposed to stop or the exact moment
it turned left instead of right.
<p>
Most hijacking takes place at 5pm in front of your gate. The system will SMS the base station after a vehicle returns to the person's
residence but leaves within a 10min (or any period) window.
<p>
Hijackers have now started to target women driving alone, no matter what the condition of their car. You only have
about 20min to save her ..... The tracking companies don't have the manpower to respond within the needed time frame.
If you can't convince them that she really has been hijacked (usually they want to speak to the
driver of the vehicle) you are basically out of luck. I have a much better idea. We must sign an agreement with Chub or any
large security company that they will track down the vehicle. You the distressed husband relays the street GPS data from
your computer to the driver of the Chub Corsa bakkie. Once he has visual contact , you remotely via SMS cut the
engine. If you make a prepayment into their account to cover the cost of a pursuit then you are guaranteed of a prompt response to your distress. So the question is: What is your wife and kids worth to you ? And if it turns out to be a false alarm, your wife forgot her cellphone and she did not tell you where she was going, then next time she will know better. But now you had to pay for a false pursuit and not the tracking company who financially just can't afford to look for people who forgot their cellphones at home. Since this system is opensource it can also be integrated with www.eblockwatch.co.za
<p>
All these features are trivial to program and implement. The only OOP that will be used is to wrap the serial driver routines into an object that must be instantiated. You therefore don't need to know anything about serial port drivers. To send an SMS to cut of the engine:
myser = PythonSerial()
myser.SendsMs('cutengine', '0831234321')
These two lines of code sends the instruction via the AT command set to a wavecom GSM modem on the Rs-232 serial port from my base station PC or laptop. The modem SMS's this instruction to the vehicle SBC.
The I/O port of the SBC actuates a relay which cuts of the engine on reception of the SMS. The list of features are only limited by your imagination. The source code will be released on www.sourceforge.net under the LGPL license. I will limit the use of OOP so that people who only understand procedural programming can tinker with the source
code.
Any questions, post on this thread.
Last edited: