Ocean-optics SAD500 Communications and Control Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Ocean-optics SAD500 Communications and Control. Ocean Optics SAD500 Communications and Control User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 19
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
SAD500 Serial Port Interface
Communications and Control Information
Overview
The SAD500 Serial Port Interface is a microcontroller-based analog-to-digital converter that interfaces to
Ocean Optics’ S2000 and S1024DW Miniature Fiber Optic Spectrometers and other stackable modules.
When using an RS-232 serial communications protocol, the SAD500 can control all functions of the S2000
and S1024DW spectrometers and implement standard spectral processing. The SAD500 contains non-
volatile flash memory to store spectra and operating parameters. Upon power-up, the SAD500 reads a set
of operating parameters from flash memory. Users can tailor these parameters to satisfy their data
acquisition and processing needs.
Hardware Description
The SAD500 utilizes a 16MHz Motorola 68HC16 microcontroller to control all functions. Digital
communications utilizes RS-232 serial communications with 8 data bits, no parity, and a 1 data bit (8-N-1).
While the majority of the general-purpose I/O pins control the S2000 and S1024DW spectrometers, there
are headers for expansion modules. The available signals are the 7-bit through 10-bit A/D lines, 7 general
purpose digital I/O lines, and the 3 wire Serial Peripheral Interface (SPI) bus with 14 chip selects. Consult
Ocean Optics for custom software to drive these expansion signals.
Upon power-up, the SAD500 transmits the string “Ocean Optics Serial A/D – x”, where x, the error code,
should be 0. It transmits at the baud rate (default 9600 baud) defined in flash memory. The SAD500
operates with three segments of memory: program memory and SRAM and flash memory for data
storage. The user cannot modify the 64KB of program memory. The following describes each data
memory section.
SRAM (Fast) Memory
There are 64KB of SRAM memory used to store data as it is acquired by the SAD500. This section holds
up to 15 full spectral acquisitions consisting of 2048 pixels. Only full spectra are stored in SRAM memory.
Spectra are organized in a stack formation (i.e. LIFO).
Ocean Optics, Inc.
380 Main St.
Dunedin, FL 34698
(727) 733-2447 (727) 733-3962 FAX
http//www.OceanOptics.com
Innovations in Spectroscopy
and Optical Sensing
Vue de la page 0
1 2 3 4 5 6 ... 18 19

Résumé du contenu

Page 1 - SAD500 Serial Port Interface

SAD500 Serial Port InterfaceCommunications and Control InformationOverviewThe SAD500 Serial Port Interface is a microcontroller-based analog-to-digita

Page 2 - Instruction Set

10Slow Memory AvailableDescription: Returns the amount of available slow memory in KBytes.Command Syntax: UResponse: ACK followed by {DATA WORD}Defaul

Page 3 - Command Summary

11Binary Data ModeDescription: Sets the mode in which data values are interpreted as binary. In this mode, only 16 bitunsigned integer values (0 – 655

Page 4 - Close Session

12Query Error CodeDescription: Returns and clears the current error code.Command Syntax: qResponse: ACK followed by {DATA WORD}Default value: N/AThe f

Page 5 - Spectrometer Channel

13ExamplesBelow are examples on how to use some of the commands. Commands are in BOLD and descriptions arein parenthesis. For clarity, the commands ar

Page 6 - Baud Rate

14Example 4Store 50 spectra with every 4th pixel in slow memory, read them outaA (Set ASCII Data Mode)M2 (Set storage mode to slow memory)P1 4 (Set pi

Page 7 - Scan Received OK

15Technical Note 1: SAD500 Data CompressionTransmission of spectral data over the serial port is a relatively slow process. Even at 115,200 baud, the

Page 8 - Initialize

1688 -44 0xD483 -5 0xFB86 3 0x0382 -4 0xFC91 9 0x0992 1 0x0181 -11 0xF580 -1 0xFF84 4 0x0484 0 0x0085 1 0x0183 -2 0xFE80 -3 0xFD80 0 0x0088 8 0x0894 6

Page 9 - Trigger Mode

17Technical Note 2: Correlated Double SamplingThe S1024DW and S1024DWX can be configured to utilize a data sampling technique called correlateddouble

Page 10 - ASCII Data Mode

18Technical Note 3: SAD500 Checksum CalculationFor all uncompressed pixel modes, the checksum is simply the unsigned 16-bit sum (ignoring overflows) o

Page 11 - Find Maximum Spectral Reading

1984 0 0x00 0x000085 1 0x01 0x000183 -2 0xFE 0x00FE80 -3 0xFD 0x00FD80 0 0x00 0x000088 8 0x08 0x000894 6 0x06 0x000690 -4 0xFC 0x00FC103 13 0x0D 0x000

Page 12 - Query Variable

2Flash (Slow) MemoryThere are 4MB of flash memory for non-volatile data storage. Data is transferred from fast memory to slowmemory by the appropriate

Page 13 - Examples

3Command SummaryLetter Description VersionA Adds scans 1.00.0B Sets pixel boxcar width 1.00.0C Closes session and stores operating parameters 1.00.0D

Page 14 - Application Tips

4Command DescriptionsA detailed description of all SAD500 commands follows. The {} indicates a data value which is interpretedas either ASCII or binar

Page 15

5Dump Fast Memory to Slow MemoryDescription: Moves spectral data from fast memory to slow memory. The current pixel mode parametersare used to determi

Page 16

6Integration TimeDescription: Sets the S2000’s and S1024DW’s integration time, in milliseconds, to the value specified.Command Syntax: I{DATA WORD}Res

Page 17 - Pixel Number

7Clear MemoryDescription: Clears memory based upon the value specified. If slow memory is cleared, the currentoperating parameters are written back to

Page 18

8Pixel ModeDescription: Specifies which pixels are transmitted or stored in slow memory. While all pixels are acquiredon every scan, this parameter de

Page 19

9Read All DataDescription: Transmits all data from either fast or slow memory. For fast memory, the current pixel mode isutilized. For slow memory, th

Commentaires sur ces manuels

Pas de commentaire