101-0359 Rabbit Semiconductor, 101-0359 Datasheet - Page 40

KIT DEVELOPMENT BASIC RABBIT2000

101-0359

Manufacturer Part Number
101-0359
Description
KIT DEVELOPMENT BASIC RABBIT2000
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet

Specifications of 101-0359

Rohs Status
RoHS non-compliant
Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
Rabbit 2000
Interface Type
RS-232, RS-485
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
316-1003
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 BL1810 can be more accurately calibrated for each
individual BL1810 in the following manner (calibration of DA0 is assumed in this exam-
ple, 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:
36
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 2.
Table 2. Typical Analog Output Voltages Corresponding
Channel
is the output channel number (0 or 1 on the BL1810).
must be called first.
DA0
DA1
min
max
printf
on DA0.
on DA0.
0.004 V
0.08 V
to Values in anaOut Function
0
function, or any serial communications can disrupt the
PWM_MIN
PWM_MAX0
PWM_MIN
0.08 V
0.63 V
.
.
printf
PWM_MAX
statements during portions of your
2.875 V
3.6 V
Rabbit 2000 Development Kit
1024
3.4 V
3.6 V

Related parts for 101-0359