Thermal/Linear Intelligent Sensor PICtail? Plus Daughter Board
4.1.1
ADC Driver
The ADC driver reads the incoming signals from the linear interface (after signal
conditioning by the level shifter and anti-aliasing filter), on the 12-bit ADC channel AN7.
The source code file, adcDrv1.c , contains the ADC initialization function
initAdc1() as well as the ADC ISR.
Noise samples from the constant table NoiseSamples are added to successive input
samples, and the composite sample is then stored in a variable named
SignalNoiseIn .
4.1.2
Notch Filter
The Notch.s file contains the coefficients and other parameters of a 63-tap FIR filter
designed using the dsPIC DSC Filter Design tool. This filter has been designed to sup-
press narrowband (single-tone) noise at 1700 Hz while not attenuating the desired
3200 Hz signal. The filtered output sample is stored in a variable named SignalOut .
The actual filtering operation is performed using a pre-compiled function named FIR()
from the DSP library in the MPLAB C30 compiler. The DMCI utility in MPLAB REAL ICE
in-circuit emulator can be used to observe the filter input and output samples during run
time.
4.2
DEMONSTRATION HARDWARE SETUP
To use this demonstration, you will need the following hardware:
?
?
?
?
Thermal/Linear Intelligent Sensor PICtail Plus Daughter Board
Explorer 16 Development Board
dsPIC33FJ12GP202 Plug-In Module (MA330015)
PC running the following software:
- MPLAB IDE software, version 8.10 or higher
- MPLAB C30 compiler, version 3.01 or higher
? MPLAB REAL ICE in-circuit emulator
? Any signal source such as a function generator that can generate a bipolar sinu-
soidal signal with its mid-point at 0V. For example, a Model 3001 Portable Audio
Generator from BK Precision was used for testing the linear interface. The signal
should be sufficiently attenuated (e.g., -20 dB) so as not to cause signal clipping
or saturation.
Before programming or running the demonstration application, make the following
hardware connections:
1. Connect the signal from the function generator (or other signal source) between
the positive and negative test points on the Linear Signal Connector J3 of the
Daughter Board.
2. Set up the function generator to generate a 3200 Hz sinusoidal signal. Adjust the
amplitude as needed.
3. On the Daughter Board, make sure the JP2 jumper is set to the 1-2 position (i.e.,
include the level shifter circuit in the signal path). Pin 1 of the jumper is indicated
by an arrow adjacent to the pin.
4. Insert the Daughter Board into the J5 socket of the Explorer 16 Development
Board.
5. On the Explorer 16 Development Board, insert a dsPIC33FJ12GP202 PIM.
6. On the Explorer 16 Development Board, make sure the switch S2 is set to the
PIM position and the jumper J7 is set to the PIC24 position.
7. Connect the Explorer 16 Development Board to the MPLAB REAL ICE in-circuit
emulator using an RJ-11 cable, and connect the MPLAB REAL ICE in-circuit
emulator to the PC using a USB cable.
8. Connect a 9V power supply to the Explorer 16 Development Board.
DS70574A-page 24
? 2008 Microchip Technology Inc.
相关PDF资料
AC323027 BOARD EVAL PIC32 CAP TOUCH CTMU
ACCRFBOUTON29JF BLACK COMMAND KNOB
ACJ2212 RELAY AUTOMOTIVE SPDT 20A 12V
ACNH3212 RELAY AUTOMOTIVE SPST 30A 12V
ACNM5112SAX RELAY AUTO SPDT 30A 12V
ACT212 RELAY AUTOMOTIVE SPDT 20A 12V
ACV33224 RELAY AUTOMOTIVE SPST 20A 24V
ACW212 RELAY AUTOMOTIVE DPST 45A 12V
相关代理商/技术参数
AC164136 功能描述:开发板和工具包 - PIC / DSPIC ZeroG 802.11 Dev Kt for Explorer 16 RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
AC164136-2 功能描述:开发板和工具包 - 无线 ZeroG Wi-Fi PICtail Daughter Board RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:AT32UC3L 核心:AVR32 频率: 接口类型:USB 工作电源电压:5 V
AC164136-4 功能描述:射频开发工具 MRF24WB0MA Wi-Fi PICtail+ Daughter Bd RoHS:否 制造商:Taiyo Yuden 产品:Wireless Modules 类型:Wireless Audio 工具用于评估:WYSAAVDX7 频率: 工作电源电压:3.4 V to 5.5 V
AC164137-1 功能描述:子卡和OEM板 434MHz Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164137-1 制造商:Microchip Technology Inc 功能描述:MRF49XA PICtail/PICtail Plus Daughter Bo
AC164137-2 功能描述:子卡和OEM板 868/915MHz Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164137-2 制造商:Microchip Technology Inc 功能描述:MRF49XA PICtail/PICtail Plus Daughter Bo
AC164138-1 功能描述:子卡和OEM板 MRF89XAM8A PICtail PICtail + Daught Brd RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit