How does it work?
EasyPull Click is a compact add-on board designed to empower users to easily configure used mikroBUS™ signals within their applications to be either in a pull-up or pull-down state. This board is equipped with two 8-position switches that enable the pull-up or pull-down configuration for mikroBUS™ signals such as AN, RST, PWM, and INT, as well as for communication protocols like SPI, UART, and I2C. All resistors on the EasyPull Click are set to 4.7kΩ, ensuring consistent performance across various signal lines. Whether for prototyping or final product development, EasyPull Click provides developers with a practical tool for enhancing their projects with reliable signal management capabilities.
Configuring the signal lines to the desired state is straightforward, thanks to the clear directional arrows on each switch’s left side. These arrows indicate the direction to toggle the switch to achieve either a pull-up (upward direction) or pull-down (downward direction) state. This feature allows for quick and easy adjustments, enhancing the board’s usability and flexibility in different project setups.
Additionally, the EasyPull Click board™ offers an unpopulated header marked as EXT, which extends four signals from the switches – two from each – labeled as EXTx. This header can be used as a conventional GPIO (General Purpose Input/Output) signal according to the user’s requirements. The board also includes two sets of unmarked resistors at the top, connected to the EXT signals, maintaining the 4.7kΩ resistance value consistent with the rest of the board.
A unique feature of the EasyPull Click is its low-power mode capability, achieved by cutting the ID CUT traces on the back of the board. The connection to the lower section of the board, which includes the power (PWR) LED and ID chip, is interrupted by cutting these lines. This action results in significant energy savings, making the EasyPull Click an excellent choice for energy-sensitive applications that require efficient power management.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Specifications
Type
Proto
Applications
Ideal solution for developers seeking to enhance their projects with reliable signal management, especially in the prototyping or final product development stages
On-board modules
DTH-08, 8-position 3-state DIP switch from Eker International
Key Features
Signal pull state configuration flexibility, universal design with 4.7kΩ resistors, dual 8-position switches, additional user-configurable I/O signals, special low-power mode, compact and durable design, and more
Interface
Analog,GPIO,I2C,PWM,SPI,UART
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on EasyPull 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 |
JP2 | VCC SEL | Left | Power Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP3-JP5 | ID Cut | Connected | Low Power Operation Selection |
SW1-SW2 | – | Neutral | Signal Pull State Selection +/-: Upper position Pull-Up, Lower position Pull-Down |
J1-J2 | EXT | Unpopulated | Additional User-Configurable Switch Signals |
EasyPull Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Pull Resistance | – | 4.7 | – | kΩ |
Software Support
We provide a library for the EasyPull Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for EasyPull Click driver.
Key functions
-
easypull_get_an_pin
This function reads the state of the AN pin of EasyPull click board. -
easypull_get_rst_pin
This function reads the state of the RST pin of EasyPull click board. -
easypull_get_cs_pin
This function reads the state of the CS pin of EasyPull click board.
Example Description
This example demonstrates the use of EasyPull Click boards™.
void application_task ( void )
{
if ( EASYPULL_PIN_STATE_HIGH == easypull_get_an_pin( &easypull ) )
{
log_printf( &logger, " AN pin state: HIGH n" );
}
else
{
log_printf( &logger, " AN pin state: LOW n" );
}
if ( EASYPULL_PIN_STATE_HIGH == easypull_get_rst_pin( &easypull ) )
{
log_printf( &logger, " RST pin state: HIGH n" );
}
else
{
log_printf( &logger, " RST pin state: LOW n" );
}
if ( EASYPULL_PIN_STATE_HIGH == easypull_get_cs_pin( &easypull ) )
{
log_printf( &logger, " CS pin state: HIGH n" );
}
else
{
log_printf( &logger, " CS pin state: LOW n" );
}
if ( EASYPULL_PIN_STATE_HIGH == easypull_get_pwm_pin( &easypull ) )
{
log_printf( &logger, " PWM pin state: HIGH n" );
}
else
{
log_printf( &logger, " PWM pin state: LOW n" );
}
if ( EASYPULL_PIN_STATE_HIGH == easypull_get_int_pin( &easypull ) )
{
log_printf( &logger, " INT pin state: HIGH n" );
}
else
{
log_printf( &logger, " INT pin state: LOW n" );
}
log_printf( &logger, "- - - - - - - - - - - - - rn" );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.EasyPull
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. UART terminal is available in all MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.