In this tutorial we will see how to make a tracker to GPS tracker, with LORA and Arduino module. We will also see a basic webserver with ESP32, where you can open a URL on google maps, with real-time latitude and longitude data.Electronic componentsTwo 1 Kohm resistorsTwo LED diodesArduino nanoThe Arduino Nano is a small board, complete and compatible with the test board based on the ATmega328 (Arduino Nano 3.x). It has about the same functionality as the Arduino Duemilanove, but in a different package. It only lacks a DC power connector and works with a Mini-B USB cable instead of a standard one.Female pinsGT-7U GPS moduleNote that when the GPS module works, the green indicator on the GPS module will flash (red is for power indication), and relative figures, time(UTC), latitude, longitude, and more. If we establish a connection between the GPS module, and a serial terminal program in our pc we will obtain data. It is important to try to be in a clear area to capture satellite signals, at least 3 satellites, to obtain latitude and longitude data, but the more satellites we get the better the navigation and accuracy experience.Product descriptionItem Description: Features:GT-U7 module. High sensitivity module, low static deviation, low power consumption and low volume.Miniaturization: Thanks to the extremely high tracking sensitivity, the position of the cover has been considerably improved.– High precision: In a narrow urban sky, in dense jungle environments, the GT-U7 can be positioned with great precision.Easy to use: with IPEX antenna interface you can place the standard distribution of the active antenna quickly. Rechargeable button battery table. Onboard E2PROM enables the storage of parameter data.-Compatible with: The output format is compatible with NEO-6M.– Scope of application: vehicles, mobile devices such as PDA, vehicle surveillance, mobile phones, camcorders and other mobile location systems, bicycle sharing, common mobile power supply.Package contents:1 GT-U7 GPS module.1 active antenna with IPEX interface.Specification:With IPEX antenna interface, the default distribution of theactive antenna, you can quickly place Operating voltage: 3.6V-5V (or direct USB power supply)Baud transmission rate: 9600 (can be modified)Rechargeable button battery on boardOnboard E2PROMMemory NeMA output format of parameter data supportsNEO-6M Size: 27.6mm*26.6mm can be inserted or selected a patch (with positioning holes)Application areas: Portable vehicle-mounted devices suchas PDAVehicle Monitoring Mobile phones, camcorders and other mobile positioning systemsPinoutPPS: Pulse per secondTXD: Data transmission pinRXD: Data transmission pinGND: EarthVCC: Power voltage 3.6 to 5.5 voltsOverview TheGT-U7 series of modules is a family of high performance autonomous GPS receivers with u-blox 6 positioning motor. These flexible and cost-effective receivers offer numerous connectivity options in a 16 x 12.2 x 2.4 mm miniature package. Its compact architecture and power and memory options make GT-U7 modules ideal for mobiledevices that run on battery-powered batteries with very strict cost and space constraints. The u-blox 6 50-channel positioningengine features Time-To-First-Fix (TTFF) of less than 1 second. The dedicated acquisition engine, with 2 million correlators, is capable of performing massive time/frequency space searches in parallel, allowing you tofind satellites instantly. Innovative design and technology suppress interference sources and mitigate multipath effects, giving GT-U7 GPS receivers excellent navigationperformance even in most challenging environments.Assisted GPS (A-GPS)Providing help information such as ephemeris, almanaque,last approximate position and hour and satellite status and an optional time sync signal will significantly reduce the time to fix for the first time and improve acquisition sensitivity. All GT-U7 modules are compatible with u-blox AssistNow Online and AssistNow Offline A-GPS11 services and are compatible with OMA SUPL.AssistNow AutonomousAssistNow Autonomous provides functionality similar to assisted GPS without the need for an external network host or connection. Based on satellite ephemeris data previously downloaded and stored by the GPS receiver, AssistNow Autonomous automatically generates accurate satellite orbital data (?AssistNow autonomous data?) that can be used for future GPS positions. AssistNow Autonomous data is reliable up to 3 days after initial capture.Protocols and interfacesProtocol typeINPUT/Output NMEA, ASCII, 0183, 2.3 (compatible with 3.0) UBX input/output, binary, u-blox patented RTCM input, 2.3UARTGT-U7 modules include a configurable UART interface for serial communication.USBGT-U7 modules provide a USB version 2.0 FS interface (full speed, 12 Mbit/s) as an alternative to the UART. Pull-up resistance in USB_DP integrated to signal a full-speed device to the host. The VDDUSB pin supplies the USB interface. u-blox provides a Microsoft-certified USB driver? for Windows XP, Windows Vista, and Windows 7 operating systems.Serial Peripheral Interface (SPI) TheSPI interface allows the connection of external devices with a serial interface, p. E.g. flash serial to save AssistNow Offline A-GPS settings and data or to connect to a host CPU. The interface can be operated in master or slave mode. In master mode, a chip selection signal is available for selecting external slaves. In slave mode, a single chip selection signal allows communication with the host.Power managementU-blox receivers support different power modes. These modes represent strategies of how to control acquisition and tracking engines in order to achieve the best possible performance or good performance with reduced power consumption.Maximum performance mode Duringa cold start, a receiver in maximum performance mode continuously deploys the acquisition engine to search for all satellites. Once the receiver has a fixed position (or if pre-positioning information is available), the acquisition engine is still used to search for all visible satellites that are not being tracked.Eco-modeDuring a cold start, a receiver in Eco mode works exactly as in maximum performance mode. Once a position can be calculated and a sufficient number of satellites are being tracked, the acquisition engine shuts down, resulting in significant energy savings. The tracking engine continuously tracks purchased satellites and acquires other available or emerging satellites.Power-saving modePower saving mode (PSM) allows a reduction in system power consumption by turning receiver parts on and off.Lora ModuleAbout Lora ModulesThe LoRa radio module is a type of low-speed long-range data radio modem based on Semtech’s Sx1276. It is a low cost transceiver module of less than 1 GHz designed for operations in the ISM (Industrial Scientific Medical) and LPRD bands without license. Frequency spectrum modulation/demodulation, multichannel operation, high bandwidth efficiency and anti-lock performance make LoRa modules easy to perform thanks to robust and reliable wireless linking.The module can operate in two different modes: standard mode and Star network mode. In standard mode, it acts as a transparent data radio modem that communicates with the host in the preset data format without the need for encoding/decoding. In startup network mode, a module will be configured for the central node and other modules will be configured as node modules. Communication between the central module and the node module is bidirectional, but node modules cannot communicate with each other. Note that the module does not contain the lorawan protocol. Therefore, the star network function of this module is used with the protocol itself, so it is not compatible with lorawan.FeaturesLoRa Frequency SpectrumFrequency band 433 / 490Mhz ISM-137 dBm receive sensitivity20 dBm max. output powerSerial activation portWireless alarm clockStar network capacitySupply voltage 3.4 x 5.5VSpecificationOperating Voltage: 2.1 x 3.6V (Battery Powered) or 4.5×5.5VWorking frequency band: 433 MHzModulation: LoRa extended spectrumOutput power: ≤ 20dBmReception sensitivity: -148dBmEmission current: ≤120mAReceiving current: ≤15.2mASleep current: ≤ 3.9uASleep time: optional 2S, 4S, 6S, 8S, 10SBreathing time: optional 2ms, 4ms, 8ms, 16ms, 32ms, 64msTime to wake up: wake up immediatelyCommunication interface: TTL serial communicationSerial transmission speed: 1200 x 57600,9600bps (default)Serial port verification: 8E1.8O1.8N1 (optional)Operating temperature: -40oC – + 80oCProduct size: 34.2 * 18.4mm / 1.35 * 0.72 inchData SheetsDRF1276DMDRF1278DMPIN OUTConnection Module with Serial USB adapterSETTINGSFor some applications, default parameters may not be the bestoption, so users may need to change the parameters There are two ways to adjust them: by MCU or by PC. Inconfiguration mode, the EN pin must be connected toGND and then the configuration tool or commands can work effectivelyBy PC: DORJI offers a PC-based configuration toolthat can be used to change parameters through the graphical interface. Users can insert the DRF1278DM module intoserial usb adapter, and connect them to the computer and run the configuration tool.DRF TOOLThis tool allows us to configure the LoRa MODULES DRF1278DM and DRF1276DMDownload—>DRFTOOLProgram descriptionUART -> Values are set to 9.6k bps and no parity checkRF frequency–> Indicates the central frequency of the RF carrierRF Mode–> Standard Mode, Center Mode and Node ModeRF_Factor–> Lora Scatter Factor. A higher value meanshigher sensitivity but longer air transmission time. Only users can change it in standard modeRF_BW–> Lora bandwidth. Higher value means less sensitivity. Recommended value: 125K. Only users can change it in standard mode.Node ID–> Used only for node-mode modules: 0x65535Net ID–> Only modules with the same network ID (0 x255) can communicate with each other. You can avoid module interferencePower–> Used to configure the output power of the DRF1278D. There are 7 power levels. The 7 means the maximum. output power: 20dBm and 0 means the lowest output powerBreath–> The activation period for the module in node mode. Only available for firmware 2.0 or higherWake timer–> Time to detect wireless signal during break period, is only available forfirmware 2.7 or higherSerial transmission rate–> Sets the data rate between DRF1278DM and the host (pc or microcontroller)Serial Parity–> Defines the parity check between DRF1278DM and the host (pc or microcontroller)STANDARD MODE Standardmode is also called transparent mode inwhich the module receives or sends data to the host over the serial port (UART) in the preset data format and users do not need to worry about the data processing within the module. The DRF1278DM AUXpin will give indication about the IN/OUT data of the serial port 2 ms in advance, which can be used to wake up the host. In this mode, the EN pin must be set tolow logic in case the module enters deep sleep.In STANDARD or transparent mode, nodes can work with a point-to-point (P2P) connection the main feature in this way is that no intermediary device is required to manage communication, devices can send information directly between them, this is perfect for simple communications such as turning on a light.The other way is with a star network type where we find a central node that manages the network, its disadvantage is that it is limited to 255 255-node networks* and that the coordinator node can only listen to one node at a time.STAR NETWORK MODE Inthis mode, a DRF1278DM module needs to establish a module as a central moduleand other modules must be node modules for star networks. For the central module, it worksat full performance so its power consumption isthe same as in standard mode and the EN pin must be connected to the low logic. The logical level of theSET pin for the central module must be the same as the node module.Printed circuitDownload the gerber file in –> Gerber_GPS_TRACKER_LORA_ARDUINOMale pins30-pin socket for Arduino
Cicuito web server