Raspberry Pi Pico-Based Navigation System with Bluetooth and GPS
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a Raspberry Pi Pico microcontroller with several peripheral devices, including a Bluetooth module (HC-05), a digital compass (HMC5883L), a GPS module (GPS NEO 6M), and a servomotor (SG90). The Raspberry Pi Pico serves as the central processing unit, interfacing with the HC-05 for Bluetooth connectivity, the HMC5883L for magnetic field measurement, the GPS NEO 6M for location tracking, and the SG90 servomotor for actuation. The circuit is designed to be powered through the Raspberry Pi Pico, which distributes power to the other components. Ground connections are shared among all components to complete the electrical paths.
Component List
Raspberry Pi Pico
- Microcontroller board based on the RP2040 microcontroller chip.
- Features multiple GPIO pins for interfacing with various peripherals.
HC-05
- Bluetooth module for wireless communication.
- Has pins for enabling (EN), power (VCC), ground (GND), transmit (TXD), receive (RXD), and state (STATE).
HMC5883L Compass
- A digital compass module that measures the Earth's magnetic fields.
- Includes pins for data ready (DRDY), serial data (SDA), serial clock (SCL), ground (GND), and power (VCC).
GPS NEO 6M
- A GPS module for satellite-based positioning.
- Comes with pins for power (VCC), receive (RX), transmit (TX), and ground (GND).
Servomotor SG90
- A small and lightweight servomotor for precise control of motion.
- Equipped with pins for signal (SIG), power (VCC), and ground (GND).
Wiring Details
Raspberry Pi Pico
- GPIO 26 connected to Servomotor SG90 (SIG)
- GPIO 12 connected to HC-05 (TXD)
- GPIO 7 connected to HMC5883L compass (SCL)
- GPIO 6 connected to HMC5883L compass (SDA)
- GPIO 38 (GND) connected to the ground pins of HC-05, HMC5883L compass, Servomotor SG90, and GPS NEO 6M
- GPIO 39 (VCC) connected to the power pins of HC-05, HMC5883L compass, Servomotor SG90, and GPS NEO 6M
- GPIO 2 connected to GPS NEO 6M (TX)
- GPIO 1 connected to HC-05 (RXD)
HC-05
- TXD connected to Raspberry Pi Pico (GPIO 12)
- RXD connected to Raspberry Pi Pico (GPIO 1)
- GND connected to Raspberry Pi Pico (GPIO 38)
- VCC connected to Raspberry Pi Pico (GPIO 39)
HMC5883L Compass
- SCL connected to Raspberry Pi Pico (GPIO 7)
- SDA connected to Raspberry Pi Pico (GPIO 6)
- GND connected to Raspberry Pi Pico (GPIO 38)
- VCC connected to Raspberry Pi Pico (GPIO 39)
GPS NEO 6M
- TX connected to Raspberry Pi Pico (GPIO 2)
- GND connected to Raspberry Pi Pico (GPIO 38)
- VCC connected to Raspberry Pi Pico (GPIO 39)
Servomotor SG90
- SIG connected to Raspberry Pi Pico (GPIO 26)
- GND connected to Raspberry Pi Pico (GPIO 38)
- VCC connected to Raspberry Pi Pico (GPIO 39)
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:
}
Note: The provided code is a template and does not include specific functionality. It should be populated with the setup and loop routines required for the intended operation of the circuit.