BUGview
From BUG Wiki
The Visual Interface Module
BUGview is a 2.46” 320x240 touch-sensitive LCD screen that can be used both as a display and as an input device.
Contents |
Product Specifications
- Active Matrix AD-TFT LCD Screen:
- Display size: 62.5mm (2.46") diagonal, 49.92 x 37.44 mm active display area
- Resolution: 320x240
- Pixel pitch: 0.052 x 0.156
- Contrast ratio (all white/all black): 150 Typ.
- Brightness: 460 cd/m2
- Multi-LED Backlight:
- Software controllable brightness
- Backlight Datasheet
- Non-Glare Resistive Touch Screen:
- Touch pressure sensitivity (12-bit resolution)
- Touch Screen Datasheet
- Display Auto-Orientation:
- Software controllable
- Auto-Orientation Datasheet
Hardware Documentation
- BUGview Hardware Design Spec (pdf)
- BUGview layout (pdf)
- BUGview schematic (pdf)
- BUGview BOM (pdf)
- BUGview files (zip)
Software Documentation
Drivers
All BUG drivers can be found in the BUGlabs SVN.
The BUGview drivers handle the basic operation of the module. IOCTL commands can be used to:
- Activate and deactivate the module
- Control LED operation
- Read the IOX register
- Enable and disable VSYNC
- Enable and disable LCD
- Enable and disable serializer
- Enable and disable accelerometer
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.lcd.pub package in the latest revision of the BUG javadocs. Each service is an interface with its own methods.
From com.buglabs.bug.module.lcd.pub:
- ILCDModuleControl – Service for basic module controls & interaction with base (extends IModuleControl and IModuleLEDController)
- IModuleDisplay – Service for GUI widgets & display control
Through com.buglabs.bug.module.lcd.accelerometer classes:
- IAccelerometerRawFeed – Service that provides raw data from the accelerometer
- IAccelerometerSampleFeed – Service for reading continuous samples from the accelerometer
- IAccelerometerSampleProvider – Service for reading a single sample from the accelerometer
Web Services
When a BUGview module is attached, the Acceleration web service becomes available, providing acceleration along 3 axes.


