Raspberry Pi Pico-Based Navigation Assistant with Bluetooth and GPS
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates a Raspberry Pi Pico microcontroller with several peripheral devices, including an HC-05 Bluetooth module, an HMC5883L compass module, and a GPS NEO 6M module. The circuit is designed to facilitate wireless communication, magnetic field measurement, and GPS location tracking. The Raspberry Pi Pico serves as the central processing unit, interfacing with the peripherals through various GPIO pins.
Component List
Raspberry Pi Pico
- Description: A microcontroller board based on the RP2040 microcontroller chip.
- Pins: 43 GPIO pins with various functionalities including digital I/O, analog input, PWM, I2C, SPI, and UART.
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: EN, VCC, GND, TXD, RXD, STATE
HMC5883L Compass Module
- Description: A digital compass module that provides 3-axis magnetometer data.
- Pins: DRDY, SDA, SCL, GND, VCC
GPS NEO 6M Module
- Description: A GPS module for satellite-based location tracking.
- Pins: VCC, RX, TX, GND
Wiring Details
Raspberry Pi Pico
- Pin 12: Connected to HC-05 TXD
- Pin 7: Connected to HMC5883L SCL
- Pin 6: Connected to HMC5883L SDA
- Pin 38: Common ground connected to HC-05 GND, HMC5883L GND, and GPS NEO 6M GND
- Pin 39: Common VCC connected to HC-05 VCC, HMC5883L VCC, and GPS NEO 6M VCC
- Pin 2: Connected to GPS NEO 6M TX
- Pin 1: Connected to HC-05 RXD
HC-05 Bluetooth Module
- TXD: Connected to Raspberry Pi Pico pin 12
- RXD: Connected to Raspberry Pi Pico pin 1
- GND: Connected to Raspberry Pi Pico pin 38 (common ground)
- VCC: Connected to Raspberry Pi Pico pin 39 (common VCC)
HMC5883L Compass Module
- SCL: Connected to Raspberry Pi Pico pin 7
- SDA: Connected to Raspberry Pi Pico pin 6
- GND: Connected to Raspberry Pi Pico pin 38 (common ground)
- VCC: Connected to Raspberry Pi Pico pin 39 (common VCC)
GPS NEO 6M Module
- TX: Connected to Raspberry Pi Pico pin 2
- GND: Connected to Raspberry Pi Pico pin 38 (common ground)
- VCC: Connected to Raspberry Pi Pico pin 39 (common VCC)
Documented Code
Raspberry Pi Pico Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes
- The Raspberry Pi Pico microcontroller code is currently a template with empty
setup()andloop()functions. This code should be further developed to initialize the peripherals and handle data communication between the Raspberry Pi Pico and the connected modules. - The HC-05 Bluetooth module is interfaced via UART with the Raspberry Pi Pico. The TXD and RXD pins of the HC-05 are connected to corresponding UART pins on the Pico.
- The HMC5883L compass module is interfaced via I2C with the Raspberry Pi Pico. The SDA and SCL pins of the compass are connected to the I2C pins on the Pico.
- The GPS NEO 6M module is interfaced via UART with the Raspberry Pi Pico. The TX pin of the GPS module is connected to a UART RX pin on the Pico.
- Common power supply lines (VCC and GND) are used to simplify the power distribution within the circuit.