GPS monitoring is among the most vital applied sciences in at this time’s world. From parcel updates to navigation and many alternative fields, we depend on GPS.
Nevertheless, if we need to observe smaller objects akin to baggage or monitor the placement of kids, or if we intend to watch somebody discreetly, we regularly require a compact and inconspicuous machine that may be simply hooked up with out occupying a lot house.
In the present day, we’ll design the smallest GPS tracker that you should utilize as a key ring or connect as a small tag to luggage to trace kids, affix to the necks of animals, or combine with autos, parcels, or people for monitoring functions.
In our design, the first requirement is to keep up a compact measurement inside 3cm. Subsequently, we opted for the Indusboard Coin as the bottom.
Moreover, to make sure the GPS unit stays small, we chosen the L86 GPS module, measuring only one.5 cm and geared up with an built-in GPS antenna.
For transmitting knowledge through GSM, we integrated the SIM800l module, which operates on the 2G band. Nevertheless, if larger community speeds are desired, it’s attainable to substitute this with a 4G or 5G GSM module.
Invoice of Materials
Indusboard-based Smallest GPS Tracker – Design
In our design course of, we determined to make use of the L86 GPS module. It communicates via a serial port with a velocity of 9600 baud. The Indusboard, which we’re utilizing, helps each software program and {hardware} serial.
We will configure any pins for this goal, however by default, pins 43 and 44 function RX and TX serial pins on the board. So, we’re utilizing this {hardware} serial connection for the L86 GPS.
The L86 GPS module wants energy within the vary of two.8V to 4V, and it sometimes makes use of round 100mA when it’s working. Fortunately, the board we’re utilizing already has a pin that may deal with this energy. So, we’re connecting the GPS module to the three.3V and GND pins on the Indusboard for energy.
The GPS module comes with an RTC backup energy pin. This characteristic, in keeping with the datasheet, permits the Actual-Time Clock (RTC) to maintain observe of time even when the principle energy is disconnected. Usually, you’ll be able to connect any 3.3V coin cell battery to this pin for backup energy.
Nevertheless, in our design, we determined to simplify issues by utilizing the identical voltage supply for the principle energy and the RTC backup. So, we’re connecting this RTC backup energy pin to the identical 3.3V supply that powers the GPS module.
Subsequent, we integrated the GSM module into the design. Most GSM modules, together with the SIM800l, SIM808, and others, additionally make the most of serial communication. For this goal, we designated pins 43 and 41 because the serial pins.
Just like the GPS module, we powered the GSM module utilizing the identical 3.3V and GND energy provide of the board.
Moreover, when you need to view community standing, obtain SMS and entry location coordinates akin to latitude and longitude, you’ve got the choice to incorporate the SSD1306 OLED show.
Nevertheless, it’s vital to notice that this addition will enhance each the invoice of supplies and energy consumption of the machine. Though not included right here, our design accommodates this characteristic by offering the required connections for the SSD1306 OLED show.
Now you’ll be able to solder all of the parts in keeping with the circuit diagram. (Fig 4).
After soldering the parts collectively, we’ll place the GSM module and safe it both on the highest or backside of the board. Equally, we’ll place the GPS module in the identical method as depicted in Determine 5 and Determine 6.
Now you’ll be able to design the keyring and tag case over the machine and fix it wherever to make use of it.
Code for GPS Tracker utilizing Indusboard
Firstly, we’ll set up the Async message library. Then, we’ll outline the serial pins and baud charges for each the GPS and GSM modules. The default baud price for GSM is 4800, and for GPS, it’s 9600.
Subsequent, we’ll create a perform to retrieve the GPS location and ship it to the predefined quantity at a one-minute time interval. You might have the pliability to regulate this time interval in keeping with your necessities.
Moreover, you’ll be able to implement options akin to responding with a location map hyperlink when a selected message is acquired by the machine. The code gives numerous customization choices to tailor it to your wants.
Testing Smallest GPS Tracker utilizing Indusboard
As soon as the machine is powered utilizing a 3.3V rechargeable battery, insert a SIM card with a message pack into the GSM module. After a couple of minutes, when the SIM module establishes a reference to the community supplier, it begins sending real-time location updates to your telephone.
While you faucet on the hyperlink acquired, you’ll be able to view the placement on Google Maps, offering you with correct monitoring info.