F1 Evaluation Platform User’s Guide
2.7.4
LCD Display
The time, temperature, pot position and motor speed are displayed on the LCD. The
LCD is a 3.5-digit multimeter display with icons for amps, volts, ohms, etc. The display
uses 4 commons and 10 segment drives. The Timer1 oscillator is used to clock the
display peripheral and allow the display to show a picture even in Sleep. The LCD
peripheral was configured for a Type B waveform for this demo. This mode provides an
interrupt when the LCD can be updated. This interrupt is not required for Type A
waveforms, but the extra complexity of the interrupt allows the LCD peripheral to be
used to provide the real-time clock periodic interrupt. The different waveform types are
described in section 21.9 of the PIC16LF193X data sheet (DS41364). Normally, the
Timer1 counter would be used, but this timer is required for the BLDC software.
Because the LCD is clocked from the 32.768 kHz crystal, the LCDIF operates at a
multiple of the crystal frequency, providing a very accurate time base for the real-time
clock.
2.7.5
User Interface
Due to the extreme simplicity of this board, only a single button and a single pot are
available for user input. These two elements allow the user to cycle through the display
elements, change the motor speed and change the time.
Pressing and releasing the button cycles through the 4 display modes:
1. Time
2. Temperature
3. Pot ADC value
4. RPM
Turning the pot will change the motor speed or set the time.
If the display is showing the time, and the button is held down for 3 seconds, turning
the pot clockwise will increase the time, and counter clockwise will decrease the time.
Placing the pot in the center of the range will leave the time unchanged. A feature that
could be added as a simple programming exercise would be to allow the time change
to be faster or slower depending upon pot position.
DS41401A-page 16
? 2009 Microchip Technology Inc.
相关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