Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

N40P112 Datasheet(PDF) 10 Page - ams AG

Part # N40P112
Description  Push button feature
Download  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

N40P112 Datasheet(HTML) 10 Page - ams AG

Back Button N40P112 Datasheet HTML 6Page - ams AG N40P112 Datasheet HTML 7Page - ams AG N40P112 Datasheet HTML 8Page - ams AG N40P112 Datasheet HTML 9Page - ams AG N40P112 Datasheet HTML 10Page - ams AG N40P112 Datasheet HTML 11Page - ams AG N40P112 Datasheet HTML 12Page - ams AG N40P112 Datasheet HTML 13Page - ams AG N40P112 Datasheet HTML 14Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 34 page
background image
EasyPoint
TM N40P112
Datasheet - Using the N40P112 M odule
www.austriamicrosystems.com/N40P112
Revision 1.1
10 - 34
8.3 C Source Code Example
8.3.1 Initialization
void EasyPoint_init (void)
{
unsigned char Reset_status = 0;
RESETn = 0;Delay_ms(1);// RESETn pulse after power up
RESETn = 1; Delay_ms(1);
while (Reset_status != 0xF0)// Check the reset has been done
{
Reset_status = I2C_Read8(0x40, 0x0F) & 0xFE;
}
I2C_Write8(0x40, 0x2d, 0x0D); // Scaling factor for N40 (1.0mm knob travel)
}
8.3.2 Offset Calibration
void Offset_Calibrate (void)
{
char i;
int x_cal=0, y_cal=0;
EA = 0;// Disable the MCU interrupts
I2C_Write8(0x40, 0x0F, 0x00);// Low Power Mode 20ms
Delay_ms(1);
I2C_Read8(0x40, 0x11); // Flush an unused Y_reg to reset the interrupt
for (i=0; i<16; i++)// Read 16 times the coordinates and then average
{
while (INTn);// Wait until next interrupt (new coordinates)
x_cal += (signed char) I2C_Read8(0x40, 0x10); // Read X position
y_cal += (signed char) I2C_Read8(0x40, 0x11); // Read Y position
}
// offset_X and offset_Y are global variables, used for each coordinate readout
in the interrupt routine
offset_X = -(x_cal>>4); // Average X: divide by 16
offset_Y = -(y_cal>>4); // Average Y: divide by 16
EA = 1; // Enable the MCU interrupts
}


Similar Part No. - N40P112

ManufacturerPart #DatasheetDescription
logo
List of Unclassifed Man...
N40P107 ETC2-N40P107 Datasheet
358Kb / 8P
   Single Module (without IC, with push button)
logo
ams AG
N40P107 AMSCO-N40P107 Datasheet
358Kb / 8P
   Direct knob force feedback
More results

Similar Description - N40P112

ManufacturerPart #DatasheetDescription
logo
Elektron Components Ltd...
MP0022 BULGIN-MP0022 Datasheet
56Kb / 1P
   Push Button
MP0013 BULGIN-MP0013 Datasheet
84Kb / 1P
   Push Button
MP0012 BULGIN-MP0012 Datasheet
91Kb / 1P
   Push Button
logo
CW Industries
GPB502A05BR CWIND-GPB502A05BR Datasheet
504Kb / 1P
   PUSH BUTTON SWITCH
logo
Bud Industries, Inc.
SPB-3901 BUD-SPB-3901 Datasheet
111Kb / 1P
   PUSH BUTTON BOXES
logo
CW Industries
GPBS800LR1 CWIND-GPBS800LR1 Datasheet
52Kb / 1P
   PUSH BUTTON SWITCH
logo
List of Unclassifed Man...
GPBS-850N ETC2-GPBS-850N Datasheet
51Kb / 1P
   PUSH BUTTON SWITCH
logo
Schneider Electric
9001KR25GM SCHNEIDER-9001KR25GM Datasheet
151Kb / 5P
   Momentary Push Button
Dec 23, 2021
logo
Littelfuse
9187 LITTELFUSE-9187 Datasheet
249Kb / 1P
   PUSH-BUTTON SWITCHES
2016 Rev: 120116
logo
List of Unclassifed Man...
D16-LAS1-1AB ETC2-D16-LAS1-1AB Datasheet
166Kb / 4P
   Push Button Switches
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com