20-101-0356 Rabbit Semiconductor, 20-101-0356 Datasheet - Page 57

COMPUTER SINGLE-BOARD BL1800

20-101-0356

Manufacturer Part Number
20-101-0356
Description
COMPUTER SINGLE-BOARD BL1800
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0356

Module/board Type
Single Board Computer Module
Product
Modules
Data Bus Width
8 bit
Processor Type
Rabbit 2000
Sram
128 KB
Flash
256 KB
Timers
8 bit, 10 bit
Number Of I/os
14
Backup Battery
3 V Lithium Coin Type
Operating Voltage
8 V to 40 V
Power Consumption
1.2 W
Board Size
89 mm x 64 mm x 19 mm
Description/function
Computer Module
For Use With/related Products
BL1800
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1079
The output value is set using the following function.
Effect of Interrupts on Analog I/O
The stability of the voltage output (and hence the voltage input determination as well)
depends on the ability of the driver to respond quickly to interrupt requests. Dynamic C
debugging, use of the
pulse-width modulation utilized by the driver and cause fluctuations in the voltage out-
puts. Avoid using serial communications or
program where the voltage must remain steady. Also be aware that debugging and running
Dynamic C in polling mode will cause fluctuations. Finally, be certain to disable the PWM
drivers by setting the output values to 0 or 1024 when you are done using them to free up
the CPU.
Calibration of Values to Voltages
The analog output channels on the Jackrabbit can be more accurately calibrated for each
individual Jackrabbit in the following manner (calibration of DA0 is assumed in this
example, calibration of DA1 would proceed similarly):
• Set desired channel output to
• Measure voltage V
• Set desired channel output to
• Measure voltage V
A linear relation between input value and voltage can now be calculated:
User’s Manual
void anaOut(int channel, int value);
sets the state of an analog output channel.
jrioInit
channel
value
NOTE: See the sample program JRIOTEST.C for examples of using the anaOut func-
tion.
is an integer from 0–1024 that corresponds to an output voltage as shown in Table 5.
Table 5. Typical Analog Output Voltages Corresponding
Channel
is the output channel number (0 or 1 on the Jackrabbit).
must be called first.
DA0
DA1
min
max
printf
on DA0.
on DA0.
0.004 V
0.08 V
to Values in anaOut Function
b
0
function, or any serial communications can disrupt the
=
PWM_MIN
PWM_MAX0
V
max
PWM_MIN
0.08 V
0.63 V
.
m PWM_MAX0
.
printf
×
PWM_MAX
statements during portions of your
2.875 V
3.6 V
1024
3.4 V
3.6 V
53

Related parts for 20-101-0356