2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Capacitive Touch Sensing Using CTMU

Size: px
Start display at page:

Download "2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Capacitive Touch Sensing Using CTMU"

Transcription

1 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Capacitive Touch Sensing Using CTMU

2 1337 CTMU Class Objectives When you complete this class you will: Be familiar with the CTMU module Use the CTMU for capacitive touch applications Use tools to tune/optimize CTMU capacitive touch applications Use software techniques used for capacitive touch sensing Understand how to use the CTMU for time measurement and other applications 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 2

3 Agenda: 1337 Cap Touch - CTMU Introduction to the CTMU Module Lab 1 Setting up the CTMU for Cap Touch Software to Implement Cap Touch Lab 2 Reading a Cap Touch Button Other Uses for CTMU (Theory & Applications) Advanced Cap Touch Topics Lab 3 Matrix Keypad Implementation Tools for Cap Touch Application Tuning Lab 4 Setting up the mtouch GUI to tune buttons How Materials Properties Affect Cap Touch Lab 5 Use of Different Overlays and Re-tuning the Application Summary 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 3

4 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 4 What is the CTMU? Charge Time Measurement Unit

5 CTMU Block Diagram CTMUCON CTMUICON External Edge Trigger Pins Current Source Timer1 OC1 Edge Control Logic A/D Converter Current Control Comparator 2 Input CTMU Control Logic Pulse Generation Logic A/D Conversion Trigger Comparator 2 Output Pulse Output Pin 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 5

6 CTMU Current Source Current Source Trimmable current source Range : 0.55 ua, 5.5 ua and 55 ua Trigger Starts/Stops Current Source Discharge CTMU To A/D Converter Current Source charges: Capacitive Touch circuitry A/D Converter Cap 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 6

7 CTMU Interface with ADC PIC MCU A/D PIC MCU A/D with CTMU Sensor 0 Current Source A/D Conversion Trigger CTMU C A/D Sensor 15 A/D Converter 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 7

8 Uses for the CTMU Capacitance Measurement (Relative) Capacitive Touch Stud Finder Capacitance Measurement (Absolute) Humidity Sensor Capacitance Meter Resistance Measurement Sensors Inductance Measurement Inductive Touch Time Measurement TDR Cable Length Measurement Flow Measurement Temperature Measurement Thermostat 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 8

9 Parts with CTMU Part Family Architecture No. Ch XLP? USB Pin Count Flash (kbytes) PIC18F87J90 8-bit 12 No No 64, PIC18F 46J11 8-bit 13 Yes No 28, PIC18F 46J50 8-bit 13 Yes Yes 28, PIC24FJ256GA1 16-bit 16 No No 64, 80, ,128,192,256 PIC24FJ256GB1 16-bit 16 No Yes 64, 80, ,128,192,256 PIC24FJ64GA1 16-bit 12 No No 28, 44 32, 64 PIC24FJ64GB bit 12 Yes Yes 28, PIC24F16KA bit 7, 9 Yes No 14, 20, 28 4, 8, 16 More to follow in PIC24F and PIC18F families 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 9

10 Microchip Cap Touch mtouch Sensing Solutions use two methods: Frequency Measurement (Relaxation Oscillator) Touch sensor is the C in an RC oscillator Voltage Measurement (Charge Time Measurement) Capacitor is charged for a fixed time and the voltage is measured. VCap Vout VCs Frequency Measurement Voltage Measurement 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 10

11 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 11 How is the CTMU used for Capacitive Touch?

12 How Does it Work? Theory of operation: Introduction of finger produces a parallel capacitance CF CP 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 12

13 EE101 basics: How CTMU Works for Capacitive Touch Instantaneous Current in a capacitor i = C dv/dt If i = constant current, then I = C V/t I t = C V If I and t are held constant, as C increases, V must decrease 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 13

14 CTMU Touch Circuit Components I = C V t Trigger Current Source C P = C AD + C CIR + C SW = 30pF C F = 7pF Discharge CTMU V AD C F C SW C CIR C AD A/D Converter 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 14

15 Sample Calculations I = C V t I t C = V When un-touched I = 5.5µA t = 10µS C P = 30pF V = When touched I = 5.5µA t = 10µS C = C P + C F = 37pF V = C P = C AD + C CIR + C SW = 30pF C F = 7pF 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 15

16 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 16 Lab 1: Setting up the CTMU for Cap Touch

17 Lab 1a Objective Gain a basic understanding of the CTMU control registers (CTMUCON & CTMUICON) Be able to set up the CTMU for cap touch 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 17

18 Lab 1a Instructions Part 1a: Find the CTMU setup in the initialization routine: Set Registers CTMUCON and CTMUICON for Capacitive Touch sensing Use PIC24FJ256GB110 Family Data Sheet for CTMU register details Actual Part we are using is PIC24FJ128GB Microchip Technology Incorporated. All Rights Reserved CTMU Slide 18

19 PIC24FJ256GB110 Data Sheet 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 19

20 Lab 1a Tips Use the highest current setting for the CTMU (55 ua) Make sure the current source is OFF Enable the CTMU last in init routine 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 20

21 Lab 1a Result Compile, Program, and Run the project An LED should light when the 8 key is touched 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 21

22 Lab 1a Solution //setup CTMU //CTMUCON CTMUCONbits.CTMUEN = 0; //make sure CTMU is disabled CTMUCONbits.CTMUSIDL = 0; //CTMU continues to run in idle mode CTMUCONbits.TGEN = CTMUCONbits.EDGEN = 0; 0; //disable edge delay generation mode //edges are blocked CTMUCONbits.EDGSEQEN = 0; //edge sequence not needed CTMUCONbits.IDISSEN = 0; //Do not ground the current source CTMUCONbits.CTTRIG = 0; //Trigger Output is disabled CTMUCONbits.EDG2POL = 0; //N/A since edges are blocked CTMUCONbits.EDG2SEL = 0x3; //Edge2 Src = OC1 (also N/A) CTMUCONbits.EDG1POL = 1; //N/A since edges are blocked CTMUCONbits.EDG1SEL = 0x3; //Edge1 Src = Timer1 (also N/A) //CTMUICON CTMUICON = 0x300; //55uA //or // CTMUICONbits.IRNG = 0x03; //55uA //optional CTMUICONbits.ITRIM = 0; //Nominal - No Adjustment 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 22

23 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 23 Lab 1b: What does it Look Like?

24 Lab 1b Objective Observe the CTMU charging of a Capacitive Touch Button See a difference in the CTMU charging waveform when a finger is touching the button 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 24

25 CTMU Full Waveform End Charge A/D Conversion Discharge Begin Charge 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 25

26 CTMU Waveforms Untouched & Touched Not Touched Touched 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 26

27 Lab 1b Summary A touch is visible on the oscilloscope The CTMU current source charges the cap touch button in a very linear manner Leakage of the cap touch circuit can also be observed on the oscilloscope 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 27

28 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 28 Lab 2: Reading a Cap Touch Button

29 Lab 2 Objective Perform the 5 basic steps to read a CTMU cap touch button: 1. Discharge Circuit to ensure a start from 0 Volts (this has been done) 2. Turn on Current Source to charge touch circuit 3. Wait for a fixed time period (2 us for this hardware) 4. Turn off Current Source to stop charging touch circuit 5. Perform A/D conversion to read voltage present on touch circuit 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 29

30 Lab 2 General Information: Project Files Open Lab2 C:\MASTERS\1337\Lab2 8KeyBoard.c CTMUcapsense.c Timer4.c 8KeyBoard.h CTMUcapsense.h Timer4.h 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 30

31 Lab 2 General Information: Main() Routine Start Initialization Timer 4 Sets this variable New Data to process? Y Stop Timer 4 Insures no interrupt while processing new data N Service USB Process New Cap Touch Data Lab 2 code here Service other application tasks Start Timer Microchip Technology Incorporated. All Rights Reserved CTMU Slide 31

32 Lab 2 General Information: Timer 4 ISR Setup in Init Timer 4 Interrupt (1 ms) Lab 2 Code Process CTMU Channel Flag is read by main routine Check for all CTMU Channels read All Channels Read? Y Reset Channel # Set Flag to process new data N Get ready for next interrupt Increment Channel to read Exit ISR 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 32

33 Lab 2 General Information: Application Software Design The main program loop processes the Cap Touch data after all of the channels have been scanned Timer 4 is used to read a CTMU channel on a 1 ms interval 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 33

34 Lab 2 Notes Use MPLAB IDE breakpoints to look at cap touch values Add these variables to the watch window: currawdata[] tripvalue[] AverageData[] Tips Read cap touch buttons multiple times for better reliability and noise rejection The slow averaging of the cap touch button values allows environmental changes to be nulled out of the cap touch buttons The cap touch button trip point can be adjusted to allow for higher or lower sensitivity 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 34

35 Lab 2 Results Compile, Program, and Run the project When any of the 8 keys are touched, a corresponding LED should light 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 35

36 Lab 2 Solution #define loopcount 5 CTMUCONbits.EDG1STAT = 0; // Clear edge1 CTMUCONbits.EDG2STAT = 0; // Clear edge2 AD1CON1bits.SAMP = 1; // Manually start ADC sampling ////////////////////////////////////////////////////////////////////////////////////////// CTMUCONbits.EDG1STAT = 1; // 2. Set edge1 - Start Charge // for (zvar = 0; zvar < loopcount; zvar++); // 3. Delay for CTMU charge time // CTMUCONbits.EDG1STAT = 0; // 4. Clear edge1 - Stop Charge // IFS0bits.AD1IF = 0; AD1CON1bits.SAMP = 0; //5. manually initiate an ADC conversion // while(!ifs0bits.ad1if); // Wait for the A/D conversion to finish /////////////////////////////////////////////////////////////////////////////////////// immediatevalue = ADC1BUF0; // Read value from the A/D conversion 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 36

37 Lab 2 Questions??? Why use the highest current setting? Charges the Cap Touch Circuit the fastest Insures that PC board capacitor leakage is overcome 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 37

38 Lab 2 Questions??? Why does the voltage vary from button to button? Button distance from microcontroller Button shape Proximity to other buttons and board traces 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 38

39 Lab 2 Questions??? What is the response time of the cap touch buttons? Timer 4 reads 1 cap touch channel every 1 msec 16 channels are read 1msec x 16channels = 16 msec response time 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 39

40 Lab 2 summary Charging of cap touch buttons is dependant on the amount of time the CTMU current source is enabled Reading of multiple cap touch buttons is easy; simply change the channel selected by the A/D converter and repeat the routine 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 40

41 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 41 Software Design Key Points

42 Averaging Algorithm Why is it needed? A cap touch button reading varies due to environmental changes The Slow Average Routine accounts for these variances 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 42

43 Capacitance in Real World Count 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 43

44 Firmware Algorithm Averaging Compare latest measured value with slow moving average Automatically adjust for environmental changes Can also be guarded average Trip level is relative to moving average Other functions implemented the same as normal buttons: Debouncing Touch and release Etc. Counts Sensor Touched Floating Trip level Time Sensor Released Floating Released level Absolute Average 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 44

45 Button Detection Challenges Normal Button Detection React on button press React on button release Humidity/Temp variation Slow Average and detection level moves with change Counts Dirt/Sudden change Average Absolute Trip Time Counts Average Absolute Trip Time Power up with hand on sensor Average adjusts to prevent stuck button Adjust Average to new counts rate Counts Average Absolute Trip Time Counts Average Absolute Trip Time 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 45

46 Software Tips & Tricks for Better Cap Touch Reliability Use a software debounce routine Use a dynamic calculation of the cap touch button trip point Set all buttons as I/O pins (output, 0 value) except for the button being currently read Shift the 10-bit A/D value to a 16-bit value Freeze calculation of slow average when a button press is detected Reset the slow average value to the current value when a button release is detected 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 46

47 Software Tips & Tricks #1 Use a software debounce routine Start A Read Sensor Unpressed_Count = 0 Y Sensor Reading Pressed? N Pressed_Count = 0 Pressed_Count > = 3? N Y Pressed Unpressed_Count > = 3? N Y Unpressed Pressed_Count++ Unpressed_Count++ A 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 47

48 Software Tips & Tricks #2 As Environment changes the un-pressed value of the cap touch button, the trip value is a bigger/smaller percentage of the value read Example: 1. First Condition Initial un-pressed value = 500 Assume fixed Trip value = 100 Required shift for press = 20% 2. Second Condition Initial un-pressed value = 250 Same fixed Trip value = 100 Required shift for press = 40% Condition 1 Condition 2 Unpressed Trigger % Change Req'd 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 48

49 Software Tips & Tricks #3 Re-calculate the Trip point values when the slow average is updated Use a fixed value for the trip point divisor: 1. First Condition (use 5 as a divisor) Initial un-pressed value = 500 Trip value = 500/5 (100) Required shift for press = 20% 2. Second Condition (again, use 5 as a divisor) Initial un-pressed value = 250 Trip value = 250/5 (50) Required shift for press = 20% Condition 1 Condition 2 Unpressed Trigger % Change Req'd 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 49

50 Software Tips & Tricks #4 Setting all adjacent cap touch buttons to ground potential minimizes the amount of stray capacitance and stabilizes the reading of the cap touch button. Set ADC pin configuration to all digital except channel being read Set TRIS bits for all channels except current channel to output pins Drive the outputs low, which effectively grounds the cap touch button 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 50

51 Software Tips & Tricks #5 Shifting to a 16-bit value helps with the accuracy of the slow moving average Example: Use 5 values for the average (10-bit) 807, 820, 761, 779, 794 (Avg = 792) Use 5 shifted values (16-bit) 51648, 52480, 48704, 49856, (Avg = 50701) This allows better accuracy without having to use floating point math 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 51

52 Software Tips & Tricks #6 Use for button functions that require a long hold time Code Example: if(avg_delay[index] == NUM_AVG) { if(buttonstate[index] ==PRESSED) { // Skip average calculation. } } * This is also known as a gated average 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 52

53 Software Tips & Tricks #7 Allows better response when a button is released Allows for better performance for repetitive button presses Example: if (currawdata[index] > averagedata[index]) { averagedata[index] = currawdata[index]; // If currawdata is above Average, reset to high average. } * This is the second half of the gated averaging method 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 53

54 What Else Can the CTMU do? 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 54

55 CTMU What Else Can the CTMU Do? Time Measurement Capacitive Measurement Temperature Measurement Inductive Measurement DAC Applications PWM / Pulse Delay Applications 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 55

56 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Time Measurement Using CTMU

57 Time Measurement - CTMU Typical Applications Time Domain Reflectometry (TDR) Distance Measurement (laser or RF) Adaptive Cruise Control Safety Braking 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 57

58 Time Measurement - CTMU Back to CTMU basics I = C(dV/dT) or EQ 1 dt = (C/I)dV Integrate EQ 2 If I and C are constants, then after integration T = (C/I)V + K EQ 3 In General K will be 0 So T is proportional to V 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 58

59 Time Measurement - CTMU 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 59

60 Time Measurement - CTMU Video Demonstration 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 60

61 Time Measurement - CTMU Resolution Calculations Assume I = 55uA C = C ADC + C PAD + C PIN + C STRAY = 15pF If VDD = 3.0V then V = 3/1024 = 2.93mV T = (15pF/55uA) * 2.93mV = 0.799nS 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 61

62 Calibration Time Measurement - CTMU Assume 0.01% Crystal Using Software create two precision times Set CTED1, Set CTED2 (time 1) Set CTED1, Nop, Nop, Set CTED2(time2) Use these two times to calculate the values for C/I and K in Eq 3 No need to find exact values for C and I 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 62

63 Time Measurement - CTMU Tips for Increasing Resolution Use an external VREF of 2.5V T = (15pF/55uA) * (2.5/1024) =.666nS Use an External High Resolution ADC Use an external 16 bit ADC Assume capacitance is doubled to 30pF T = (30pF/55uA) * (3.0/65536) = 24.9pS 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 63

64 Time Measurement - CTMU ANx 16 BIT ADC PIC24F or PIC18F With CTMU Processor Interface PORTx.[7:0] Microchip Technology Incorporated. All Rights Reserved CTMU Slide 64

65 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Capacitance Measurement Using CTMU

66 Capacitance Measurement - CTMU Typical Applications Test Equipment Capacitor Meter Humidity Measurement Capacitive Microphone 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 66

67 Capacitance Measurement - CTMU Back to CTMU basics I = C(dV/dT) or EQ 1 dt = (C/I)dV Integrate EQ 2 If I and C are constant during the reading C = (T*I)/V EQ Microchip Technology Incorporated. All Rights Reserved CTMU Slide 67

68 Capacitance Measurement - CTMU Calibration From EQ 3 C = C measure + C ADC + C PAD + C PIN + C STRAY For Calibration Let C measure = 0 C system = C ADC + C PAD + C PIN + C STRAY 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 68

69 Capacitance Measurement - CTMU Calibration Continued Method One Using Software create two precision times Set CTED1, Set CTED2 (time 1) Set CTED1, Nop, Nop, Set CTED2 (time2) Use these two times to calculate the values for C system, and I in Eq Microchip Technology Incorporated. All Rights Reserved CTMU Slide 69

70 Capacitance Measurement - CTMU Method Two Add Precision resistor to board Measure the current using resistor and ADC Measure C system 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 70

71 Capacitance Measurement - CTMU Resolution Assume: T = 500nS V = 1V I = 55uA C = (55uA*500nS)/1V = 27.5pF If Voltage Resolution is 3/1024 or 2.93mV Then 1 bit delta is C = (55ua*500ns)/ = 27.42pf Delta C = 0.08pF 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 71

72 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Temperature Measurement Using CTMU

73 Temperature Measurement - CTMU Typical Applications Thermostat control for homes Temperature monitoring of electronics Low cost medical thermometers 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 73

74 Temperature Measurement - CTMU Basic Diode Equation I = I 0 (e (qv/kt) -1) EQ 1 I/I 0 +1 = e (qv/kt) EQ 2 Ln(I/I 0 +1) = qv/kt EQ 3 Ln(I/I 0 +1) = B EQ 4 T = qv/kb EQ 5 So Temperature T is proportional to V voltage across the diode. This relationship shown in the following graph 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 74

75 Temperature Measurement - CTMU Temperature measurement 1N4007 1N4148 1N914 LED-D22 2N3904(NPN) LED-D27 2N3906(PNP) 2 1N ADC count (x256) Temperature 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 75

76 Temperature Measurement - CTMU Making a measurement Select ADC channel that diode is attached to Enable CTMU Set EDGESTAT1 Wait for settling time Read ADC Calculate Temperature 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 76

77 Temperature Measurement - CTMU Calibration From graphs we have a linear relation between T and V Take voltage measurements at two temperatures Calculate gain and offset 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 77

78 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Inductance Measurement Using CTMU

79 Inductance Measurement - CTMU CTED1 V DD step Function PIC24F or PIC18F with CTMU CTED2 V 0 Response V o T 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 79

80 Inductance Measurement - CTMU Inductor Equations I = V DD /R(1 e (-TR/L) ) EQ 1 V 0 = V DD (1 - e (-TR/L) ) Where V 0 = IR EQ V 0 / V DD = e (-TR/L) EQ 3 -TR/L = B Where B=Ln(1 - V 0 / V DD ) EQ 4 L = -TR/B EQ 5 Note the linear relationship between T and L 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 80

81 Inductance Measurement - CTMU Resolution Calculations Assume: R = 1K V 0 = 1V V DD = 3V T = 500nS L = (-1000/-.405)*500nS = 1.233mH For a delta of 0.8ns L = (-1000/-.405)*500.8nS = 1.235mH Resolution is 2uH 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 81

82 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU Digital to Analog Converter Using CTMU

83 DAC using - CTMU AN0 Sample And Hold DAC OUT PIC24 or PIC18 with CTMU SAMPLE/HOLD PORT I/O Pin 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 83

84 DAC Software Setup DAC using - CTMU Determine desired full scale Time and Voltage Adjust current source to achieve full scale voltage at full scale time Implementation Discharge AN0 Pin Charge AN0 for time T where T = T FULLSCALE * Vout / V FULLSCALE Sample AN0 With Sample and hold Hold Voltage 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 84

85 DAC Resolution Assumptions: DAC using - CTMU Full scale voltage is 2V Full scale time is 62.5ns *2 16 or 4.096ms Therefore: dv/dt = 2/4.096mS (or.488uv/ns) Since the minimum time step is 62.5nS resolution is.488uv*62.5 or 30.5uv 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 85

86 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide CTMU PWM / Pulse Delay Using CTMU

87 PWM / Pulse Delay - CTMU Typical Applications Blanking pulse for radar / sonar systems High frequency PWM Precision edge delay for test equipment 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 87

88 PWM / Pulse Delay CTMU Hardware Setup CTPLS Pulse Output Pulse Input CTED1 CTMU Comparator Input Current Source Comparator Out _ + CV Ref C DELAY 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 88

89 PWM / Pulse Delay - CTMU INPUTS CTED1 Comparator In OUTPUTS CTPLS CTMU Current Source 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 89

90 PWM / Pulse Delay - CTMU Setting up PWM/Pulse delay Set TMGENEN bit = 1 Determine Ramp voltage at maximum delay Adjust CTMU current source to reach Max Ramp Voltage at Max time Program DAC for desired time delay V DAC = T/T MAX 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 90

91 PWM / Pulse Delay - CTMU EDGE Resolution Assume: Full scale voltage of 2V dv/dt 2V/uS With a 10 bit DAC minimum dv is 2/1024 or 1.95mV Therefore minimum dt is (1.95mV/2V)uS or.977ns 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 91

92 Summary of using the CTMU Time Measurement Use CTED1 & CTED2 to start and stop CTMU current source Time is represented by the voltage read by the ADC Temperature measurement Single Diode only hardware needed Basic Diode equation used; Temperature is proportional to voltage Capacitance Measurement Use processor instruction cycle time as a fixed quantity Capacitance is represented by the voltage read by the ADC PWM / Pulse Delay Use Internal Comparator / Internal Reference Voltage Delay Time is set by the C DELAY connected to comparator input 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 92

93 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 93 Advanced Cap Touch Matrix Keys and Sliders

94 Paired Channel Method Expands 4 buttons to 10 1, 3, 7, & 9 are whole buttons 2, 4, 5, 6, 8, & 0 are paired channel buttons Paired press only produces ½ the capacitance shift Requires scan of all buttons for a valid decode Can not differentiate two buttons pressed from a paired press 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 94

95 Matrix Channels A grid of a rows by b columns requires (a + b) channels, but implements (a x b) buttons Software determines button press after scanning all rows and columns Requires high speed scan (esp. for larger matrix) R1 R2 R3 C1 C2 C3 C4 Q: What is the best optimization of sensor channels for a matrix? A: An Equal Number of Rows and Columns 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 95

96 Slider Requires 2 Channels Basic Equations: Right Sensor % = 100 x (R/(L+R)) Left Sensor % = 100 x (1-(L/(L+R))) Where L and R are the Delta from an unpressed sensor Triangular Copper Pads on PC Board 100% PIC MCU Count 0% Left Sensor Raw Value Right Sensor Raw Value 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 96

97 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 97 Lab 3: Matrix Keys Implementation

98 Lab 3 Objective Be able to create an algorithm to decode a key pad created using a matrix of cap touch buttons Take action upon cap touch button presses Understand basic advantages and limitations of using matrix cap touch buttons 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 98

99 Lab 3 General Information 7 Channels 3 Rows x 4 Columns Read all 7 channels normally Decode the row and column; display the depressed key Located in MatrixDecode() function in CTMUcapsense.c 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 99

100 Lab 3 Tips Use channels 8 14 for the matrix keypad Adjust trip points. Capacitance shift will be lower for 2 reasons: 1. Either 3 or 4 cap touch pads connected together 2. Your finger is only touching ½ of a normal cap touch button Use LED1 LED12 macros to display the keys LED1 = ON or LED1 = 1 LED1 = OFF or LED1 = Microchip Technology Incorporated. All Rights Reserved CTMU Slide 100

101 Lab 3 Questions? Could Multiple button presses be detected? Which tips & tricks can be used to improve reliability of the matrix keypad? How could you limit the key selection to a single key? What would be the criteria for choosing the key? 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 101

102 Lab 3 Questions Multiple button detection possible but limited to Buttons must be on same row or column Software Algorithm must check for multiple combinations (i.e. if a row is pressed, each column must be checked for a press) Other combinations are not allowed Example: Button 1 (row 1 column 1) & Button 6 (row 2 column 2) ALSO produces Button 2 (row 2 column 1) & Button 5 (row 1 column 2) 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 102

103 Lab 3 Questions??? Which tips & tricks can be used to improve reliability of the matrix keypad? Use a software debounce routine Use a dynamic calculation of the cap touch button trip point Set all buttons as I/O pins (output, 0 value) except for the button being currently read Shift the 10-bit A/D value to a 16-bit value Freeze calculation of slow average when a button press is detected Reset the slow average value to the current value when a button release is detected 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 103

104 Lab 3 Questions??? How could you limit the key selection to a single key? What would be the criteria for choosing the key? Use an algorithm to find the most pressed row and column Lock out any further presses until the currently selected button becomes unpressed 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 104

105 Lab 3 Solution // Is a keypad column/row pressed? if (currawdata[index] < (averagedata[index] - tripvalue[index])) { switch(index) { case 8: Col1 = 1; break; case 9: Col2 = 1; break; case 10: Col3 = 1; break; case 11: Col4 = 1; break; case 12: Row1 = 1; break; case 13: Row2 = 1; break; case 14: Row3 = 1; break; } else { } default: break; // If pressed criteria not reached, set to not pressed switch(index) { case 8: Col1 = 0; break; case 9: Col2 = 0; break; case 10: Col3 = 0; break; case 11: Col4 = 0; break; case 12: Row1 = 0; break; case 13: Row2 = 0; break; case 14: Row3 = 0; break; } } default: break; 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 105

106 Lab 3 Solution (cont d) //Decode the matrix buttons if(col1!= 0) //check column 1 { if(row1!= 0) { LED1 = ON; } if(row2!= 0) { LED5 = ON; } if(row3!= 0) { LED9 = ON; } } else { LED1 = OFF; Nop(); LED5 = OFF; Nop(); LED9 = OFF; } //repeat for columns 2,3, & Microchip Technology Incorporated. All Rights Reserved CTMU Slide 106

107 Lab 3 Summary The CTMU is well suited for matrix key arrangements because of its high speed Matrix keys maximize the number of available buttons, while minimizing required I/O Matrix keys have limitations Sensitivity is reduced from standard cap touch buttons Multiple button presses not able to be detected 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 107

108 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 108 Lab 4: Using the mtouch GUI

109 Lab 4 Objective Become familiar with using the mtouch GUI as a useful tuning tool for Capacitive Touch Applications 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 109

110 Lab 4 General Information Open Lab 4 Project in MPLAB IDE; compile load and run Open the mtouch GUI - Choose the PIC24F CTMU Eval Radio Button Choose the 8 Button Radio Button 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 110

111 Lab 4 Summary The mtouch GUI is a helpful tool for setting up and tuning cap touch applications The mtouch GUI has many features: Viewing of cap touch values Ability to adjust trip points on the target application Graphing of cap touch values Logging of cap touch values Ability to scale viewing for any cap touch button 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 111

112 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 112 Lab 5: Using Overlay Materials

113 Lab 5 Objective Discover how placing an overlay material on the cap touch button affects performance Learn how to adjust the cap touch application to compensate for the addition of the overlay 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 113

114 Lab 5 General Information Open, build, and run the Lab 5 project Launch the mtouch GUI Place the overlay on the 8 button daughter board 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 114

115 Lab 5 Summary Introduction of a covering material over a capacitive touch button greatly reduces its sensitivity Noise susceptibility is also increased Software techniques described earlier in this class are helpful in improving performance 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 115

116 1337 CTMU Summary Today we covered: The CTMU module and how to use it for: Capacitive Measurement Time Measurement Designing a Cap Touch Application: Setting up the CTMU for Cap Touch Software Algorithms Overlay Properties Using the mtouch GUI application as an application tuning aid 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 116

117 Other Related MASTERs Classes 1336 CTF Capacitive Touch Fundamentals Introductory Level Course Tom Perme Instructor 2 hour course 1338 TSM Touch Sensing Through Metal Inductive Touch Class Keith Curtis Instructor 2 hour course 1339 TSC Touch Screen Controllers Class covers: analog resistive, surface capacitive, and projected capacitive touch screen technologies Lance Lamont Instructor 2 hour course 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 117

118 mtouch Resources mtouch Sensing Solutions Design Center: Capacitive Sensors by Larry K. Baxter ISBN X AN1101 Basic Overview of operation Webinar online AN1102 Hardware and Layout of sensors Webinar online AN1103 Software Techniques for detecting buttons AN1104 How to get more buttons? AN1171 Using the CSM AN1202 Using PIC10F for Capacitive Touch AN1250 Microchip CTMU for Capacitive Touch Applications DS39724 CTMU Ref Manual 2009 Microchip Technology Incorporated. All Rights Reserved CTMU Slide 118

119 Available Resources PICDEM Touch Sense 1 Development Board PIC16F-based demo board DM PICDEM Touch Sense 2 Development Board PIC24F-based demo board DM Microchip Technology Incorporated. All Rights Reserved CTMU Slide 119

120 Available Resources mtouch Diagnostic GUI For customizing the Capacitive Touch Solution MPLAB Starter Kit for PIC24F PIC24F Based 5 Cap Touch Keys OLED Graphics Display DM Microchip Technology Incorporated. All Rights Reserved CTMU Slide 120

121 DM183026: Cap Touch Eval Kit PKSA 16F727 Matrix 255 pt 100 pt (N-1)*100 Buttons USB 24FJ128GB106 $USD Microchip Technology Incorporated. All Rights Reserved CTMU Slide 121

122 Trademarks The Microchip name and logo, the Microchip logo, dspic, KeeLoq, KeeLoq logo, MPLAB, PIC, PICmicro, PICSTART, rfpic and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dspicdem, dspicdem.net, dspicworks, dsspeak, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mtouch, nanowatt XLP, Omniscient Code Generation, PICC, PICC-18, PICkit, PICDEM, PICDEM.net, PICtail, PIC32 logo, REAL ICE, rflab, Select Mode, Total Endurance, TSHARC, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. 2009, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved Microchip Technology Incorporated. All Rights Reserved CTMU Slide 122

Overview of Charge Time Measurement Unit (CTMU)

Overview of Charge Time Measurement Unit (CTMU) Overview of Charge Time Measurement Unit (CTMU) 2008 Microchip Technology Incorporated. All Rights Reserved. An Overview of Charge Time Measurement Unit Slide 1 Welcome to the Overview of Charge Time Measurement

More information

Microchip mtouch Solution Microchip Technology Incorporated. All Rights Reserved. Insert Class Code Here

Microchip mtouch Solution Microchip Technology Incorporated. All Rights Reserved. Insert Class Code Here Microchip mtouch Solution Slide 1 Goal! Understanding advantage of Capacitive Sensor and applications Microchip mtouch Solution A principal of Capacitive Sensor CSM(Cap sensing Module) of PIC16F72x CVD(Cap

More information

The physics of capacitive touch technology

The physics of capacitive touch technology The physics of capacitive touch technology By Tom Perme Applications Engineer Microchip Technology Inc. Introduction Understanding the physics of capacitive touch technology makes it easier to choose the

More information

17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog

17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog 17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog 2013 Microchip Technology Incorporated. All Rights Reserved. 17082 AMP Slide 1 Agenda Audio Amplifier Specs. Class A/B/AB/D overview Op Amp

More information

AN1312. Deviations Sorting Algorithm for CSM Applications INTRODUCTION DESCRIPTION. The Second Concept Most Pressed Button

AN1312. Deviations Sorting Algorithm for CSM Applications INTRODUCTION DESCRIPTION. The Second Concept Most Pressed Button Deviations Sorting Algorithm for CSM Applications Author: INTRODUCTION The purpose of this algorithm is to create the means of developing capacitive sensing applications in systems affected by conducted

More information

AN1291. Low-Cost Shunt Power Meter using MCP3909 and PIC18F25K20 OVERVIEW HARDWARE DESCRIPTION

AN1291. Low-Cost Shunt Power Meter using MCP3909 and PIC18F25K20 OVERVIEW HARDWARE DESCRIPTION Low-Cost Shunt Power Meter using MCP3909 and PIC18F25K20 Author: OVERVIEW Iaroslav-Andrei Hapenciuc Microchip Technology Inc. This application note shows a single-phase energy meter solution using the

More information

LoRaWAN for Smart Cities Munich, May Jonathan Pearce Wireless Marketing Manager

LoRaWAN for Smart Cities Munich, May Jonathan Pearce Wireless Marketing Manager LoRaWAN for Smart Cities Munich, May 2015 Jonathan Pearce Wireless Marketing Manager www.lora-alliance.org 3 IoT Context by Range IoT is all encompassing, with ranges scaling from wearables to the wide-area

More information

Figure 1. C805193x/92x Capacitive Touch Sense Development Platform

Figure 1. C805193x/92x Capacitive Touch Sense Development Platform CAPACITIVE TOUCH SENSE SOLUTION RELEVANT DEVICES The concepts and example code in this application note are applicable to the following device families: C8051F30x, C8051F31x, C8051F320/1, C8051F33x, C8051F34x,

More information

PICDEM LCD 2 Demonstration Kit User s Guide

PICDEM LCD 2 Demonstration Kit User s Guide PICDEM LCD 2 Demonstration Kit User s Guide DS51662C Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular

More information

Charge Time Measurement Unit (CTMU) and CTMU Operation with Threshold Detect

Charge Time Measurement Unit (CTMU) and CTMU Operation with Threshold Detect Charge Time Measurement Unit (CTMU) and CTMU Operation with Threshold Detect HIGHLIGHTS This section of the manual contains the following major topics: 1.0 Introduction... 2 2.0 Register Maps... 4 3.0

More information

Liquid Crystal Display (LCD)

Liquid Crystal Display (LCD) Liquid Crystal Display (LCD) HIGHLIGHTS This section of the manual contains the following major topics: 1.0 Introduction... 2 2.0 LCD Registers... 3 3.0 LCD Segment Pins Configuration... 6 4.0 LCD Clock

More information

Configurable Logic Cell Tips n Tricks

Configurable Logic Cell Tips n Tricks Configurable Logic Cell Tips n Tricks Configurable Logic Cell (CLC) TIPS N TRICKS INTRODUCTION Microchip continues to provide innovative products that are smaller, faster, easier to use and more reliable.

More information

MTCH112. Dual Channel Proximity Touch Controller Product Brief FEATURES PACKAGE TYPE SOIC, DFN GENERAL DESCRIPTION 8-PIN SOIC, DFN DIAGRAM FOR MTCH112

MTCH112. Dual Channel Proximity Touch Controller Product Brief FEATURES PACKAGE TYPE SOIC, DFN GENERAL DESCRIPTION 8-PIN SOIC, DFN DIAGRAM FOR MTCH112 Dual Channel Proximity Touch Controller Product Brief FEATURES Capacitative Proximity Detection System: - High Signal to Noise Ratio (SNR) - Adjustable sensitivity - Noise Rejection Filters - Scanning

More information

Interfacing a MCP9700 Analog Output Temperature Sensor to a PICmicro Microcontroller. PICkit 1 Flash Starter Kit ADC V DD.

Interfacing a MCP9700 Analog Output Temperature Sensor to a PICmicro Microcontroller. PICkit 1 Flash Starter Kit ADC V DD. Interfacing a MCP9700 Analog Output Temperature Sensor to a PICmicro Microcontroller Author: INTRODUCTION Ezana Haile and Jim Lepkowski Microchip Technology Inc. Analog output silicon temperature sensors

More information

MCP3550/1/3. Low-Power, Single-Channel 22-Bit Delta-Sigma ADCs. Features. Description. Applications. Package Types: Block Diagram

MCP3550/1/3. Low-Power, Single-Channel 22-Bit Delta-Sigma ADCs. Features. Description. Applications. Package Types: Block Diagram Low-Power, Single-Channel -Bit Delta-Sigma ADCs Features -bit ADC in Small 8-pin MSOP Package with Automatic Internal Offset and Gain Calibration Low-Output Noise of.5 µv RMS with Effective Resolution

More information

New Peripherals Tips n Tricks

New Peripherals Tips n Tricks The Complementary Waveform Generator (CWG), Configurable Logic Cell (CLC), and the Numerically Controlled Oscillator (NCO) Peripherals TIPS N TRICKS INTRODUCTION Microchip continues to provide innovative

More information

AN1476. Combining the CLC and NCO to Implement a High Resolution PWM BACKGROUND INTRODUCTION EQUATION 2: EQUATION 1: EQUATION 3:

AN1476. Combining the CLC and NCO to Implement a High Resolution PWM BACKGROUND INTRODUCTION EQUATION 2: EQUATION 1: EQUATION 3: Combining the CLC and NCO to Implement a High Resolution PWM Author: INTRODUCTION Cobus Van Eeden Microchip Technology Inc. Although many applications can function with PWM resolutions of less than 8 bits,

More information

Energy-Metering ICs with Active (Real) Power Pulse Output

Energy-Metering ICs with Active (Real) Power Pulse Output Obsolete Device Replacement Device: MCP395A/MCP396A MCP395/6 Energy-Metering ICs with Active (Real) Power Pulse Output Features Supplies active (real) power measurement for single-phase, residential energy-metering

More information

AN763. Latch-Up Protection For MOSFET Drivers INTRODUCTION. CONSTRUCTION OF CMOS ICs PREVENTING SCR TRIGGERING. Grounds. Equivalent SCR Circuit.

AN763. Latch-Up Protection For MOSFET Drivers INTRODUCTION. CONSTRUCTION OF CMOS ICs PREVENTING SCR TRIGGERING. Grounds. Equivalent SCR Circuit. Latch-Up Protection For MOSFET Drivers AN763 Author: Cliff Ellison Microchip Technology Inc. Source P+ INTRODUCTION Most CMOS ICs, given proper conditions, can latch (like an SCR), creating a short circuit

More information

Touch Sensor Controller

Touch Sensor Controller Touch Sensor Controller Fujitsu and @lab Korea 2 Touch Sensing a revolution Touch Sensing a revolution in Human Input Device Can replace virtually all mechanical buttons, sliders and turning knobs Create

More information

MCP2036. Inductive Sensor Analog Front End Device. Description. Features. Typical Applications. Package Types

MCP2036. Inductive Sensor Analog Front End Device. Description. Features. Typical Applications. Package Types Inductive Sensor Analog Front End Device Features Complete Inductance Measurement System: - Low-Impedance Current Driver - Sensor/Reference Coil Multiplexer - High-Frequency Detector Operating Voltage:

More information

High-Efficiency Solutions for Portable LED Lighting LED LUMINOUS FLUX VERSUS CURRENT FOR A CREE XM-L LED

High-Efficiency Solutions for Portable LED Lighting LED LUMINOUS FLUX VERSUS CURRENT FOR A CREE XM-L LED High-Efficiency Solutions for Portable LED Lighting Authors: INTRODUCTION Mihnea Rosu Microchip Technology Inc. As the LED manufacturing technology advances, parts with higher luminous flux and higher

More information

TABLE 1: REGISTERS ASSOCIATED WITH SLOPE COMPENSATOR MODULE

TABLE 1: REGISTERS ASSOCIATED WITH SLOPE COMPENSATOR MODULE Slope Compensator on PIC Microcontrollers Author: INTRODUCTION Namrata Dalvi Microchip Technology Inc. This technical brief describes the internal Slope Compensator peripheral of the PIC microcontroller.

More information

AN1257. Closed Loop Chromaticity Control: Interfacing a Digital RGB Color Sensor to a PIC24 MCU OVERVIEW. Constant Current LED Driver

AN1257. Closed Loop Chromaticity Control: Interfacing a Digital RGB Color Sensor to a PIC24 MCU OVERVIEW. Constant Current LED Driver Closed Loop Chromaticity Control: Interfacing a Digital RGB Color Sensor to a PIC24 MCU Author: OVERVIEW Jon Martis Microchip Technology Inc. This application note describes interfacing the TAOS TCS3414CS

More information

TC53. Voltage Detector. Not recommended for new designs Please use MCP111/2 TC53. General Description: Features: Typical Applications:

TC53. Voltage Detector. Not recommended for new designs Please use MCP111/2 TC53. General Description: Features: Typical Applications: Not recommended for new designs Please use MCP111/2 Voltage Detector TC53 Features: Highly Accurate: ±2% Low-Power Consumption: 1.0 A, Typ. Detect Voltage Range: 1.6V to 6.0V and 7.7V Operating Voltage:

More information

PIC16(L)F1782/ Pin 8-Bit Advanced Analog Flash Microcontroller Product Brief. High-Performance RISC CPU: Analog Peripheral Features:

PIC16(L)F1782/ Pin 8-Bit Advanced Analog Flash Microcontroller Product Brief. High-Performance RISC CPU: Analog Peripheral Features: 28-Pin 8-Bit Advanced Analog Flash Microcontroller Product Brief High-Performance RISC CPU: Only 49 Instructions Operating Speed: - DC 32 MHz clock input - DC 125 ns instruction cycle Interrupt Capability

More information

TC32M. ECONOMONITOR 3-Pin System Supervisor with Power Supply Monitor and Watchdog. Features: General Description: Applications:

TC32M. ECONOMONITOR 3-Pin System Supervisor with Power Supply Monitor and Watchdog. Features: General Description: Applications: ECONOMONITOR 3-Pin System Supervisor with Power Supply Monitor and Watchdog TC32M Features: Incorporates the Functionality of the Industry Standard TC1232 (Processor Monitor, Watchdog and Manual Override

More information

PIC16F87/88. PIC16F87/88 Rev. B1 Silicon Errata. 1. Module: Internal RC Oscillator

PIC16F87/88. PIC16F87/88 Rev. B1 Silicon Errata. 1. Module: Internal RC Oscillator PIC16F87/88 Rev. B1 Silicon Errata The PIC16F87/88 Rev. B1 parts you have received conform functionally to the Device Data Sheet (DS30487C), except for the anomalies described below. All of the issues

More information

AN1178. Intelligent Fan Control INTRODUCTION BRUSHLESS DC THEORY

AN1178. Intelligent Fan Control INTRODUCTION BRUSHLESS DC THEORY Intelligent Fan Control Author: INTRODUCTION Justin Milks Microchip Technology Inc. This application note describes the creation of an intelligent 4-wire fan. This design incorporates a PIC microcontroller

More information

Section 22. Basic 8-bit A/D Converter

Section 22. Basic 8-bit A/D Converter M Section 22. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 22.1 Introduction...22-2 22.2 Control Registers...22-3 22.3 A/D Acquisition Requirements...22-6 22.4

More information

PIC18(L)F2X/45K50. PIC18(L)F2X/45K50 USB Flash MCU Product Brief

PIC18(L)F2X/45K50. PIC18(L)F2X/45K50 USB Flash MCU Product Brief PIC18(L)F2X/45K50 PIC18(L)F2X/45K50 USB Flash MCU Product Brief Universal Serial Bus Features: USB V2.0 Compliant Crystal-less Full Speed (12 Mb/s) and Low-Speed Operation (1.5 Mb/s) Supports Control,

More information

Lifetime Power Energy Harvesting Development Kit for Wireless Sensors User s Manual - featuring PIC MCU with extreme Low Power (XLP) Technology

Lifetime Power Energy Harvesting Development Kit for Wireless Sensors User s Manual - featuring PIC MCU with extreme Low Power (XLP) Technology P2110-EVAL-01 Lifetime Power User s Manual - featuring PIC MCU with extreme Low Power (XLP) Technology Overview The Lifetime Power is a complete demonstration and development platform for creating battery-free

More information

PIC16(L)F72X Family Silicon Errata and Data Sheet Clarification

PIC16(L)F72X Family Silicon Errata and Data Sheet Clarification PIC1(L)F72X Family Silicon Errata and Data Sheet Clarification The PIC1(L)F72X family devices that you have received conform functionally to the current Device Data Sheet (DS41341E), except for the anomalies

More information

Low-Power Techniques for LCD Applications RTH = (2R*R)/(2R+R) RTH = 2R 2 /3R RTH = 2R/3 RSW = 4.7K RCOM = 0.4K

Low-Power Techniques for LCD Applications RTH = (2R*R)/(2R+R) RTH = 2R 2 /3R RTH = 2R/3 RSW = 4.7K RCOM = 0.4K Low-Power Techniques for LCD Applications Author: INTRODUCTION Low power is often a requirement in LCD applications. The low-power features of PIC microcontrollers and the ability to drive an LCD directly

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric

More information

MCP9700/9700A MCP9701/9701A

MCP9700/9700A MCP9701/9701A MCP9700/9700A MCP9701/9701A Low-Power Linear Active Thermistor ICs Features Tiny Analog Temperature Sensor Available Packages: - SC70-5, SOT-23-5, TO-92-3 Wide Temperature Measurement Range: - -40 C to

More information

PIC12(L)F1501/PIC16(L)F150X

PIC12(L)F1501/PIC16(L)F150X 8/14/20-Pin, 8-Bit Flash Microcontrollers Product Brief High-Performance RISC CPU: C Compiler Optimized Architecture Only 49 Instructions Up to 14 Kbytes Linear Program Memory Addressing Up to 512 bytes

More information

PIC16F716 Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2)

PIC16F716 Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2) PIC16F716 Silicon Errata and Data Sheet Clarification The PIC16F716 device that you have received conforms functionally to the current Device Data Sheet (DS41206B), except for the anomalies described in

More information

PIC16F506. PIC16F506 Rev. C0 Silicon Errata and Data Sheet Clarification. Silicon Errata Issues

PIC16F506. PIC16F506 Rev. C0 Silicon Errata and Data Sheet Clarification. Silicon Errata Issues PIC16F506 Rev. C0 Silicon Errata and Data Sheet Clarification The Rev. C0 PIC16F506 devices that you have received conform functionally to the current Device Data Sheet (DS41268D), except for the anomalies

More information

AN1213. Powering a UNI/O Bus Device Through SCIO INTRODUCTION CIRCUIT FOR EXTRACTING POWER FROM SCIO

AN1213. Powering a UNI/O Bus Device Through SCIO INTRODUCTION CIRCUIT FOR EXTRACTING POWER FROM SCIO Powering a UNI/O Bus Device Through SCIO Author: INTRODUCTION Chris Parris Microchip Technology Inc. As embedded systems become smaller, a growing need exists to minimize I/O pin usage for communication

More information

PICDEM LCD 2 Demonstration Kit User s Guide

PICDEM LCD 2 Demonstration Kit User s Guide PICDEM LCD 2 Demonstration Kit User s Guide 2007 Microchip Technology Inc. DS51662A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

MCP9509/10. Resistor-Programmable Temperature Switches. Features. Description. Package Types. Applications. Typical Performance

MCP9509/10. Resistor-Programmable Temperature Switches. Features. Description. Package Types. Applications. Typical Performance Resistor-Programmable Temperature Switches Features Resistor-Programmable Temperature Switch Wide Operating Voltage Range: 2.7V to 5.5V Low Supply Current: 30 µa (typical) Temperature Switch Accuracy:

More information

AN1328. KEELOQ with XTEA Microcontroller-Based Transmitter with Acknowledge INTRODUCTION DUAL TRANSMITTER OPERATION BACKGROUND RECEIVER ACKNOWLEDGE

AN1328. KEELOQ with XTEA Microcontroller-Based Transmitter with Acknowledge INTRODUCTION DUAL TRANSMITTER OPERATION BACKGROUND RECEIVER ACKNOWLEDGE KEELOQ with XTEA Microcontroller-Based Transmitter with Acknowledge Author: INTRODUCTION This application note describes the design of a microcontroller-based KEELOQ Hopping transmitter with receiver acknowledge

More information

PIC18F2420/2520/4420/4520

PIC18F2420/2520/4420/4520 PIC18F2420/2520/4420/4520 Rev. B3 Silicon Errata The PIC18F2420/2520/4420/4520 Rev. B3 parts you have received conform functionally to the Device Data Sheet (DS39631E), except for the anomalies described

More information

Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs

Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs Peripherals Summary When migrating from one PIC microcontroller (MCU) family to another, you get to stay within the same MPLAB

More information

TC1272A. 3-Pin Reset Monitor. General Description. Features. Applications. Package Type. Typical Application Circuit TC1272A TC1272A.

TC1272A. 3-Pin Reset Monitor. General Description. Features. Applications. Package Type. Typical Application Circuit TC1272A TC1272A. 3-Pin Reset Monitor Features Precision Monitor 14 msec Minimum RESET, Output Duration Output Valid to = 1.2V Transient Immunity Small 3-Pin SOT-23B Package No External Components Applications Computers

More information

AN1322. PIC MCU KEELOQ /AES Receiver System with Acknowledge TRANSMITTER LEARNING INTRODUCTION SYSTEM OVERVIEW RECEIVER FUNCTIONALITY

AN1322. PIC MCU KEELOQ /AES Receiver System with Acknowledge TRANSMITTER LEARNING INTRODUCTION SYSTEM OVERVIEW RECEIVER FUNCTIONALITY PIC MCU KEELOQ /AES Receiver System with Acknowledge Author: INTRODUCTION Cristian Toma Microchip Technology Inc. A number of remote access applications rely on the user verifying if the access point (gate,

More information

AN1208. Integrated Power Factor Correction (PFC) and Sensorless Field Oriented Control (FOC) System INTRODUCTION. Digital PFC and Motor Control

AN1208. Integrated Power Factor Correction (PFC) and Sensorless Field Oriented Control (FOC) System INTRODUCTION. Digital PFC and Motor Control Integrated Power Factor Correction (PFC) and Sensorless Field Oriented Control (FOC) System Author: INTRODUCTION Vinaya Skanda Microchip Technology Inc. In recent years, the motor control industry has

More information

TCM828/TCM829. Switched Capacitor Voltage Converters. Features. Description. Applications. Package Type. Typical Application Circuit

TCM828/TCM829. Switched Capacitor Voltage Converters. Features. Description. Applications. Package Type. Typical Application Circuit Switched Capacitor Voltage Converters Features Charge Pump in 5-Pin SOT-23 Package >95% Voltage Conversion Efficiency Voltage Inversion and/or Doubling Low 50 µa (TCM828) Quiescent Current Operates from

More information

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS 6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS Laboratory based hardware prototype is developed for the z-source inverter based conversion set up in line with control system designed, simulated and discussed

More information

MTCH810. Haptics Controller Product Brief. Description: Features: Pin Description: Package Type: DESCRIPTION MTCH810

MTCH810. Haptics Controller Product Brief. Description: Features: Pin Description: Package Type: DESCRIPTION MTCH810 Haptics Controller Product Brief MTCH810 Description: The MTCH810 provides an easy way to add Haptic feedback to any button/slide capacitive touch interface. The device integrates a single-channel Haptic

More information

Section 45. High-Speed Analog Comparator

Section 45. High-Speed Analog Comparator Section 45. High-Speed Analog Comparator HIGHLIGHTS This section of the manual contains the following major topics: 45.1 Introduction... 45-2 45.2 Module Description... 45-3 45.3 Control Registers... 45-4

More information

Capacitive Multibutton Configurations Q3*RD_CM1CON0 C1ON (1) C1POL

Capacitive Multibutton Configurations Q3*RD_CM1CON0 C1ON (1) C1POL Capacitive Multibutton Configurations AN4 Author: INTRODUCTION Keith Curtis Microchip Technology Inc Tom Perme Microchip Technology Inc This application note describes how to scan and detect button presses

More information

PIC18F1XK22/LF1XK22 Family Silicon Errata and Data Sheet Clarification

PIC18F1XK22/LF1XK22 Family Silicon Errata and Data Sheet Clarification PIC18F1XK22/LF1XK22 Family Silicon Errata and Data Sheet Clarification The PIC18F1XK22/LF1XK22 family devices that you have received conform functionally to the current Device Data Sheet (DS41365C), except

More information

PIC16F/LF1826/1827 Family Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2)

PIC16F/LF1826/1827 Family Silicon Errata and Data Sheet Clarification. (1) Revision ID for Silicon Revision (2) PIC16F/LF1826/1827 Family Silicon Errata and Data Sheet Clarification The PIC16F/LF1826/1827 family devices that you have received conform functionally to the current Device Data Sheet (DS41391B), except

More information

PIC12F1822/16F182X. 8/14/20-Pin 8-Bit Flash Microcontroller Product Brief. High-Performance RISC CPU: Peripheral Features:

PIC12F1822/16F182X. 8/14/20-Pin 8-Bit Flash Microcontroller Product Brief. High-Performance RISC CPU: Peripheral Features: 8/14/20-Pin 8-Bit Flash Microcontroller Product Brief High-Performance RISC CPU: Only 49 Instructions to learn Operating Speed: - DC 32 MHz clock input - DC 125 ns instruction cycle Interrupt Capability

More information

PIC12(L)F1822/PIC16(L)F1823

PIC12(L)F1822/PIC16(L)F1823 PIC12(L)F1822/PIC16(L)F1823 Family Silicon Errata and Data Sheet Clarification The PIC12(L)F1822/PIC16(L)F1823 family devices that you have received conform functionally to the current Device Data Sheet

More information

MCP65R41/6. 3 µa Comparator with Integrated Reference Voltage. Features: Description: Typical Applications: Package Types.

MCP65R41/6. 3 µa Comparator with Integrated Reference Voltage. Features: Description: Typical Applications: Package Types. 3 µa Comparator with Integrated Reference Voltage Features: Factory Set Reference Voltage - Available Voltage: 1.21V and 2.4V - Tolerance: ±1% (typical) Low Quiescent Current: 2.5 µa (typical) Propagation

More information

AN897. Thermistor Temperature Sensing with MCP6SX2 PGAs INTRODUCTION THERMISTOR CIRCUIT

AN897. Thermistor Temperature Sensing with MCP6SX2 PGAs INTRODUCTION THERMISTOR CIRCUIT 1000000 100000 10000 1000 100 AN897 Thermistor Temperature Sensing with MCP6SX2 PGAs Author: INTRODUCTION This application note shows two designs that use a precise, negative temperature coefficient (NTC)

More information

PIC16F818/819. PIC16F818/819 Rev. A4 Silicon Errata Sheet. 2. Module: PORTB FIGURE 1: 1. Module: Internal RC Oscillator

PIC16F818/819. PIC16F818/819 Rev. A4 Silicon Errata Sheet. 2. Module: PORTB FIGURE 1: 1. Module: Internal RC Oscillator PIC16F818/819 Rev. A4 Silicon Errata Sheet The PIC16F818/819 Rev. A4 parts you have received conform functionally to the Device Data Sheet (DS39598E), except for the anomalies described below. Microchip

More information

Low Cost Motor Control Family

Low Cost Motor Control Family Low Cost Motor Control Family 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 1 Welcome to the Low Cost Motor Control Family web seminar. My Name

More information

AN1085. Using the Mindi Power Management Simulator Tool INTRODUCTION ACCESSING MINDI ON MICROCHIP S WEB SITE

AN1085. Using the Mindi Power Management Simulator Tool INTRODUCTION ACCESSING MINDI ON MICROCHIP S WEB SITE Using the Mindi Power Management Simulator Tool Author: INTRODUCTION Paul Barna Microchip Technology Inc. Microchip s Mindi Simulator Tool aids in the design and analysis of various analog circuits used

More information

AN1202. Capacitive Sensing with PIC10F IMPLEMENTATION INTRODUCTION + - BASIC OSCILLATOR SCHEMATIC. Microchip Technology Inc.

AN1202. Capacitive Sensing with PIC10F IMPLEMENTATION INTRODUCTION + - BASIC OSCILLATOR SCHEMATIC. Microchip Technology Inc. Capacitive Sensing with PIC10F AN1202 Author: Marcel Flipse Microchip Technology Inc. INTRODUCTION This application note describes a method of implementing capacitive sensing on the PIC10F204/6 family

More information

F1 PSMC 28-Pin Evaluation Platform

F1 PSMC 28-Pin Evaluation Platform F1 PSMC 28-Pin Evaluation Platform Part Number. DM164130-10 The F1 PSMC 28-pin Evaluation Platform is an easy-to-use development tool for the PIC16F178x Intelligent Analog family of microcontrollers and

More information

MCP Dual Input Synchronous MOSFET Driver. General Description. Features. Applications. Package Types

MCP Dual Input Synchronous MOSFET Driver. General Description. Features. Applications. Package Types Dual Input Synchronous MOSFET Driver Features Independent PWM Input Control for High-Side and Low-Side Gate Drive Input Logic Level Threshold 3.0V TTL Compatible Dual Output MOSFET Drive for Synchronous

More information

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc.

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc. Current Sensing Circuit Concepts and Fundamentals Author: INTRODUCTION Yang Zhen Microchip Technology Inc. Current sensing is a fundamental requirement in a wide range of electronic applications. Typical

More information

AN1292 Tuning Guide 1.1 SETTING SOFTWARE PARAMETERS. STEP 1 Fill in the tuning_params.xls Excel spreadsheet with the following parameters:

AN1292 Tuning Guide 1.1 SETTING SOFTWARE PARAMETERS. STEP 1 Fill in the tuning_params.xls Excel spreadsheet with the following parameters: AN1292 Tuning Guide This document provides a step-by-step procedure on running a motor with the algorithm described in AN1292 Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous

More information

TC1232. Microprocessor Monitor. General Description: Features: Block Diagram. Package Types. Device Features

TC1232. Microprocessor Monitor. General Description: Features: Block Diagram. Package Types. Device Features Microprocessor Monitor TC1232 Features: Precision Voltage Monitor: - Adjustable +4.5V or +4.75V Reset Pulse Width 250 ms minimum No External Components Adjustable Watchdog Timer: - 150 ms, 600 ms or 1.2s

More information

TB3103. Buck Converter Using the PIC16F753 Analog Features PERFORMANCE SPECIFICATIONS INTRODUCTION ELECTRICAL SPECIFICATIONS

TB3103. Buck Converter Using the PIC16F753 Analog Features PERFORMANCE SPECIFICATIONS INTRODUCTION ELECTRICAL SPECIFICATIONS Buck Converter Using the PIC16F753 Analog Features Author: INTRODUCTION Mihnea RosuHamzescu Microchip Technology Inc. This technical brief describes a synchronous buck power supply, based on the PIC16F753

More information

MCP V 12-Bit A/D Converter with SPI Serial Interface. Features. Description. Package Types. Applications. Functional Block Diagram

MCP V 12-Bit A/D Converter with SPI Serial Interface. Features. Description. Package Types. Applications. Functional Block Diagram 2.7V 12-Bit A/D Converter with SPI Serial Interface Features 12-bit resolution ±1 LSB max DNL ±1 LSB max INL (MCP3201-B) ±2 LSB max INL (MCP3201-C) On-chip sample and hold SPI serial interface (modes 0,0

More information

MICROPROCESSORS A (17.383) Fall Lecture Outline

MICROPROCESSORS A (17.383) Fall Lecture Outline MICROPROCESSORS A (17.383) Fall 2010 Lecture Outline Class # 07 October 26, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Finish Analog to Digital Conversion

More information

IR Remote Control Transmitter. Packet Packet Packet 24.9 ms Packet continues to repeat while a button is pressed 114 ms

IR Remote Control Transmitter. Packet Packet Packet 24.9 ms Packet continues to repeat while a button is pressed 114 ms IR Remote Control Transmitter AN1064 Author: Tom Perme John McFadden Microchip Technology Inc. INTRODUCTION This application note illustrates the use of the PIC10F206 to implement a two-button infrared

More information

MCP1406/07. 6A High-Speed Power MOSFET Drivers. General Description. Features. application.

MCP1406/07. 6A High-Speed Power MOSFET Drivers. General Description. Features. application. 6A High-Speed Power MOSFET Drivers Features High Peak Output Current: 6.0A (typical) Low Shoot-Through/Cross-Conduction Current in Output Stage Wide Input Supply Voltage Operating Range: - 4.5V to 18V

More information

Introduction to Stepper Motors

Introduction to Stepper Motors Introduction to tepper Motors Part 2: tepper Motor Control 27 Microchip Technology Incorporated. ll Rights Reserved. Webeminar Title lide My name is Marc McComb, I am a Technical Training Engineer here

More information

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660 Charge Pump DC-to-DC Voltage Converter Features Wide Input Voltage Range:.V to V Efficient Voltage Conversion (99.9%, typ) Excellent Power Efficiency (9%, typ) Low Power Consumption: µa (typ) @ V IN =

More information

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller Objectives Materials 17.383 Microprocessors A Analog to Digital Conversion Using the PIC16F684 Microcontroller 1) To use MPLAB IDE software, PICC Compiler, and external hardware to demonstrate the following:

More information

MCP661/2/3/5. 60 MHz, 6 ma Op Amps. Features. Description. Typical Applications. Typical Application Circuit. Design Aids.

MCP661/2/3/5. 60 MHz, 6 ma Op Amps. Features. Description. Typical Applications. Typical Application Circuit. Design Aids. 60 MHz, 6 ma Op Amps MCP661/2/3/5 Features Gain Bandwidth Product: 60 MHz (typical) Short Circuit Current: 90 ma (typical) Noise: 6.8 nv/ Hz (typical, at 1 MHz) Rail-to-Rail Output Slew Rate: 32 V/µs (typical)

More information

PIC16F506. PIC16F506 Rev. B1 Silicon Errata and Data Sheet Clarification. Silicon Errata

PIC16F506. PIC16F506 Rev. B1 Silicon Errata and Data Sheet Clarification. Silicon Errata Rev. B1 Silicon Errata and Data Sheet Clarification The Rev. B1 family devices that you have received conform functionally to the current Device Data Sheet (DS41268D), except for the anomalies described

More information

PIC16(L)F1933 Silicon Errata and Data Sheet Clarification DEVICE ID<13:0> (1),(2)

PIC16(L)F1933 Silicon Errata and Data Sheet Clarification DEVICE ID<13:0> (1),(2) Silicon Errata and Data Sheet Clarification he family devices that you have received conform functionally to the current Device Data Sheet (DS41575B), except for the anomalies described in this document.

More information

MCP6061/2/4. 60 µa, High Precision Op Amps. Features. Description. Applications. Package Types. Design Aids. Typical Application

MCP6061/2/4. 60 µa, High Precision Op Amps. Features. Description. Applications. Package Types. Design Aids. Typical Application 6 µa, High Precision Op Amps Features Low Offset Voltage: ±15 µv (maximum) Low Quiescent Current: 6 µa (typical) Rail-to-Rail Input and Output Wide Supply Voltage Range: 1.8V to 6.V Gain Bandwidth Product:

More information

Low Cost Single Trip Point Temperature Sensor. Part Number Voltage Operation Package Ambient Temperature

Low Cost Single Trip Point Temperature Sensor. Part Number Voltage Operation Package Ambient Temperature Low Cost Single Trip Point Temperature Sensor Features: Temperature Set Point Easily Programs with a Single External Resistor Operates with 2.7V Power Supply (TC624) TO-220 Package for Direct Mounting

More information

MCP6401/1R/1U. 1 MHz, 45 µa Op Amps. Features. Description. Applications. Package Types. Design Aids. Typical Application

MCP6401/1R/1U. 1 MHz, 45 µa Op Amps. Features. Description. Applications. Package Types. Design Aids. Typical Application 1 MHz, 45 µa Op Amps Features Low Quiescent Current: 45 µa (typical) Gain Bandwidth Product: 1 MHz (typical) Rail-to-Rail Input and Output Supply Voltage Range: 1.8V to 6.0V Unity Gain Stable Extended

More information

TC1240/TC1240A. Positive Doubling Charge Pumps with Shutdown in a SOT-23 Package. Features. General Description. Applications

TC1240/TC1240A. Positive Doubling Charge Pumps with Shutdown in a SOT-23 Package. Features. General Description. Applications Positive Doubling Charge Pumps with Shutdown in a SOT-23 Package Features Charge Pumps in 6-Pin SOT-23A Package >99% Typical Voltage Conversion Efficiency Voltage Doubling Input Voltage Range, TC124: 2.V

More information

TC620/TC621. 5V, Dual Trip Point Temperature Sensors. Features: Package Type. Applications: Device Selection Table. General Description:

TC620/TC621. 5V, Dual Trip Point Temperature Sensors. Features: Package Type. Applications: Device Selection Table. General Description: V, Dual Trip Point Temperature Sensors Features: User Programmable Hysteresis and Temperature Set Point Easily Programs with External Resistors Wide Temperature Detection Range: -0 C to 0 C: (CCX) -0 C

More information

TC mA CMOS LDO TC1108. General Description. Features. Applications. Typical Application. Device Selection Table. Package Type SOT-223

TC mA CMOS LDO TC1108. General Description. Features. Applications. Typical Application. Device Selection Table. Package Type SOT-223 300mA CMOS LDO TC1108 Features Extremely Low Supply Current (50 A, Typ.) Very Low Dropout Voltage 300mA Output Current High Output Voltage Accuracy Standard or Custom Output Voltages Over Current and Over

More information

TC mA CMOS LDO with Shutdown ERROR Output and Bypass. Features. General Description. Applications. Typical Application. Device Selection Table

TC mA CMOS LDO with Shutdown ERROR Output and Bypass. Features. General Description. Applications. Typical Application. Device Selection Table 300mA CMOS LDO with Shutdown ERROR Output and Bypass Features Extremely Low Supply Current for Longer Battery Life Very Low Dropout Voltage 300mA Output Current Standard or Custom Output Voltages ERROR

More information

PIC16F818/819. PIC16F818/819 Rev. B0 Silicon Errata Sheet

PIC16F818/819. PIC16F818/819 Rev. B0 Silicon Errata Sheet Rev. B0 Silicon Errata Sheet The Rev. B0 parts you have received conform functionally to the Device Data Sheet (DS39598E), except for the anomalies described below. All of the issues listed here will be

More information

Designing with a Microcontroller (v6)

Designing with a Microcontroller (v6) Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected

More information

F1 LV Evaluation Platform Motor Control Add-Ons User s Guide

F1 LV Evaluation Platform Motor Control Add-Ons User s Guide F1 LV Evaluation Platform Motor Control Add-Ons User s Guide DS41629A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

AN1321. KEELOQ Microcontroller-Based Transmitter with Acknowledge DUAL TRANSMITTER OPERATION INTRODUCTION RECEIVER ACKNOWLEDGE SAMPLE BUTTONS/WAKE-UP

AN1321. KEELOQ Microcontroller-Based Transmitter with Acknowledge DUAL TRANSMITTER OPERATION INTRODUCTION RECEIVER ACKNOWLEDGE SAMPLE BUTTONS/WAKE-UP KEELOQ Microcontroller-Based Transmitter with Acknowledge Author: INTRODUCTION This application note describes the design of a microcontroller-based KEELOQ transmitter with receiver acknowledge using the

More information

TC59. Low Dropout, Negative Output Voltage Regulator TC59. Features. General Description. Applications. Functional Block Diagram

TC59. Low Dropout, Negative Output Voltage Regulator TC59. Features. General Description. Applications. Functional Block Diagram Low Dropout, Negative Regulator Features Low Dropout Voltage - Typically 12mV @ 5mA; 38mV @ 1mA for -5.V Output Part Tight Tolerance: ±2% Max Low Supply Current: 3.5 A, Typ Small Package: 3-Pin SOT3A Applications

More information

RE46C317/18. Piezoelectric Horn Driver with Boost Converter. Features: Description: Applications: Package Types. Typical Application

RE46C317/18. Piezoelectric Horn Driver with Boost Converter. Features: Description: Applications: Package Types. Typical Application Piezoelectric Horn Driver with Boost Converter Features: 3V Operation Low Quiescent Current 10V Boost Converter Low Horn Driver On-Resistance Compatible with RE46C117 Applications: Smoke Detectors CO Detectors

More information

High-Speed N-Channel Power MOSFET

High-Speed N-Channel Power MOSFET High-Speed N-Channel Power MOSFET Features: Low Drain-to-Source On Resistance (R DS(ON) ) Low Total Gate Charge (Q G ) and Gate-to-Drain Charge (Q GD ) Low Series Gate Resistance (R G ) Fast Switching

More information

PIC18F47J53 Family Silicon Errata and Data Sheet Clarification. Part Number Device ID (1) Revision ID for Silicon Revision (2) A1.

PIC18F47J53 Family Silicon Errata and Data Sheet Clarification. Part Number Device ID (1) Revision ID for Silicon Revision (2) A1. PIC18F47J53 Family Silicon Errata and Data Sheet Clarification The PIC18F47J53 Family devices that you have received conform functionally to the current Device Data Sheet (DS39964B), except for the anomalies

More information

TC Bit Digital-to-Analog Converter with Two-Wire Interface TC1320. General Description. Features. Applications.

TC Bit Digital-to-Analog Converter with Two-Wire Interface TC1320. General Description. Features. Applications. 8-Bit Digital-to-Analog Converter with Two-Wire Interface Features 8-bit Digital-to-Analog Converter ±2 LSB INL ±0.8 LSB DNL 2.7-5.5V Single Supply Operation Simple SMBus/I 2 C TM Serial Interface Low

More information

Using Z8 Encore! XP MCU for RMS Calculation

Using Z8 Encore! XP MCU for RMS Calculation Application te Using Z8 Encore! XP MCU for RMS Calculation Abstract This application note discusses an algorithm for computing the Root Mean Square (RMS) value of a sinusoidal AC input signal using the

More information

PIC12LF1840T39A. PIC12LF1840T39A Product Brief. High-Performance RISC CPU: Low-Power Features: RF Transmitter: Flexible Oscillator Structure:

PIC12LF1840T39A. PIC12LF1840T39A Product Brief. High-Performance RISC CPU: Low-Power Features: RF Transmitter: Flexible Oscillator Structure: PIC12LF1840T39A PIC12LF1840T39A Product Brief High-Performance RISC CPU: Only 49 Instructions to Learn: - All single-cycle instructions except branches Operating Speed: - DC 32 MHz oscillator/clock input

More information

Application Circuits 3. 3V R2. C4 100n G PI O. 0 G PI O S e t u p d a ta G PI O. 5 G PI O M o t i o n I n t G PI O. 4 G PI O.

Application Circuits 3. 3V R2. C4 100n G PI O. 0 G PI O S e t u p d a ta G PI O. 5 G PI O M o t i o n I n t G PI O. 4 G PI O. General Description The is an ultra-low power motion detector controller integrated circuit. The device is ideally suited for battery operated wireless motion sensors that make use of an MCU for handling

More information

Integrated Temperature Sensor & Brushless DC Fan Controller with FanSense Detect & Over-Temperature

Integrated Temperature Sensor & Brushless DC Fan Controller with FanSense Detect & Over-Temperature Integrated Temperature Sensor & Brushless DC Fan Controller with FanSense Detect & Over-Temperature Features Integrated Temperature Sensing and Multi-speed Fan Control FanSense Fan Fault Detect Circuitry

More information

Multiple Instrument Station Module

Multiple Instrument Station Module Multiple Instrument Station Module Digital Storage Oscilloscope Vertical Channels Sampling rate Bandwidth Coupling Input impedance Vertical sensitivity Vertical resolution Max. input voltage Horizontal

More information