MikroElektronika
Stretch click
Stretch click
SKU:MIKROE-2064
Couldn't load pickup availability
Share
Stretch click is a mikroBUS™ add-on board with circuitry for measuring stretch forces with conductive rubber cords. The click has screw terminals for connecting 2mm-diameter conductive rubber cord. The resistance of the cord increases when stretched, impacting the voltage available on the AN pin. Stretch click is designed to use either a 3.3V or 5V power supply.
In a 'relaxed' state, the resistance is about 130 ohms per centimeter. As you pull on it, the resistance increases (the particles get further apart). As you stretch it out, the resistance increases. So lets say you have a 15cm piece - thats about 2.1 Kohms.
Stretch it to 25cm long and now it is 26/15*2.1K = 3.5 Kohms. You can stretch the rubber about 50-70% longer than the resting length, so a 15cm piece shouldn't be stretched more than 25cm. Once the force is released, the rubber will shrink back, although its not very "fast" and it takes a minute or two to revert to its original length. It's not a true linear sensor, and the resistance may vary from batch to batch, so we consider it a way to measure stretching motion but isn't really precise.
One meter of conductive rubber cord and two alligator clips are included in the package.
Specification
Type | Force |
Applications | Stretch force measurement |
On-board modules | Circuitry for measuring stretch forces with conductive rubber cords |
Key Features | Rubber cord with 140-160 ohms per centimeter resistance included (2mm diameter, 1m long) |
Key Benefits | Stretch force measurement with rubber cord |
Interface | PWM,Analog |
Input Voltage | 3.3V or 5V |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Programming
The following code snippet demonstrates the use of Stretch click.
1 static uint16_t read_sensor() 2 { 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; 7 } 8 9 static void init_adc() 10 { 11 AD1PCFGL = 0xFFEF; // Set RA8 as input 12 AD1PCFGH = 0xFFFF; // All other pins are digital 13 ADC1_Init(); // Initialize ADC 14 Delay_ms(100); 15 } 16 17 void main() 18 { 19 char txt[30]; 20 uint16_t adc_reading; 21 init_adc(); 22 23 while(1) 24 { 25 adc_reading = read_sensor(); 26 TFT_Set_Font( &TFT_defaultFont, CL_WHITE, FO_HORIZONTAL ); 27 WordToStr( adc_reading, &txt ); 28 TFT_Write_Text( txt, 140, 100 ); 29 Delay_ms( 500 ); 30 } 31 }
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.




New Products
-
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / per