My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
TrackuinoShield22  
Updated Apr 9, 2014 by j...@trackuino.org

What's new

Changes since TrackuinoShield21:

  • Replaced Venus GPS 634FLPx (sparkfun #9133) with newer 638FLPx (sparkfun #11058). The unfortunate pinout reshuffling in the newer part makes version 2.2 of the tracker incompatible with the older part.
  • Eagle 6.x is required
  • Use Arduino's own 5V regulator
  • Replaced TO220 3.3V regulator with SMT + board sink
  • Added bleeder resistor for passive piezo speakers

Overview

This is how the tracker looks like:

Building the tracker

Download trackuino-shield-2.2.zip from the downloads area. You can use the PCB fab house of your preference to have it manufactured. I have been using iteadstudio.com's PCB prototyping service with success so far. The gerber files included in the zip were generated for iteadstudio.

Here is the bill of materials:

Note: Mouser has set minimum orders on some parts, like resistors and pin headers. You are forced to buy the full reel (5000) even if you want just a few resistors. If anyone is willing to find alternative sources and put a new BOM together, the contribution would be very welcome. Just drop a comment below

Update: See comments below for user-contributed BOMs from alternative providers

  • Mouser BOM (includes 1 Arduino board, remove it if you have one already)
  • Venus 638FLPx GPS from Sparkfun (check for local distributors if you want to avoid customs)
  • Radiometrix HX1, 144.800 MHz for Europe. The US distributor of the 144.390 MHz version is Lemos International.
  • GPS antenna from Dealextreme. Mouser also carries SMA GPS antennas if you think DX is too slow. Make sure the connector is the SMA male type. Read the SMAConnectors page for clarification on the SMA/RPSMA/male/female nomenclature. Even though the DX description says "F cable", it's actually a male SMA, but doublecheck before buying.
  • VHF (144 MHz) antenna. A DIY 1/4 wave groundplane (with radials) is the most effective. Check Antennas for ideas.

Power

There are 3 ways to power the tracker. In either case, the recommended voltage is 7..12 VDC:

  1. Using the Arduino barrel jack, or...
  2. Using the VIN and GND clamp terminals (next to the GPS module).
  3. Using a USB cable plugged to a host computer. This will work because of the reverse current diode built in the 5V regulator, which will provide enough voltage to power the shield's 3.3V regulator.

Power usage for a 7.5 VDC reference voltage is:

Waiting for GPS fix 120 mA
Normal operation (idle) 70 mA
Normal operation (HX1 transmitting) 200 mA

Buzzer

There are two kinds of buzzers:

  • Active (aka DC) buzzers and
  • Passive (aka AC) buzzers

The fundamental difference is that active buzzers take a direct current (DC) voltage whereas passive buzzers are driven by a square wave. DC buzzers have an internal oscillator that translates DC into a fixed-frequency square wave, which is then used to drive the piezoelectric membrane. An AC buzzer, on the other hand, needs that square wave to be generated externally and thus its frequency can be controlled.

The Trackuino shield can use both kinds of buzzers:

  • If you use an active (DC) buzzer:
    • Do not solder R3
    • In config.h, set BUZZER_TYPE to 0.
    • DC buzzers have a fixed frequency, so BUZZER_FREQ won't matter.
  • If you use a passive (AC) buzzer:
    • Do solder R3. Piezo buzzers behave as capacitors and when the fet is off they need a path to discharge and relax. Because of this bleeder resistor, the buzzer won't sound as loud as if it was driven by a push-pull buffer, but it keeps things simpler.
    • In config.h, set BUZZER_TYPE to 1.
    • Set BUZZER_FREQ to the desired frequency in Hertz.

What's with the jumpers?

J5

When shorted, this jumper connects the Arduino TX pin with the GPS RX pin so that the MCU can send commands to the GPS, but then you can't print any debug information out the serial port and into the Arduino IDE's console.

When open, you can print debug info from the firmware and it will be displayed on the Arduino IDE's console, but you can't send commands to the GPS.

I suggest soldering a two pin male header on J5, or just leaving it unpopulated, since the GPS doesn't need any special command from the firmware to operate normally, whereas debug information can be useful when hacking or diagnosing the firmware.

J6, J7, J8

Since shield version 2.1, the board can talk to both 5V and 3.3V microcontrollers, so you can plug the board into a 5V Arduino as well as 3.3V compatible devboards like the Chipkit Uno32. The shield uses 74*125 buffers that work as 3.3/5V level converters. The HX1 module uses 5V logic and the Venus GPS uses 3.3V logic, so no matter what the logic of your MCU is, some conversion needs to be done:

  • If your MCU is 5V (Arduino Duemilanove, Uno): IC4 needs to be soldered and J6, J8 need to be shorted. IC4 provides the 5->3.3V downconversion for the GPS.
  • If your MCU is 3.3V (Chipkit Uno32): IC3, IC5 need to be soldered and J7 needs to be shorted. IC3 and IC5 provide the 3.3V->5V conversion for the two HX1 inputs.

I suggest to solder all three buffers (IC3, IC4 and IC5) and none of the bridges (J6, J7, J8), then you will have a board that is compatible with both 5V and 3.3V logics.

Caution

Things you should pay special attention to:

  • First and foremost, do not turn on the tracker without a proper antenna!! Power not radiated by the HX1 will reflect back and cause overheating that might eventually fry the HX1 and/or the whole board.
  • Be careful when you plug the shield. It's relatively easy to misalign the headers and leave one or more pins outside the sockets.
  • If you use an external LM60, make sure it's connected properly. Here is the LM60 datasheet. For a quick test, you can spread out the pins of the chip and connect it directly to the terminal blocks, with its flat side facing up.

Building the firmware

The recommended version of the firmware is TrackuinoFirmware15. Check that page for downloading and building directions.

Testing

Refer to Troubleshooting if something doesn't work the way it should.

Comment by d...@retro-tronics.com, Apr 30, 2013

Be careful with the DealExtreme? link for the GPS antenna - I ordered the item at the other end of that link and was sent a GPS Antenna that had an RP-SMA Male connector.

Comment by project member jmart...@gmail.com, Apr 30, 2013

Dan - You're right and I fixed the link. Even though the new link says it's an F connector, customer pics and reviews say it's actually male SMA. But yes, I also warn about DX mixing up connectors.

Comment by david.an...@gmail.com, Jul 25, 2013

Hi, Firstly - great project. Good job.

However, I was wondering if there was a new version coming out shortly? Also, I noticed that the BoM from Mouser had a few items that were no longer available.

Cheers, David.

Comment by matty.br...@gmail.com, Dec 17, 2013

I was able to mostly recreate the BoM through <a href="https://www.jameco.com">Jameco</a> and <a href="http://www.digikey.com/">Digi-Key</a>. The one exception is that I replaced R1 and R2 with 6.81k and 2.21k resistors, respectively. I believe those two are just operating as a voltage divider, so the new resisters have the same ratio. Maybe Javi can confirm that though.

Unfortunately, neither Jameco nor Digikey support public BOMs.

Here are the Jameco Part numbers (mostly headers which Digi-Key doesn't stock):

Part Number Quantity
2144631 2
2168211 1
2151486 1
2137756 2

Here is the digikey list. If you're a registered user, you can save this as a .csv and upload:

Quantity Part Number Customer Reference
1 CR1206-FX-1001ELFCT-ND R3
1 CR1206-FX-2211ELFCT-ND R2
1 CR1206-FX-6811ELFCT-ND R1
1 486-1943-ND S1
1 277-1578-ND X3
2 277-1667-ND X2,X4
2 LM60CIZ/NOPB-ND U1, EXT.LM60
3 M74VHC1GT125DT1GOSCT-ND IC3-IC5
2 478-1839-ND C1,C2
1 568-7534-1-ND Q1
1 991-1046-ND X1
1 AP1117E33GDICT-ND IC2

Comment by project member jmart...@gmail.com, Dec 18, 2013

Thanks matty.brennan!


Sign in to add a comment
Powered by Google Project Hosting