Planche Force 4 Click
Planche Force 4 Click
Le Force 4 Click Board™ est basé sur le capteur de force piézorésistif HSFPAR003A d'Alpsalpine. Ce produit est un capteur de force utilisant l'effet d'un circuit de pont piézorésistif formé sur un diaphragme en silicium. Les capteurs de force piézorésistifs atteignent une linéarité supérieure à celle des autres capteurs de force.
Pour contribuer à la stabilité et à la précision, Force 4 Click Board™ comprend également le MCP1101-33, une référence de tension tamponnée de haute précision comme alimentation d'un capteur de force qui permet une stabilité et une précision élevées des lectures de tension de sortie.
How Does The Force 4 Click Board™ Work?
The Force 4 Click Board™ work in the same way as our air (atmospheric) pressure sensors, using the piezoresistive method. They detect loads (force) with a piezoresistive element manufactured using MEMS processes. Force sensors differ from air pressure sensors in that they have a thicker diaphragm, allowing detection of only relatively large changes in pressure, like from loads, while very subtle fluctuations, such as changes in air pressure, do not affect the output.
Force 4 Click utilizes an additional IC. It uses the MCP3221, a 12-bit successive approximation A/D converter (ADC) with I2C Interface, from Microchip. It is used to sample the output voltage from the sensor, providing data for the microcontroller (MCU) or some other device capable of communicating over the I2C bus. The voltage is sampled to a 12-bit value using the MCP1101-33 as the voltage reference.
If analog voltage is preferred to be red directly by the MCU, it can be easily done by adding 0 ohm resistor on J1 marked position on PCB, and the sensor output voltage will be available for reading on AN pin of mikroBUS™.
The Force 4 Click Board™ features the smallest force sensors in the industry with dimensions compact enough which makes it a perfect solution for developing a fine-diameter stylus pen.
SPECIFICATIONS
Type | Force |
Applications | Fine-diameter stylus pen development, load and compression sensing, variable tension control and many more |
On-board modules | HSFPAR003A |
Key Features | High sensitivity and good linearity, precisely detect micro force less than 0.01 N. no characteristics change after 1 million cycles |
Interface | Analog,I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Force 4 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Analog | AN | 1 | AN | PWM | 16 | NC | |
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
PWR | LD1 | - | Power LED Indicator |
J1 | - | NP | Jumper for direct analog voltage reading from sensor |
Software Support
We provide a library for the Force 4 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides function for reading raw ADC data from device.
Key Functions
uint16_t force4_read_adc( void )
- Reading raw 12 bit ADC data
Example Description
The application is composed of three sections :
- System Initialization - Initialization of I2C communication
- Application Initialization - Mapping pins on selected MIKROBUS
- Application Task - Every 100ms read 12bit adc value from dev
void application_task ( ) { uint16_t adc_val; char demo_txt[ 30 ] = ""; adc_val = force4_read_adc( ); WordToStr( adc_val, demo_txt ); mikrobus_logWrite( "-ADC: ", _LOG_TEXT ); mikrobus_logWrite( demo_txt, _LOG_LINE ); Delay_ms( 100 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- Conversions
- I2C
- UART
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Force 4 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Force 4 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides function for reading raw ADC data from device.
Key Functions
uint16_t force4_read_adc( void )
- Reading raw 12 bit ADC data
Example Description
The application is composed of three sections :
- System Initialization - Initialization of I2C communication
- Application Initialization - Mapping pins on selected MIKROBUS
- Application Task - Every 100ms read 12bit adc value from dev
void application_task ( ) { uint16_t adc_val; char demo_txt[ 30 ] = ""; adc_val = force4_read_adc( ); WordToStr( adc_val, demo_txt ); mikrobus_logWrite( "-ADC: ", _LOG_TEXT ); mikrobus_logWrite( demo_txt, _LOG_LINE ); Delay_ms( 100 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- Conversions
- I2C
- UART
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Force 4 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Planche Force 4 Click
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.