Freerunner Navigation Board v2

From Openmoko

Revision as of 21:33, 6 September 2010 by Cmair (Talk | contribs)

Jump to: navigation, search

The second version of the Freerunner Navigation Board includes lots of new stuff to play with, while still providing the same feature set as the first version.

Freerunner Navigation Board v2

Contents

Features

The FRNBv2 realizes all features from the first version on the top side of the PCB. The bottom side is all about further expansion. Most of these chips are not very usable without connecting additional electronics to them. I'll add detailed descriptions of what I did with them to this page.

Top side

3D Gyroscope ITG-3200

The new ITG-3200 digital gyroscope detects rotations and measures their angular velocity. This enables the FR to be used as game controller or to improve navigation capabilities without GPS.

3D Magnetometer HMC5843

A magnetometer senses magnetic fields. It can be used as compass for navigation purposes or to sense fields from other magnetic sources.

Air pressure/temperature sensor: BMP085

A pressure sensor can be used for weather forecast or to measure the height above sea level if the pressure at sea level is known. If the height is known from other sources (e.g. GPS), the change in ambient pressure can be used to detect weather changes. This may be useful for gliding.

Bottom side

4ch Programmable LED Controller PCA9632

This chip can source or sink current for up to four LEDs with a maximum of 25mA per LED. In addition to simple on/off states it can be programmed to blink or dim individual channels or a group of channels. Since the chip does everything on its own, it will continue to work even if the host cpu suspends. This allows the often requested feature to drain the battery even faster to notify users of incoming SMS or missed phone calls by blinking a LED even if the phone is suspended. A blink frequency down to once every 10 seconds and a widely adjustable duty cycle allows for very short flashes to save battery power.

1kHz – 68MHz Programmable oscillator LTC6904

This is, well, a programmable oscillator from which one frequency output and the output enable pin are available at testpoints. My intention was to use it as 38kHz oscillator to generate the carrier frequency of common infrared remote controls. The output enable can be connected to a GPIO. After implementing a small driver, this should work as a generic remote control solution using lirc.

12 bit Analog to Digital Converter ADS1015

This is similar to the chip which was used on the FRNBv1 to digitize analog gyroscope outputs. It provides only 12 instead of 16 bits of resolution, but this should be enough for most applications. The FRNBv2 does not use it for own purposes, so it is completely under user's control.

Touch Sensor MPR121

The MPR121 from Freescale Semiconductor is a multi channel proximity capacitive touch sensor controller. Up to twelve sensor areas could be connected, but due to space restrictions, only eight channels are accessible at solder pads. It is not guaranteed that the chip will work as intended, but I think it's worth to test it.

Documentation

Schematic and board layout files are available from http://chonyota.net/freerunner/FRNBv2/

Pictures of the assembled boards and more documentation (pinout, ...) will be added here.

Top side with the BMP085
Bottom side with PCA9632 and LTC9604

Test Status

The first PCBs arrived and allows to test single features. The progress will be documented here.

Chip I²C address Test Result Notes
ITG3200 0x69 ok driver usable but still incomplete
HMC5843 0x1E ok driver should to degauss sensor to ensure proper operation
BMP085 0x77 ok
PCA9632 0x60 ok
LTC9604 0x17 ok, bug works, but not with the I²C controller from the Freerunner
ADS1015 0x40 ok kernel driver incomplete. Userspace driver incomplete
MPR121 0x5A  ?? responds on i2cdetect; driver missing

Issues

Known HW or SW Issues

The frequency generator LTC9604 consumes about 0.5mA even if the outputs are turned off. This is not a real bug but it would be nice to turn the chip off while unused. A small modification should make it possible to use one output from the LED controller to control the power.

Use *50V* 2.2nF capacitor for C5. fixed.

Reading exactly two bytes from the LTC9604 causes the I2C bus to lock up. The stop condition is not sent correctly and the master does not stop generating a clock. The chip works fine when programmed with a MSP430 microcontroller. Therefore either the Linux driver or the Samsung SoC (or both) are causing the bug. I'll try to resolve this, but I'm quite busy with other stuff. If someone wants to help, please contact me.

Availability

The handheld-linux.com team kindly offered to retail the FRNBv2. You can find it here.

Two assembly options are available:

  • Complete: everything you (possibly) want. Contains all chips as described above.
  • Standard: contains everything except the frequency generator and the analog to digital converter.

Possible packaging options:

  • CAB: Completely assembled board. Just add some wires and you're ready
  • DIY: Do it yourself! The PCB and all components needed to get your hands dirty
  • PCB: The bare PCB. You are free to buy only what you need.

Right now, only the CAB boards can be ordered online. If you just want the PCB and/or a few parts, contact me or the nice staff at handheld-linux.com.


Preorders

If you are interested, please tell me which package you'd like to purchase.

  • Example: 1x CAB including oscillator and A/D Cmair
  • 3x CAB including oscillator and A/D --Glenn 04:24, 18 July 2010 (UTC)
  • 1x CAB --PWerken 17:20, 4 Aug 2010 (UTC)

Update: please place your orders at handheld-linux.com

Personal tools

The second version of the Freerunner Navigation Board includes lots of new stuff to play with, while still providing the same feature set as the first version.

Freerunner Navigation Board v2

Features

The FRNBv2 realizes all features from the first version on the top side of the PCB. The bottom side is all about further expansion. Most of these chips are not very usable without connecting additional electronics to them. I'll add detailed descriptions of what I did with them to this page.

Top side

3D Gyroscope ITG-3200

The new ITG-3200 digital gyroscope detects rotations and measures their angular velocity. This enables the FR to be used as game controller or to improve navigation capabilities without GPS.

3D Magnetometer HMC5843

A magnetometer senses magnetic fields. It can be used as compass for navigation purposes or to sense fields from other magnetic sources.

Air pressure/temperature sensor: BMP085

A pressure sensor can be used for weather forecast or to measure the height above sea level if the pressure at sea level is known. If the height is known from other sources (e.g. GPS), the change in ambient pressure can be used to detect weather changes. This may be useful for gliding.

Bottom side

4ch Programmable LED Controller PCA9632

This chip can source or sink current for up to four LEDs with a maximum of 25mA per LED. In addition to simple on/off states it can be programmed to blink or dim individual channels or a group of channels. Since the chip does everything on its own, it will continue to work even if the host cpu suspends. This allows the often requested feature to drain the battery even faster to notify users of incoming SMS or missed phone calls by blinking a LED even if the phone is suspended. A blink frequency down to once every 10 seconds and a widely adjustable duty cycle allows for very short flashes to save battery power.

1kHz – 68MHz Programmable oscillator LTC6904

This is, well, a programmable oscillator from which one frequency output and the output enable pin are available at testpoints. My intention was to use it as 38kHz oscillator to generate the carrier frequency of common infrared remote controls. The output enable can be connected to a GPIO. After implementing a small driver, this should work as a generic remote control solution using lirc.

12 bit Analog to Digital Converter ADS1015

This is similar to the chip which was used on the FRNBv1 to digitize analog gyroscope outputs. It provides only 12 instead of 16 bits of resolution, but this should be enough for most applications. The FRNBv2 does not use it for own purposes, so it is completely under user's control.

Touch Sensor MPR121

The MPR121 from Freescale Semiconductor is a multi channel proximity capacitive touch sensor controller. Up to twelve sensor areas could be connected, but due to space restrictions, only eight channels are accessible at solder pads. It is not guaranteed that the chip will work as intended, but I think it's worth to test it.

Documentation

Schematic and board layout files are available from http://chonyota.net/freerunner/FRNBv2/

Pictures of the assembled boards and more documentation (pinout, ...) will be added here.

Top side with the BMP085
Bottom side with PCA9632 and LTC9604

Test Status

The first PCBs arrived and allows to test single features. The progress will be documented here.

Chip I²C address Test Result Notes
ITG3200 0x69 ok driver usable but still incomplete
HMC5843 0x1E ok driver should to degauss sensor to ensure proper operation
BMP085 0x77 ok
PCA9632 0x60 ok
LTC9604 0x17 ok, bug works, but not with the I²C controller from the Freerunner
ADS1015 0x40 ok kernel driver incomplete. Userspace driver incomplete
MPR121 0x5A  ?? responds on i2cdetect; driver missing

Issues

Known HW or SW Issues

The frequency generator LTC9604 consumes about 0.5mA even if the outputs are turned off. This is not a real bug but it would be nice to turn the chip off while unused. A small modification should make it possible to use one output from the LED controller to control the power.

Use *50V* 2.2nF capacitor for C5. fixed.

Reading exactly two bytes from the LTC9604 causes the I2C bus to lock up. The stop condition is not sent correctly and the master does not stop generating a clock. The chip works fine when programmed with a MSP430 microcontroller. Therefore either the Linux driver or the Samsung SoC (or both) are causing the bug. I'll try to resolve this, but I'm quite busy with other stuff. If someone wants to help, please contact me.

Availability

The handheld-linux.com team kindly offered to retail the FRNBv2. You can find it here.

Two assembly options are available:

  • Complete: everything you (possibly) want. Contains all chips as described above.
  • Standard: contains everything except the frequency generator and the analog to digital converter.

Possible packaging options:

  • CAB: Completely assembled board. Just add some wires and you're ready
  • DIY: Do it yourself! The PCB and all components needed to get your hands dirty
  • PCB: The bare PCB. You are free to buy only what you need.

Right now, only the CAB boards can be ordered online. If you just want the PCB and/or a few parts, contact me or the nice staff at handheld-linux.com.


Preorders

If you are interested, please tell me which package you'd like to purchase.

  • Example: 1x CAB including oscillator and A/D Cmair
  • 3x CAB including oscillator and A/D --Glenn 04:24, 18 July 2010 (UTC)
  • 1x CAB --PWerken 17:20, 4 Aug 2010 (UTC)

Update: please place your orders at handheld-linux.com