GPS Referenced RF Generator Documentation page
500 Terry Francois Street,
San Francisco, CA 94158
The GPS Referenced RF Generator product is a RF generator with the following characteristics:
Outputs a RF signal that is locked to the GPS network.
Is useful for frequency calibration.
Powered from a IDC connector using 3.3V to 5V.
0 to 10Mhz in 1 Hz steps
Circa 0.5W. Can be powered from 3.3V to 5V DC
Theory of operation:
The GPS RF Signal generator is an Ublox NEo-6 GPS module that is controlled by an Arduino Mini Pro 8MHz.
When the Neo-6 module gets a GPS position fix it will output a RF signal on its RF output.
This signal is referenced to the GPS network and thus can be used a calibration source.
The frequency to be output is set by the on-board Arduino.
The user will communicate with the Arduino using a serial command structure. The commands will be translated and converted to the Ublox specific API.
This hides the complexity of the GPS programming and enables easy to use serial commands for frequency programming the Neo-6 module.
The programming can be saved in the Arduino EEPROM and be automatically used after power up.
To operate the GPS Referenced RF Generator do the following:
Connect an active or passive GPS antenna to the GPS SMA input connctor. The module will power an active antenna on this port. The voltage presented is the Voltage used to power the device thru an 10ohms resistor.
Connect power on the IDC connector. Valid input voltage is 3.3 to 5V. The module will need about 100mA.
Optionally connect the serial lines to a PC or to electronics that will send serial commands to it.
Monitoring the device.
The device can be monitored on the the yellow status LED or on the serial port.
If the yellow LED is off it indicates a hardware error. In that case connect to the serial port and read the status messages for more information. The most likely reason is a defective GPS module or voltage regulator.
A blinking LED indicates that the GPS is working and waiting for a GPS fix.
A steady lit LED indicates it has acquired a fix and is outputting RF signal on the RF connector.
The Serial port puts out status messages and can accept a few commands to control the device.
A typical boot message will look something like this:
Zachtek GPS referenced RF, Software version: 1.06
Blinking Lock LED
Turning on Voltage Regulator for GPS module
No startup frequency data was found, using 1MHz
GPS Initialized to output RF at 1000000Hz
Initialization is complete.
Type one of the following serial commands to control the GPS Module:
: F ... ,(FREQUENCY) sets a new output frequency, value in Hz or use k or M suffix for kHz and MHz
: S ,(SAVE) Saves the current frequency to be used as startup frequency
: P ,(PASSTHROUGH) Enters passtrough mode, GPS serial data will be passed to and from this Serial port. Reset the module to go back to normal mode
: H ,(HELP) prints this information
Waiting for GPS location fix, RF turned OFF
At this stage the Yellow LED will blink to indicate that it is waiting for a GPS position lock.
Once it has a position the the yellow LED will be constantly lit and the serial port will output :
Fix acquired, RF turned ON. (Location is: xx.xxxxxx,xx.xxxxxx)
Pin 9 on the IDC connector functions as a GPS lock indicator
It is kept low while the GPS is acquiring a location fix and goes high once it has a location fix.
Pin 10 is connected to the RF Output.
Configuring the device.
To change the frequency on the RF port use the "F" command on the serial port followed by the frequency in Hertz or use a prefix like k for kiloHertz or M for MegaHertz.
E.g. "F 2M" will program the output to 2Mhz.
The device will respond with :
GPS reprogrammed to output RF at 2000000Hz
To save the current frequency to be used at startup issue the command "S". The device will respond with:
Frequency was saved
The GPS has a special Pass-trough mode that can be entered by issuing the serial command "P"
After this command has been received the device will relay all the GPS Serial data out on the serial port.
This makes it possible to gain direct access to the GPS.
This is useful if one wants to use a software like U-Center to program and monitor the GPS.
After the "S" command has been received the device will answer:
Entering passthrough mode -- reset microcontroller to return to normal mode
The device will then be outputting serial data in a steady stream from the GPS and the serial commands will be disabled. Any data sent to the device will now be passed to the GPS module instead of being parsed by the serial command engine.
To abort pass-trough mode reset the Arduino or remove power.
The serial data will look something like this and will continue to be streamed out until the Arduino is reset:
If the I2C pins 7 and 8 on the IDC connector are shorted at startup the device will enter pass-trough mode and stay in this mode until the short is removed and the Arduino is reset.