MikroElektronika
Pedometer Click
Pedometer Click
SKU:MIKROE-3567
Out of stock
Couldn't load pickup availability
Share
Pedometer Click is designed to sense movement, more precisely, to sense and count steps taken by its user. It is equipped with the STP201M module, a 3D pedometer module with an IC chipset, which includes a precise G-sensor and MCU. This device can be used for tracking physical activity, for example measuring how many calories somebody burned and because of it’s small size, it can be used in various healthcare products.
Pedometer click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
The Pedometer click is designed to be fairly simple to use. This Click board™ contains the STP201M module, made by NiceRF. The module itself is designed for wrist pedometer products, like the pedometer bracelet or watch for example. The end user doesn’t have to worry about doing any calculations on their own, or worry about what the algorithm for step detection is doing, since the INT pins output is already a measurement of the steps that were taken. Before that, though, come the intricate parts of the design inside. First of all, the STP201M module, which is the main component of Pedometer click, has a built in G sensor within the IC chipset.
HOW DOES IT WORK?
Specifically, a MEMS sensor. Micro-electro-mechanical system sensors, abbreviated to MEMS, are made out of very small components, with their size usually ranging from 1 to 100 micrometers. These account for the sensor being very small and therefore it having low energy consumption and also not requiring a lot of space. This particular sensor is a 3D one. The three axes it utilizes, allow for precise measurements of any movement and the direction its taking. The three axes system, along with the MCUs meticulous algorithm, make it significantly less likely to make any false-positive counts (ex. tying up shoes).
The MCU has two distinguished modes. The first one of them is the operational mode. The MCU is designed to go into the operational mode whenever it senses some activity. However, if there is no discernible movement over the course of 20 seconds, it goes into the sleep mode. This mode is characterized by the very low energy consumption of only 5 μA max. The STP201M modules communication is somewhat different from the standard I2C protocol. Since our libraries do not support it, the user has the capability of changing the code of the main MCU in order to fit the protocol of the module and thus change any preprogramed settings.
Since the modules maximum operatin voltage is 3.6V, the Pedometer click uses the 3.3V rail for power supply. The other pins it utilizes are the, before mentioned, Interrupt pin, and the I2C Clock and Data pins. This click also has a Power LED indicator.
This Click Board™ is designed to be operated only with 3.3V logic level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with logic levels of 5V.
SPECIFICATIONS
Type | Motion |
Applications | This device can be used for tracking physical activity, for example measuring how many calories somebody burned and because of it’s small size, it can be used in various healthcare products. |
On-board modules | STP201M module, a 3D pedometer module with a precise G-sensor and MCU |
Key Features | 3D MEMS sensor combined with high precision 3D pedometer algorithm gives a precisely pedometer in any direction. |
Interface | 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 on Pedometer click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
SOFTWARE SUPPORT
We provide a library for the Pedometer click 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
The library contains all the necessary functions for detecting and reading the steps.
Key functions:
-
uint8_t pedometer_process()
- Pedometer process. -
uint32_t pedometer_getStepCounter()
- Functions for get step counter. -
void pedometer_resetStepCounter(uint32_t newCnt)
- Functions for reset Step counter.
Examples description
The application is composed of three sections :
- System Initialization - Sets INT pin as INPUT for detection STEP .
- Application Initialization - Initializes driver init and sets step counter on 0 .
- Application Task - It checks if a new step is detected, if detected new step - reads the current number of steps made and logs data to the USBUART.
void applicationTask() { uint8_t newStep; uint32_t stepCounter; char demoText[ 50 ]; newStep = pedometer_process(); if(newStep == PEDOMETER_NEW_STEP_DETECTED) { stepCounter = pedometer_getStepCounter(); LongWordToStr(stepCounter, demoText); mikrobus_logWrite(" Step Counter : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite("---------------------------", _LOG_LINE); Delay_ms( 50 ); } }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Conversions Library
UART Library
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click 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
This 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.
For more information about mikroSDK, visit the official page.




New Products
-
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
OAK Thermal
Vendor:LuxonisRegular price Rs. 67,399.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / perSold out -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / perSold out -
Sold out
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / perSold out -
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 / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 149.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 12" (30 cm)
Vendor:POLOLURegular price Rs. 279.00Regular priceUnit price / perSold out -
Wires with Pre-Crimped Terminals 10-Pack M-F 6"
Vendor:POLOLURegular price Rs. 339.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-M 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color F-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Sold out
Pololu 30T Track Set - Black
Vendor:POLOLURegular price Rs. 1,809.00Regular priceUnit price / perSold out -
Pololu High-Power Stepper Motor Driver 36v8
Vendor:POLOLURegular price Rs. 3,119.00Regular priceUnit price / perSold out -
Sold out
Pololu USB AVR Programmer v2.1
Vendor:POLOLURegular price Rs. 1,239.00Regular priceUnit price / perSold out -
3-Channel Wide FOV Time-of-Flight Distance Sensor for TI-RSLK MAX Using OPT3101
Vendor:POLOLURegular price Rs. 6,289.00Regular priceUnit price / perSold out -
75:1 Micro Metal Gearmotor MP 6V with 12 CPR Encoder, Side Connector
Vendor:POLOLURegular price Rs. 3,149.00Regular priceUnit price / perSold out