PIC12F510-I/MS Microchip Technology, PIC12F510-I/MS Datasheet - Page 3

IC PIC MCU FLASH 1KX14 8MSOP

PIC12F510-I/MS

Manufacturer Part Number
PIC12F510-I/MS
Description
IC PIC MCU FLASH 1KX14 8MSOP
Manufacturer
Microchip Technology
Series
PIC® 12Fr
Datasheets

Specifications of PIC12F510-I/MS

Core Size
8-Bit
Program Memory Size
1.5KB (1K x 12)
Core Processor
PIC
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
FLASH
Ram Size
38 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Controller Family/series
PIC12
No. Of I/o's
6
Ram Memory Size
38Byte
Cpu Speed
8MHz
No. Of Timers
1
Processor Series
PIC12F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
38 B
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164101, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 3 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14PAC164325 - MODULE SKT FOR 8MSOP
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F510-I/MS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
3. Module: Analog-to-Digital Converter
4. Module: Analog-to-Digital Converter
EXAMPLE 9-1:
© 2009 Microchip Technology Inc.
;Sample code operates out of BANK0
loop0
loop1
loop2
Section 9.1.5 “Sleep”, bullets should read as
follows (changes in bold).
• For accurate conversions, T
• 2 μs ≤ T
• T
Work around
None.
Examples 9-1 and 9-2 changes shown in bold
below.
following:
AD
MOVLW 0xF1
MOVWF ADCON0
BSF ADCON0, 1
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop0
MOVF ADRES, W
MOVWF result0
BSF ADCON0, 2
BSF ADCON0, 1
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop1
MOVF ADRES, W
MOVWF result1
BSF ADCON0, 3
BCF ADCON0, 2
BSF ADCON0, 1
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop2
MOVF ADRES, W
MOVWF result2
= 1/(F
AD
(ADC)
(ADC)
OSC
< 125 μs
/divisor)
PERFORMING AN
ANALOG-TO-DIGITAL
CONVERSION
;configure A/D
;start conversion
;read result
;save result
;setup for read of
;channel 1
;start conversion
;read result
;save result
;setup for read of
;channel 2
;start conversion
;read result
;save result
AD
must meet the
EXAMPLE 9-2:
loop0
loop1
loop2
Work around
None.
MOVLW 0xF1
MOVWF ADCON0
BSF ADCON0, 1
BSF ADCON0, 2
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop0
MOVF ADRES, W
MOVWF result0
BSF ADCON0, 1
BSF ADCON0, 3
BCF ADCON0, 2
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop1
MOVF ADRES, W
MOVWF result1
BSF ADCON0, 1
NOP
BTFSC ADCON0, 1;wait for ‘DONE’
GOTO loop2
MOVF ADRES, W
MOVWF result2
CLRF ADCON0
;pins to Digital mode and turns off
;the ADC module
CHANNEL SELECTION
CHANGE DURING
CONVERSION
PIC12F510
;configure A/D
;start conversion
;setup for read of
;channel 1
;read result
;save result
;start conversion
;setup for read of
;channel 2
;read result
;save result
;start conversion
;read result
;save result
;optional: returns
DS80268F-page 3

Related parts for PIC12F510-I/MS