Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
e has been divided into 256 values, or 255 steps, the voltage inent<br />
available is:<br />
10 volts I 255 steps = 39 millivolts/ step<br />
can probably write a short program that would increment an<br />
ount and output it to the DA converter. Don't worry about the<br />
nal operation of the D/ A converter, just treat it like an output<br />
, Your program will generate a slowly increasing positive voltramp.<br />
Develop your program in the space below:<br />
. FOR V = 0 TO 255<br />
POKE 43918,V<br />
NEXT V<br />
c GOTO 10<br />
'Simple voltmeter or volt-ohm-rnilliammeter ( vom) may be used<br />
onitor the voltages. Connect the meter between ground and the<br />
18 VDAC output ( VDAC is positive). Try your program. Does<br />
oltage increase slowly What happens when the voltage reaches<br />
t + 10 volts<br />
voltage increases slowly to + 10 volts. When it reaches this<br />
e, it quickly changes to zero volts, or ground, and it starts to<br />
ase slowly once again.<br />
u can slow the voltage ramp by introducing a short time delay<br />
·<br />
in your program. We used the following:<br />
= 0 TO 100: NEXT T<br />
evelop a program that will generate a negative-going ramp, and<br />
that will generate a triangular ramp (slow-up then slow-down).<br />
·used the following programs:<br />
e •mp<br />
FOR V = 255 TO 0 STEP -l