MIKROE-2064

MIKROE-2064 Datasheet


PID MIKROE-2064 Weight 25 g

Part Datasheet
MIKROE-2064 MIKROE-2064 MIKROE-2064 (pdf)
PDF Datasheet Preview
Stretch click

PID MIKROE-2064 Weight 25 g

Specification

Type Applications On-board modules

Key Features

Key Benefits Power Supply Compatibility Click board size

Miscellaneous Stretch force measurement

Circuitry for measuring stretch forces with conductive rubber cords

Rubber cord with 140-160 ohms per centimeter resistance included 2mm diameter, 1m long Stretch force measurement with rubber cord 3.3V or 5V mikroBUS S x mm

Programming

The following code snippet demonstrates the use of Stretch click.
1 static uint16_t read_sensor
3 uint16_t adc_rd;
4 adc_rd = ADC1_Get_Sample 8 // Get ADC value from channel
5 Delay_ms 10 ;
// Pause 10ms
6 return adc_rd;
9 static void init_adc
11 AD1PCFGL = 0xFFEF;
// Set RA8 as input
12 AD1PCFGH = 0xFFFF;
// All other pins are digital
13 ADC1_Init ;
// Initialize ADC
14 Delay_ms 100 ;
17 void main
19 char txt[30];
20 uint16_t adc_reading;
21 init_adc ;
23 while 1
adc_reading = read_sensor ;

TFT_Set_Font &TFT_defaultFont, CL_WHITE, FO_HORIZONTAL ;
27 28 29 30 31

WordToStr adc_reading, &txt TFT_Write_Text txt, 140, 100 Delay_ms 500 ;

Code examples that demonstrate the usage of Stretch click with MikroElektronika hardware, written for mikroC, mikroBasic and mikroPascal for AVR, dsPIC, FT90x, PIC and PIC32 are available on Libstock.
More datasheets: HFE4083-322 | MIKROE-2443 | DBMN5C5SN | ICS9112AG-27T | ICS9112AG-27 | 62195-002 | 62197-003 | 62195-003 | 62197-001 | LTL-4251NLC


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2064 Datasheet file may be downloaded here without warranties.

Datasheet ID: MIKROE-2064 649129