Iturriaga
ARGENTINA • + Follow
Edit Project
Components
|
NEO-6M-GPS |
x 1 | |
|
MPU-6050 |
x 1 | |
|
HMC5883L |
x 1 |
Tools, APP Software Used etc.
![]() |
Soldering Iron Wire Welding Lead Roll |
|
![]() |
Soldering iron |
|
![]() |
arduino IDEArduino
|
Description
Positon Breakout Board
Position Sensors Breakout Board
In today's era of advanced technology, many electronics projects require an assortment of sensors to gather and process data for an array of applications.Featuring a GPS Module (u-blox NEO-6M), an Inertial Measurement Unit (IMU) (MPU-6050), and a 3-Axis Digital Compass Module (HMC5883L), this board facilitates seamless data collection from these distinct yet complementary sensors, unlocking a multitude of possibilities.
A Wide Spectrum of Applications:
- Global Positioning: The inclusion of the NEO-6M GPS Module allows for tracking the global position of objects with high accuracy. This feature proves indispensable in various applications such as vehicle tracking, asset management, and geofencing.
- Motion Tracking and Orientation: By utilizing the accelerometer and gyroscope of the MPU-6050, this breakout board can be deployed in projects that require motion tracking and orientation data. From creating an Inertial Measurement Unit (IMU) for drones to integrating into VR controllers, the applications are vast.
- Direction and Navigation: The HMC5883L's 3-axis digital compass data, coupled with the accelerometer and gyroscope data from the MPU-6050, can be used for building precise indoor and outdoor navigation systems. This combination can greatly enhance the capabilities of autonomous vehicles, wearables, or smartphone applications.
Developing the Breakout Board:
- Creating a professional and functional breakout board for position tracking requires a few steps:
- Collect the Required Materials: This includes a PCB board with pre-printed traces, the sensors (GPS module, IMU, and magnetometer), and other essentials such as a soldering iron, solder, flux, and cleaning supplies.
- Prepare the PCB Board: Clean the board using isopropyl alcohol and a lint-free cloth to ensure the proper adhesion of the components.
- Prepare and Place the Components: Inspect each component, straighten any bent pins, trim excess leads, and then place them on the PCB board, aligning the pins with the appropriate pads or holes.
- Soldering: Once the components are in place, solder each of them to the PCB board using a soldering iron. Ensure to achieve a shiny, concave fillet for each solder joint.
- Inspect the Solder Joints: Upon completion of soldering, examine each solder joint for any potential issues such as cold solder or solder bridges.
- Correct Any Soldering Issues: If any problems are found, they should be addressed immediately by reworking the solder joint.
- Clean the Assembled Board: After all components have been successfully soldered, clean the PCB board once more to remove flux residues.
- Test the Assembled Board: Connect the board to a power source and check each sensor for functionality.
- Program the Board: With the hardware part done, you can now upload Arduino codes to interact with the sensors, gather data, and perform further processing based on your project requirements.
Now your board should be ready for any application! The attached code can be used to test every sensor own the board and secure reliability.
Code
Sample Code
Arduino
// Include necessary libraries
#include <Wire.h>
#include <TinyGPS++.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_HMC5883_U.h>
// Define GPS Module connections
#define RXPin 4
#define TXPin 3
#define GPSBaud 9600
// Create GPS object
TinyGPSPlus gps;
SoftwareSerial ss(RXPin, TXPin);
// Create magnetometer object
Adafruit_HMC5883_Unified mag = Adafruit_HMC5883_Unified(12345);
// MPU6050 object
#include <MPU6050.h>
MPU6050 mpu;
void setup() {
// Start communication with devices
Wire.begin();
ss.begin(GPSBaud);
Serial.begin(115200);
// Initialise the magnetometer
if(!mag.begin()) {
Serial.println("Failed to initialize magnetometer");
while(1);
}
// Initialise the MPU6050
mpu.initialize();
if(!mpu.testConnection()) {
Serial.println("Failed to initialize MPU6050");
while(1);
}
}
void loop() {
// Read from GPS
while (ss.available() > 0) {
gps.encode(ss.read());
if (gps.location.isUpdated()) {
Serial.print("Latitude= ");
Serial.print(gps.location.lat(), 6);
Serial.print(" Longitude= ");
Serial.println(gps.location.lng(), 6);
}
}
// Read from magnetometer
sensors_event_t event;
mag.getEvent(&event);
Serial.print("Magnetic X: "); Serial.print(event.magnetic.x); Serial.print(" ");
Serial.print("Y: "); Serial.print(event.magnetic.y); Serial.print(" ");
Serial.print("Z: "); Serial.print(event.magnetic.z); Serial.print(" ");
Serial.println("uT");
// Read from MPU6050
int16_t ax, ay, az, gx, gy, gz;
mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);
Serial.print("Acceleration X: "); Serial.print(ax); Serial.print(" ");
Serial.print("Y: "); Serial.print(ay); Serial.print(" ");
Serial.print("Z: "); Serial.print(az); Serial.print(" ");
Serial.print("Gyro X: "); Serial.print(gx); Serial.print(" ");
Serial.print("Y: "); Serial.print(gy); Serial.print(" ");
Serial.print("Z: "); Serial.print(gz); Serial.println(" ");
// Delay for readability of output
delay(1000);
}
May 26,2023
94 viewsReport item
Positon Breakout Board
Build a board capable of getting real-time positioning data!
94
0
0
Published: May 26,2023
Download Gerber file 0
BOM(Bill of materials)
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
Only PCB
PCB+Assembly
*PCBWay community is a shared platform and we are not responsible for any design issues.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-NonCommercial-NoDerivs (CC BY-NC-ND)
License.
- Comments(0)
- Likes(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
remove
It looks like you have not written anything. Please add a comment and try again.
View More
View More
VOTING
0 votes
- 0 USER VOTES
0.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
More by Iturriaga
-
Positon Breakout Board Position Sensors Breakout Board In today's era of advanced technology, many electronics projects req...
-
Ambient Sensors Breakout Board In today's world, electronics projects often require the integration of multiple sensors to collect ...
-
Infrared Launch Controller IntroductionHave you ever wanted to remotely launch a rocket, drone or other device using infrared t...
-
Altimeter Datalogger with Display. Building TutorialAltimeter Datalogger with Display.Components needed:BMP280 sensorI2C to 16x2 displa...
-
Remote Igniter + 3D printed Case. Remote IR Igniter.Build an Infrared remote ignitor for model rocket testing and launching!This guide...
-
Smart Building Brick Smart Building Brick Introduction:This brick is meant to be used in building sets to add a simple bu...
-
Arduino UNO micro SD card Shield. Building the Shield:Materials:1x Arduino UNO1x Micro SD card reader30x Generic male pins.Steps:1- So...
-
Ultrasonic distance sensor Ultrasonic Distance MeasureMeasure distances by connecting this device to your smartphone with an US...
-
Remote Servo Actuator How does it work?The ESP8266 board (D1 mini) connects to the wifi your wifi network and the Blynk ap...
-
Raspberry Pi Zero 2 mechanic switches shield. Building the Shield:Materials:4x 10 Ohm Resistors.4x Mechanical keyboard switches.1x Raspberry Pi Ze...
-
Raspberry Pi Zero W mechanic switches shield. Building the Shield:Materials:4x 10 Ohm Resistors.4x Mechanical keyboard switches.1x Raspberry Pi Ze...
-
Raspberry Pi Zero mechanic switches shield. Building the Shield:Materials:4x 10 Ohm Resistors.4x Mechanical keyboard switches.1x Raspberry Pi Ze...
-
Raspberry Pi 2 mechanic switches shield. Building the Shield:Materials:6x 10 Ohm Resistors.6x Mechanical keyboard switches.1x Raspberry Pi 24...
-
Raspberry Pi 3B+ mechanic switches shield. Building the Shield:Materials:6x 10 Ohm Resistors.6x Mechanical keyboard switches.1x Raspberry Pi 3B...
-
Raspberry Pi 3B mechanic switches shield. Building the Shield:Materials:6x 10 Ohm Resistors.6x Mechanical keyboard switches.1x Raspberry Pi 3B...
-
Raspberry Pi 4 mechanic switches shield. Building the Shield:Materials:6x 10 Ohm Resistors.6x Mechanical keyboard switches.1x Raspberry Pi 44...
-
Arduino UNO mechanic switches shield. Building the Shield:Materials:6x 10 Ohm Resistors.6x Mechanical keyboard switches.1x Arduino UNO20x ...
-
Raspberry Pi 4 mechanic switches and OLED screen shield. Raspberry Pi 4 mechanic switches and OLED screen shield.Building the Shield:Materials:4x 10 Ohm Resi...
You may also like
-
-
-
-
-
-
-
-
-
-
ESP32-S Development Board, in "Arduino Uno" form factor
4041 4 16