Mbed with low-cost serial BR355 GPS using RS232 breakout and PS/2 breakout for power.

Shardul Navare and Jigar Savla

Introduction

The BR-355 is suitable for use in vehicle, marine and aviation navigation, as well as commercial and municipality applications such as fire trucks, police cars, buses, GIS data collection. This project demonstrates the working of BR355 GPS using Mbed and displays the coordinates of the geometrical location to an fairly accurate extent.We have verified this module with the existing Cookbook GPS project.

http://mbed.org/cookbook/GlobalSat-EM-406-GPS-Module

Images

Circuit connections

Fully connected circuit for the working model BR355 GPS using RS232 breakout and PS/2 breakout will look like this

400

Alternate adapters

/media/uploads/snavare3/br355_optional_cable_sets.jpg

Pin Configuration

/media/uploads/snavare3/br355-rs232.jpg

Wiring

PS/2 b/o pinMbed b/o pin
VccVV=5v
GNDGND
RS-232 b/o pinMbed b/o pin
VccVV=5v
GNDGND
TXp10

Information

You might need to use Mini gender changer and NULL modem with Sparkfun RS-232 breakout. Please refer the figure for details.

Code

main.cpp

#include "mbed.h"
#include "GPS.h"

Serial pc(USBTX, USBRX);
GPS gps(p9, p10);

int main() {
    while(1) {
        if(gps.sample()) {
            pc.printf("I'm at %f, %f\n", gps.longitude, gps.latitude);
        } else {
            pc.printf("Oh Dear! No lock :(\n");
        }
    }
}

Program

Import programBR-355_GPS

Mbed with low-cost serial BR355 GPS using RS232 breakout and PS/2 breakout for power.

Video

This is a demo for the the working module and it is tested outside Van Leer, ECE department of Georgia Institute of Technology.

Troubleshooting!

Placement of the GPS receiver anywhere will usually get sufficient GPS signal reception, but in those rare occurrences when towering high-rises offer challenging satellite reception, simply place the BR-35r in some open space for improved reception.


Report

Please log in to post comments.