E Contents Sampling ................................................................................................ 2 Analog Sampling .................................................................................... 3 Memory .................................................................................................. 3 Pulse Sampling ...................................................................................... 4 EA-200 Command Tables .....................................................
Sampling Auto Setup When the Setup key is pressed... Enters the sampling setup ready state. Supports bundled sensors (temperature, voltage, photo) only. 1. Channel Channel Name Number of Channels Analog Pulse Digital I/O Mic Analog Output CH1–3 SONIC DIG I/O Mic 3 1 1 1 CH3 speaker 1 Details Voltage, resistance, pulse period Pulse interval, pulse period 8-bit input/output, 1-bit clock Recording (Ⳳ1.
Analog Sampling Memory 1. Sampling Time Data Channel Names: CH1, CH2, CH3 1. CH1, CH2, CH3 Connector Specifications Pin Number 1 2 3 4 5 6 T4 Absolute Time Vin ⫾10V (CH3: Vin⫾5V and ⫾3Vout) GND Vres Auto-ID +5.3V DC Vin-low 0–5V ( T1=0 ) T3 T2 Relative Time Time Axis T2 T3 T4 ( T1=0 ) Trigger Source Sample Value 1 Clock Source 1 Sample Value 2 Clock Source 2 Sample Value 3 Clock Source 3 Sample Value 4 2. Types of Sampling 2.
3. Data Send Priority Pulse Sampling 1. Real-time Type (Selected using Command 12) Channel Name: SONIC (Pulse period sampling is also supported on CH1.) Channel Priority: CH1, CH2, CH3, SONIC, DIG IN, sampling time 1. SONIC Connector Specifications • Variable (1 data) Sends the data of the channel with highest priority among {CH1, CH2, CH3, SONIC, DIG IN, sampling time}. The data with the second highest and subsequent priorities is not sent.
Command Tables Command 1 - Channel Setup *: parameter value marked with asterisk are initial defaults. Channel { 1, Channel, Operation, Post-Processing, FFT Samples } Operation 0 *1 2 3 4 Clear all channels Channel 1 Channel 2 Channel 3 SONIC Channel 5 DIG IN Port 6 DIG OUT Port 10 Microphone 11 Analog Out CH3 1pin ±3Vout 12 Speaker Post-Processing ––– 0 Clear the selected channel.
Command 3 - Sample and Trigger Setup { 3, Sampling Interval, Number of Samples, Record Time, Trigger Source, Trigger Threshold, Trigger Edge, Clock Source } Sampling Interval 0.00002 to 16000 (*0.
Command 4 - Conversion Equation Setup { 4, Equation Number, Equation Type, Number Format, Constants } Equation Number *0 1 2 3 4 Clear All equations. Equation 1 (Channel 1) Equation 2 (Channel 2) Equation 3 (Channel 3) Equation 4 (SONIC channel) Equation Type *0 1 2 3 4 5 6 7 8 9 10 11 12 *0 1 Number Format Clear equation selected by the equation number parameter. Polynomial K0+K1X+K2X2+...+KnXn *1 Mixed polynomial K–mX–m+...+K–1X–1+K0+K1X+......
Command 11 - Buzzer and LED Operation Commands Command 6 - System Setup { 11, Output Select, Length, Period } { 6, Command, Auto Power Off Time } Command 0 or 2 3 4 10 APO Time (sec) Abort Sampling ( *0) Turns sound off Turns sound on APO (Auto Power Off) Output Select *0 ––– *0 1 2 Buzzer 2 3 4 5 1800 10 360 Length (sec) Period (sec) Operating Time (sec) Period (sec) Ready LED Sampling LED Error LED Batt LED • An error occurs when fraction data is sent.
SONIC Command 1: Channel Settings (Channel = 4) { 1, Channel, Operation, Post-Processing } 0 1 Clear Command 1 data of SONIC channel. Auto-ID Perform sampling in automatically detected unit. 2 Meter 3 Feet 5 Period sec 6 Frequency Hz 1. Channel 0 Clear all Command 1 data. 1 Specify CH1. 2 Specify CH2. 3 Specify CH3. 4 Specify SONIC channel. 5 Specify Digital In channel. 6 Specify Digital Out channel.
Output Example When the list is: 85(1010101), 34( 100010), 187(10111011), 204(11001100)
<> Frequency characteristics are calculated from sampled values and sampling period. The number of FFT target data items (2^n) is input to parameter n. 1-13 (2^13 = 8192) 6. Trigger Edge • Period, frequency sampling (Operation= 5, 6) 0 1 2 3 Calculation Timing Rising-Rising Falling-Falling Rising-Falling Falling-Rising When data is requested • Time (Operation = 11) Sent Timing 0 1 2 • When 1 (d/dt) After sampled data is sent, linear data is sent when data is requested.
SONIC Trigger Same as 2–7. Command 3: Sampling and Trigger Settings 20 Countdown When [Start/Stop] key is pressed or when Command 8 is received, countdown is performed by beeping at 1-second intervals the number of times specified by count number, and then sampling starts. { 3, Sampling Interval, Number of Samples, Record Time, Trigger Source, Trigger Threshold, Trigger Edge, Clock Source } 1. Sampling Interval (sec) –1 Wait for Command 8 0.00002–0.0001: Fast sampling 0.
Non-triggering Example (Trigger Edge = Rising) SONIC Trigger (Trigger Source = 11) Trigger threshold 0 Falling Sampling started when [Sample Value] < [Trigger Threshold] Hysteresis 1 Rising Sampling started when [Sample Value] > [Trigger Threshold] 2 Difference Falling Sampling started when [Sample Value] > [Trigger Threshold] Does not exceed hysteresis upper limit. At start of trigger detection, sampled value is greater than hysteresis lower limit.
SONIC Command 4: Conversion Equation Settings (Channel = 4) 0 1 { 4, Equation Number, Equation Type, Number Format, Constants } 1. Equation Number 3. Number Format and Unit 0 Clear all Command 4 data. • Number Format 1 Specify CH1. Analog 2 Specify CH2. 0 Standard 10 Integer part only 4 Specify SONIC channel. 2.
5. Step Command 5: Data Range Settings 1– Number of steps (Specifying 2 sends ever other data item). { 5, Channel Select, Data Select, Data Begin, Data End, Step, K (, FFT Samples) } Cannot be used during sampling. –1 Send using step equivalent to [Number of Sampled Data] ⫼ [Specified Value K] (rounded up). 1. Channel Select FFT Samples 0 Highest priority data 1 Specify CH1. 1 to 13 2 Specify CH2. FFT calculation number of samples 2^n 3 Specify CH3. 4 Specify SONIC channel.
Command 7: Status Check {7} After Command 7 is received, this function sends EA-200 status information upon a data request from the calculator. Status Request Line 1 Basic Information 2 Error Code 3 4 5 6 7 8 Status Battery Condition Auto-ID 9 Channel 1 Setup 10 11 12 13 14 15 16 17 18 19 : 28 29 Channel 2 Setup 30 0: Standby (No Sample Data in EA-200) 1: Ready 2: Sampling 3: Standby (Sample Data in EA-200) = 0: Normal ≠ 0: Error Integer: Command number Decimal Part: Parameter position Example: 3.
Command 10: Power Supply Setting RS-232C Communication { 10, Warmup Time (sec) } (1) RS-232C cross cable (2) Start bit : 1 bit (3) Stop bit : 2 bits (4) Baud rate : 38400 bps. (5) Parity bit : none. (6) The communication system shall be half duplex system without Xon/off control. (7) Frequency deviation should be kept within ⫾1.5%. Supply starts after receipt of Command 10 when supply time is not zero.
Receive38K Packet size (Hex, 2byte) Calculator / PC max : 1024 byte *Without ':' and Checksum EA-200 0×15 → .................................................................... ← Code A .................................................................... Request Header → .................................................................... ← Header .................................................................... Code B → ....................................................................
䉫 Checksum (1 byte) Checksum is added to the end of every returned header data proper. “Checksum” is the code (hexadecimal number) to check if data transfer is successful. The method to calculate the code is as follows: 1 Except the star code, add the data code to send (hexadecimal number) one by one byte. 2 As a result, one byte of the code that excludes the overflowed digit is set to “SUM”. 3 Calculate the complementary number for 2 of SUM’. The answer is used as the checksum code.
CASIO COMPUTER CO., LTD.