Page ꢅ
4. Application Example - VDRIVE2 to PIC Micro Interface
5V0
GND
5V0
+
5V0
10uF
100nF
47k
10pF
20 MHz
VDD
RA5
RA4
MCLR#
RX
GND
CTS#
TXD
GND
ICSPDAT
ICSPCLK
RA2
RXD
47k
RTS#
10pF
TXD
RXD
RC0
TX
RC1
GND
RTS#
CTS#
RC3
RC2
GND
1uF
PIC16F688
USB Flash
Drive
AC Input
GND
VDRIVE2
Figure 6 - Datalogging to a �ꢂ Flash disꢅ with the VDrive2
By adding a ꢆIC icrocontroꢄꢄꢁr and a fꢁꢇ othꢁr coponꢁntꢀꢈ thꢁ ꢂDRIꢂE2 odꢃꢄꢁ can bꢁ tꢃrnꢁd into a Fꢄaꢀh
disꢅ ꢁased data logger. Fig ꢍ shows the schematic oꢇ this simple application. The ꢄC signal input is connected to
thꢁ 10-bit anaꢄogꢃꢁ to digitaꢄ convꢁrtꢁr on board thꢁ Microchip ꢆIC. Thꢁ ꢆIC codꢁ takꢁꢀ a prꢁ-dꢁfinꢁd nꢃbꢁr of
ꢀapꢄꢁꢀ and thꢁn ꢇritꢁꢀ thꢁ corrꢁꢀponding ꢅSCII vaꢄꢃꢁꢀ to a coa ꢀꢁparatꢁd vaꢄꢃꢁ (CSꢂ) fiꢄꢁ on thꢁ �SB flaꢀh
diꢀk attachꢁd to thꢁ ꢂDRIꢂE2 odꢃꢄꢁ. ꢂincꢃꢄꢃ’ꢀ DOS ꢄikꢁ ꢅSCII coandꢀ ꢀipꢄify thꢁ taꢀk of fiꢄꢁ handꢄing. ꢅn
eꢉtended ꢄꢂCII command set is designed ꢇor use with a terminal whilst a shortened heꢉadecimal version is used with
a microcontroller.
Conꢀꢃꢄt thꢁ ꢂincꢃꢄꢃ ꢂDꢅꢆ firꢇarꢁ dataꢀhꢁꢁt for fꢃꢄꢄ dꢁtaiꢄꢀ of thꢁ coand ꢀꢁt ꢃꢀꢁd by thꢁ ꢂDrivꢁ2.
VDrive2 Vinculum VNC1L Module
Datasheet Version 0.99
© Future Technology Devices International Ltd. 2007