Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
23
Добавлен:
20.02.2016
Размер:
1.34 Кб
Скачать
This project requires a small amount of soldering prior to operation.
Additionally, it will require the purchase of two Microchip Pictail boards.
The MCP6SX2DM-PCTLPD Pictail Photodiode board, and
The AC164126 - Prototype PICtail Plus Daughter Board
As well as the HPC16 Explorer board.

Make the following connections between the two Pictail boards:

Photodiode board, Pin 5 to Prototype board, RF6
Photodiode board, Pin 6 to Prototype board, RB2
Photodiode board, Pin 10 to Prototype board, RB8
Photodiode board, Pin 12 to Prototype board, RF8
Photodiode board, Pin 13 to Prototype board, +3.3V
Photodiode board, Pin 14 to Prototype board, GND

Plug the Prototype board into the HPC16 explorer, with the
dsPIC33FJ256GP710 PIM installed and install/run the code.

Keypress map:
S6 = Rotate between Analog Inputs Potentiometer, Temp Sense, PGA
S3 = Change input channel of PGA IF PGA is selected
S4 = Change gain of PGA Via SPI IF PGA is selected

Operation - The board will initialize with a splash screen. Pushing S3
begins the true program. Select PGA as the Analog Input. At that point,
The SPI port will send signals to the MCP6S22 PGA. The PGA has no digital
information to send back to the PIC, so there is no connection from the
PGA Serial Data Out to the PIC. (this conserved IO on the PGA)
Соседние файлы в папке CE135_SPI_Demo