Digilent chipKIT Basic I/O Shield 참조 매뉴얼 - 페이지 7
{카테고리_이름} Digilent chipKIT Basic I/O Shield에 대한 참조 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Digilent chipKIT Basic I/O Shield 14 페이지.
chipKIT™ Basic I/O Shield™ Reference Manual
For details on the 24LC256, see the data sheet at www.microchip.com.
Temperature Sensor: A digital temperature sensor is provided using a Microchip TCN75A 2-Wire Serial
2
Temperature Sensor. The temperature sensor, IC2, is an I
C device, and is located in the lower right corner of the
shield.
The TCN75A is rated for an accuracy of +/-1ºC and has selectable resolution from 0.5ºC down to 0.0625ºC. The 7-
bit device address is '1001000'.
Digilent has a library for using the temperature sensor. It is contained in document # DSD-0000311 (chipKIT
IOShield Library.zip) which can be downloaded from the Basic I/O Shield product page at www.digilentinc.com. The
temperature sensor library is IOShieldTemp.
The TCN75A provides an alert output that can be programmed for various functions. This output can be accessed
using JP4, which is adjacent to IC2.
For complete technical documentation on the TCN75A, see the data sheet available at www.microchip.com.
2.5
Potentiometer
A potentiometer (pot) is provided on the shield for use as an analog signal source or analog control input. The pot
is a 10K-ohm trimmer pot connected between the VCC3V3 supply and ground. The wiper of the pot is connected to
analog input A0.
The pot is read using the analogRead function.
Copyright Digilent, Inc. All rights reserved.
Page 7 of 13
Other product and company names mentioned may be trademarks of their respective owners.