F1 EVALUATION PLATFORM
USER ’S GUIDE
Chapter 4. Demo Code
4.1
INTRODUCTION
The F1 Evaluation Platform demos are located at www.microchip.com/F1Eval . The
following demos are available:
1.
2.
3.
4.
I 2 C? Demo
LCD Demo
BLDC Demo
Combined Demo
This chapter provides an overview to the functions provided by these demos.
4.2
4.3
4.4
4.5
I 2 C? DEMO
The I 2 C demo reads the current temperature from the on-board MCP9800 I 2 C
temperature sensor. The I 2 C driver is used to extract the data. The resulting value is
converted to a PWM duty cycles and used to control the brightness of the LED D4. LED
D1 toggles at approximately 10 ms.
LCD DEMO
The LCD demo adds button, potentiometer, Real-Time Clock (RTC) and LCD support
to the I 2 C demo. The 32.768 kHz crystal is activated to maintain the Real-Time Clock
and to drive the LCD peripheral. An input driver is supplied to manage the button and
potentiometer. A state machine now controls the major features of the demo so that the
time, temperature and potentiometer value can be displayed on the LCD.
BLDC DEMO
The BLDC demo controls a sensorless, brushless DC motor connected to the PIC16F1
BLDC Expansion board (DM164130-2). Other motors can also be driven by making
appropriate modifications to the motor control parameters in the source code.
COMBINED DEMO
The combined demo combines all the software from all the previous demos to show the
power of the PIC16LF1937. In this demo, the BLDC motor is seamlessly controlled
while displaying the time, temperature, potentiometer position or motor RPM/10. All
drivers are reused from the previous demos. The RTCC is driven from the LCD
peripheral.
The combined demo is preprogrammed in the F1 Evaluation Platform.
? 2009 Microchip Technology Inc.
DS41401A-page 19
相关PDF资料
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
DVA1004 DEVICE ADAPTER 8/14/20DIP
E3R-D12GP-P RELAY RCVR PLUG-IN DIMMER
E3R-R12-3HOTP RCVR 3WIRE RELAY 120V
E3R-R12GP RCVR PLUG-IN RELAY
E3T-MICFP-40 CONVERTER 4-CH SLT SENSOR
E3T-R12-2INTP TRANSMITTER SWITCH LEG 120V
相关代理商/技术参数
DV164132 制造商:Microchip Technology Inc 功能描述:PIC12F1xxx/PIC16F1xxx F1 Evaluation Kit
DV164133 功能描述:电源管理IC开发工具 Energy Harvesting Development Tool RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
DV164136 功能描述:开发板和工具包 - PIC / DSPIC PIC18F DEV Kit (with PICkit 3) RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164139 功能描述:开发板和工具包 - PIC / DSPIC Lo PIn Count USB Dev Kit (w/PICkit 3) RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV17K3225T 制造商:SEI Stackpole Electronics Inc 功能描述:- Tape and Reel 制造商:SEI Stackpole Electronics Inc 功能描述:Var MOV 17VAC/22VDC 100A 27V 3225 SMD T/R
DV17K4032T 制造商:SEI Stackpole Electronics Inc 功能描述:VAR 17VAC 22VDC 250A 27V 4032 SMD - Tape and Reel 制造商:SEI Stackpole Electronics Inc 功能描述:Var MOV 17VAC/22VDC 250A 27V 4032 SMD T/R
DV18-145MB-3K 功能描述:端子 PIN -DSC 22-18 145X032 VYL RED RoHS:否 制造商:AVX 产品:Junction Box - Wire to Wire 系列:9826 线规:26-18 接线柱/接头大小: 绝缘: 颜色:Red 型式:Female 触点电镀:Tin over Nickel 触点材料:Beryllium Copper, Phosphor Bronze 端接类型:Crimp
DV18-145M-C 功能描述:端子 MALE BLADE ADAPT RoHS:否 制造商:AVX 产品:Junction Box - Wire to Wire 系列:9826 线规:26-18 接线柱/接头大小: 绝缘: 颜色:Red 型式:Female 触点电镀:Tin over Nickel 触点材料:Beryllium Copper, Phosphor Bronze 端接类型:Crimp