- Saved searches
- Use saved searches to filter your results more quickly
- emard/esp32btgps
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Wio Tracker — GPS, BT3.0, GSM, Arduino Compatible
- Features
- Quectel MC20 Module
- Specification
- Application Ideas
- Hardware Overview
- Pin Map
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
esp32 arduino to bluetooth gps PPS 10 Hz clock recovery
emard/esp32btgps
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
ESP32 Arduino to bluetooth GPS
10 Hz PPS clock recovery from bluetooth GPS NMEA serial data. For recent 25 seconds it calculates average difference (NMEA_day_time — millis_time), resolution +-4ms. Then it phase locks 10 Hz PPS to millis+difference, for difference more than 15 ms it applies 4x larger proportional factor to lock phase, otherwise it will apply 4x smaller proportional factor to reduce PPS jitter and have some hysteresys when it is near lock.
ESP32 is bluetooth master (initiates connection) and GPS is bluetooth device providing serial port. Standard bluetooth serial is used (non-BLE).
For Garmin GLO usb-serial, firmware 2.60 should be upgraded to 3.00.
For Garmin GLO firmware 2.60: If ESP32 is rebooted, ESP32 connects to bluetooth serial but no serial traffic appears with «Garmin GLO» GPS I have tested with firmware 2.60.
The silent GPS also doesn’t provide traffic to PC when it connects. To restore traffic, GPS must be turned OFF and ON. Firmware upgrade to 3.00 fixes it.
About
esp32 arduino to bluetooth gps PPS 10 Hz clock recovery
Wio Tracker — GPS, BT3.0, GSM, Arduino Compatible
What is Wio Tracker? Wio Tracker is an Arduino compatible development board that helps you to track any moving things on the planet. By integrating GSM&GPRS as well as GPS&BeiDou in one board, it provides an all-in-one solution for your out-door IoT project.
If you are following the latest news about Low-Power Wide-Area Network(LPWAN), you may know that 2016 is a special year because there are new technology like LoRa and Sigfox came out, which remarkably pushed the development of WAN. The Wio Tracker has similarities as LoRa and Sigfox but also quite different. It is more suitable for out-door moving tracking and situations that has high frequency customer interaction and medium volume of data, for example sharing bicycle, logistics location, pet tracking.
Comparing to traditional GPS tracking solution, Seeed’s Wio Tracker is much more easier to use and customize for the fast changing IOT market. As a user-friendly Grove development board, the look of Wio Tracker may remind you of Wio Link, another started product of Seeed. So you can also find 6 grove connector on the board. As an Arduino compatible board, users can use the Wio Tracker with Arduino IDE directly.
Why do we call the Wio Tracker a solution, because it is really not just a board. At SeeedStudio, we have the ability to help customer customize the Wio Tracker for their own project and finish the project all the way to mass production. As Wio Tracker uses standard module that is mass production, we are ready to mass production even when customer is at their prototyping stage.
We have prepared everything, the last thing we need is your creative projects, so if you are making an out-door IOT tracking project, please don’t hesitate to use the Wio Tracker!
Please always plug 3.7V Lipo battery in case USB power supply is not sufficient.
Features
- Multi-GNSS engine for combined GPS and BeiDou, higher precision location
- EPO™ Technology, providing predicted Extended Prediction Orbit to speed up TTFF without need of extra server
- Based on EPO™ data, QuecFastFix™ Online function further reduces TTFF in cold start, making cold start TTFF comparable to that in hot start
- GLP(GNSS Low Power) Mode, 40% power consumption for normal mode and slightly lower precision
- Period Mode, also reduce power consumption by controlling the sleep time
- Always Locate™ Technology, an intelligent algorithm for power saving
- Easy™(Embedded Assist System) Technology, self-generated orbit prediction for instant positioning fix, reducing the Time To First Fix(TTFF)
- LOCUS™ Technology, innate navigation data logger solution with no need for host and external flash
- AT Command: GSM 07.07, 07.05 and enhanced AT Command
- Bluetooth 3.0 with SPP and HFP-AG
- 6 Grove Connectors
- Nano SIM and TF card 2 in 1 socket
- Arduino IDE compatible
- Low power and small size
Quectel MC20 Module
- Ultra compact size: 18.7 × 16.0 × 2.1mm
- Multi navigation constellation: GPS/ BeiDou/ QZSS
- GNSS receiver channels: 99 acquisition/ 33 tracking channels
- Powerful AGPS functions: Autonomous AGPS EASY™/ Offline AGPS EPO™/ Online AGPS QuecFastFix
- Built-in LNA for better GNSS sensitivity ([email protected]): able to use passive GNSS antenna without the need of any extra LNA
- Enhanced GNSS features: SDK command/ AIC/ LOCUS/ GLP
- GSM quad-band: 850/900/1800/1900MHz
- Multi internet protocols: TCP/ UDP/ PPP/ HTTP/ FTP/ SSL
- Support Voice, SMS, QuecFOTATM, DSSS, OpenCPU
- Support Bluetooth V3.0: SPP & HFP-AG profiles
Unlike most Arduino & Genuino boards, the Wio Tracker runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I/O pin could damage the board.
Specification
Item | Function | Value |
---|---|---|
Microcontroller | Processor | ATSAMD21G18A-MU, ARM Cortex-M0+, 48MHz |
Flash Memory | 256KB | |
SRAM | 32KB | |
Operating Voltage | 3.3V | |
DC Current per I/O Pin | 7 mA | |
Clock Speed | 48 MHz | |
GSM/GPRS | GSM | 850/900/1800/1900MHz, Class 4 (2W @850/900MHz), Class 1 (1W @1800/1900MHz) |
AT Command: GSM 07.07, 07.05 and enhanced AT Command | ||
Low Power Consumption: [email protected]=5 | ||
GPRS | GPRS Multi-slot Class 12: Down to 85.6kbps, Up to 85.6kbps | |
Protocol: TCP/UDP/FTP/HTTP/PPP/SSL | ||
SMS | Peer to Peer Message, SMS broadcast, Text and PDU mode | |
Audio | Echo cancellation, Noise elimination | |
Bluetooth | Bluetooth 3.0: SPP, HFP-AG | |
GNSS | System | GPS L1 1575.42MHz, BeiDou B1 1561.10MHz |
Precision | ||
Technology | EASY/LOCUS/AlwaysLocate/EPO/GLP/AIC | |
Peripheral | Grove | 2 x Grove Digital Port |
2 x Analog Port | ||
1 x UART | ||
1 x I2C | ||
Antenna | GSM Antenna | |
Bluetooth Antenna | ||
GNSS Antenna | ||
Others | USB: Power supply and upload program | |
JST 1.0 connecter for battery | ||
3.5mm Audio Jack | ||
GSM Power Button, Reset Button | ||
1 x User RGB LED SK6812 | ||
Speaker Interface | ||
Nano SIM and TF card 2 in 1 socket | ||
Size | Length | 54.7mm |
Width | 48.2mm | |
Weight |
Application Ideas
- Intelligent Transportation
- Pet Tracker
- Outdoor sports equipments
- Driving recorder
- Wearable device
- Property Security
Use Grove modules to expand your application
There are 6 Grove connects on board. If this is your first time to hear about Grove, please put had on Grove System for more details. In brief, Groves is hundreds of sensor that in standard style, which is consist of sensors, actuators, displays as well as communication.
Hardware Overview
If you want to use the on-board Grove connector, please use digitalWrite(12, HIGH) to open 3V3_B. Otherwise you can't provide power to Grove modules.
Pin Map
Pin Name | External Interrupt | PWM | Analog In | Analog Out | Function |
---|---|---|---|---|---|
RX | YES | YES | Grove UART | ||
TX | YES | YES | Grove UART | ||
D2 | YES | YES | Grove Digital | ||
D3 | YES | YES | Grove Digital | ||
D4 | YES | Grove Digital | |||
D5 | YES | YES | Grove Digital | ||
D6 | YES | User LED Control | |||
D7 | YES | Power of MC20 | |||
D10 | YES | YES | User LED | ||
D11 | YES | YES | Check Earphone | ||
D12 | YES | YES | Grove Power Control | ||
D13 | YES | YES | GSM Power Button | ||
SDA | YES | Grove I2C | |||
SCL | YES | Grove I2C | |||
A0 | YES | YES | YES | Grove Analog | |
A1 | YES | YES | YES | Grove Analog | |
A2 | YES | YES | YES | Grove Analog | |
A3 | YES | YES | YES | Grove Analog | |
A4 | YES | YES | Check battery |
All pins can act as Digital Input and Output