Qi RX Click Board
Qi RX Click Board
The Qi RX Click Board™ is a compact add-on board made for the purpose of wireless power transfer. This board features the PIC16F15313, a general-purpose 8-bit MCU that makes a flexible, low-cost alternative to the wireless charging solutions based on ASICs from Microchip. It represents a simple, low-cost implementation of the Qi 1.1 5W wireless charging standard with the added functionality of a fully-featured Li-Ion charging controller. It can extend product life by reducing mechanical failures from connectors allowing the manufacture of devices truly resistant to water and dust. This Click Board™ is suitable for wireless charging applications, cell phones, tablets, small hand-held devices, embedded electronics, and more.
The Qi RX 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.
Note: The Qi RX Click Board™ needs to be placed near the suitable Qi Transmitter, also known as the charging pad, to successfully harvest the transmitted power.
Software Support
We provide a library for the Qi RX 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
The library covers all the necessary functions that enable the usage of the Qi RX Click Board™. It offers reading from the output register and calculations that result in relatively accurate measurement of connected batteries voltage.
Key Functions
uint16_t qirx_read_data ( );
- Function is used to read raw data from MCP3221.uint16_t qirx_read_voltage ( uint16_t v_ref );
- Function is used to calculate the voltage of the connected battery.
Example Description
The application is composed of three sections :
- System Initialization - Initializes the I2C module and LOG structure.
- Application Initialization - Initializes the I2C driver and makes an initial log.
- Application Task - This example shows the capabilities of the Qi RX Click by measuring the voltage of the connected battery. In order to get correct calculations, the user should change "v_ref" value to his own power supply voltage.
void application_task ( ) { voltage = qirx_read_voltage( v_ref ); WordToStr( voltage, log_txt ); Ltrim( log_txt ); mikrobus_logWrite( "Battery voltage: ", _LOG_TEXT ); mikrobus_logWrite( log_txt, _LOG_TEXT ); mikrobus_logWrite( "mV", _LOG_LINE ); mikrobus_logWrite( "-----------------------", _LOG_LINE ); Delay_ms( 2000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- I2C
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a 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
The Qi RX 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.
Qi RX Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.