You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki: http://wiki.buglabs.net



BUGvonHippel

From BUG Wiki

(Redirected from VonHippel module)
Jump to: navigation, search

The Breakout Module

BUGvonHippel, named after Dr. Eric von Hippel of MIT, expands BUG connectivity with multiple interfaces.

BUGvonhippel
BUGvonhippel


Contents

Product Specifications

BUGvonHippel in use
BUGvonHippel in use
  • Standard Module Interfaces Exposed:
    • Standard USB Host connector
    • All other interfaces available in 0.100" pin field; can be equipped with breakaway headers for connector/ribbon cable interface, or wires directly soldered
    • I2C, multi-point digital control bus
    • SPI, digital control bus
    • 4-wire Serial port (in pin field; no DB9 connector)
    • I2S, digital audio bus
    • 4 GPIO (General Purpose I/O) digital lines, direct from Bug Base Unit CPU
    • 1 Interrupt input to Bug Base Unit CPU
    • 6 IOX (I/O Expander) digital lines, four with LED sites available
  • Analog-to-Digital Converter:
    • Suitable for sensor inputs
    • 16-bit ADC
    • Accessed and controlled over I2C bus
    • Max rate of 15 samples/sec
    • 4 analog inputs, can be configured as four single-ended or two differential pairs
    • Input range GND to 5V
    • Includes integrated temperature sensor
    • ADC Datasheet and ADC HOWTO
  • Digital-to-Analog Converter:
    • Suitable for control outputs
    • 8-bit DAC
    • Accessed and controlled over I2C bus
    • Max rate approximately 6k samples/sec (determined on I2C clock rate)
    • 2 analog outputs with programmable attenuation
    • Output range GND to 5V
    • DAC Datasheet
  • Power Supply:
    • 5V power available in pin field
    • User adjustable power supply included as well, output 1.25-4.5V, available in pin field
    • Adjustable power supply is software programmable via the I2C bus with a non-volatile digital pot
    • Digital Potentiometer Datasheet

Hardware Documentation

Software Documentation

Drivers

All BUG drivers can be found in the BUGlabs SVN.

The BUGvonHippel drivers handle the basic operation of the module including:

  • Powering the module on and off
  • Setting the various interfaces
  • Controlling digital-to-analog conversion process


OSGi Services

Method documentation for all OSGi services (from BUG and from other users) is available in the javadocs. The services listed below can be found in the com.buglabs.bug.module.vonHippel.pub package in the latest revision of the BUG javadocs. Each service is an interface with its own methods.


Web Services

When a VonHippel module is attached, the Vonhippel web service becomes available, providing the state of various pins (GPIO, IOX) on the module. Example:

<Status>
 <GPIO>
  <Pin number="0">1</Pin>
  <Pin number="1">1</Pin>
  <Pin number="2">1</Pin>
  <Pin number="3">1</Pin>
 </GPIO>
 <IOX>
  <Pin number="0">0</Pin>
  <Pin number="1">0</Pin>
  <Pin number="2">0</Pin>
  <Pin number="3">0</Pin>
  <Pin number="4">1</Pin>
  <Pin number="5">1</Pin>
 </IOX>
</Status>

Interfacing with the vonHippel in C

See Interfacing with the vonHippel in C for more information.