Realization
Realization of a drone tracking system
What is GPS ?
The Global Positioning System (GPS) is a navigation system using satellites, a receiver and algorithms to synchronize location, velocity and time data for air, sea and land travel .
1/ Hardware used :
NEO-6M GPS module :
The NEO-6M GPS module has four pins: VCC, RX, TX, and GND. The module communicates with the stm32 via serial communication using the TX and RX pins ,So , the GPS module transmits the data via the UART* in the NMEA *format .
* UART configuration :
the UART Baud Rate is configured at 9600 bps. This is according to the Neo 6M .
**the STM32
Nested Vectored Interrupt Controller ( NVIC) : https://embededsystem12.blogspot.com/2022/10/stm32-interrupts-tutorial-nvic-exti.html
2/ the Code :
- A simple C library (STM32 HAL) for working with the GPS module NEO-6M : https://ru.aliexpress.com/wholesale?trafficChannel=main&d=y&CatId=0&SearchText=neo-6m<ype=wholesale&SortType=total_tranpro_desc&groupsort=1&page=1
- Copy the library header and source file to the appropriate project directories (Inc, Src) .
- Config the GPS module UART on gps.h file
**To get the full code , click on the link below github link : https://github.com/Belkacem-roukaya/stm32GPS/tree/main
N.B :
For more information about UART* : https://embededstm32.blogspot.com/2022/10/uart.html
For more information about NEMA *format :https://gpsintership22.blogspot.com/2022/10/understanding-gps-nmea-sentences.html
For more information about GPS* : https://gpsintership22.blogspot.com/2022/10/gps.html
Commentaires
Enregistrer un commentaire