You are on page 1of 3

The PI2 is a serial communication device that interfaces directly with a PFP or laptop serial port.

It includes two additional serial ports that can be used to interface with other serial instruments, GPS, serial storage devices, or any other serial device. The PI2 speaks DougNet, a serial protocol established to communicate between instruments in the CCG aircraft platform. In addition to performing serial communication and protocol translation, the PI2 contains all the hardware necessary to implement a small datalogger application. There are onboard pressure and temperature sensors, a real-time clock and calendar with alarm, two analog outputs, eight analog inputs, nine digital i/o signals, a precision square wave generator, four high-current (0.6 amp) switched outputs, including a pulse width modulator, two auxiliary serial ports, and 2Mb of non-volatile flash memory. The four high-current outputs and one of the digital i/o lines are pre-programmed to automate the operation of a 2B ozone absorption photometer. Software timers control the solenoids and panel LEDs to autonomously change operation modes. A pushbutton is used to override the automated timing. There is also a software fan controller that modulates the fan power to control the instrument temperature. All of these functions can be adapted for other uses. For example, the fan controller could be easily adapted to control a heater. Time and date are set from GPS. The clock can be calibrated to improve accuracy, although the typical uncalibrated accuracy is better than 2 seconds per day. The PI2 operates on 12 to 30 volts DC, with lithium battery backup for the clock. Most of the features will continue to operate down to 3 volts, with the exceptions of the 12- volt output and the 5-volt reference for the DACs. (The DACs themselves will continue to operate, but their scale and accuracy will degrade.) The PI2 measures 5.3 inches long by 3 inches wide by 2 inches high. Just the PCB, without the plastic housing and connectors, measures 4.5 inches by 2.25 inches by 0.5 inches, and can be readily integrated into existing instruments. Hardware specifications: 8-bit RISC architecture microcontroller Atmel AVR family Atmega162 running at 4 MHz programmed in open-source C++ (WinAVR) Main com port autoselects between RS232 (laptop) and RS485 (PFP). Com2 is RS232 only, no hardware handshake lines. Com3 is RS232 only, with RTS and CTS handshaking available for use. All serial ports are protected against ESD with transient voltage suppressors. Pressure sensor measures absolute pressure to 0.1 mbar resolution factory calibrated, 0.5 mbar accuracy

also provides temperature of the sensor to 0.1 degree C resolution Temperature sensor Measures temperature to 0.0625 degree resolution Absolute accuracy 0.5 degree C at 25C Factory calibrated Analog out 2 channels 14 bit 300 uV resolution 0-5 volts Analog in 8 channels 16 bit 19 uV resolution 0-1.225 volts RC filter on each input can become voltage divider 100 ksps max sample rate 64-sample average is reported, modifiable for different applications scale and offset, or polynomial fit Real-time clock Clock Calendar Alarm / wakeup functionality Precision square wave output Coin cell battery backup Extra RAM available for general use Digital I/O 8 channels Can be used for DIP switch inputs if desired 0 or 3.3 volts output Ozone controls Input for pushbutton switch Solenoid driver output (0-supply voltage, up to 0.6 amps) Fan controller for instrument cooling pulse width modulated output 40% - 100% duty cycle supply voltage up to 0.6A can be modified for heater applications Two LED drivers for indicator lamps On-board memory EEPROM storage of configuration settings

Working data stored in SRAM 2 MB flash memory available for non-volatile data storage Voltages available 3.3 volts, 300 mA 12 volts, 100 mA 5.000 volts, 0.1%, 10 mA Code features Speaks DougNet, a readable serial language used in PFPs. Can respond to multiple instrument addresses THP, OZO, GPS, AOS, LIC, etc. Can handle each address differently For some applications, each instrument address can be disabled Will defer to other instruments on the bus with a higher priority Users can set triggers based on boolean criteria Timing of external events Scaling of analog inputs

You might also like