rs4855v 2.0.0.0
|
RS485 click 5V is an RS422/485 transceiver Click boardâ„¢, which can be used as an interface between the TTL level UART and the RS422/485 communication bus. It features a half-duplex communication capability, bus Idle, open, and short-circuit detection, thermal shutdown, and more. It is well suited for transmitting data packets over long distances and noisy areas, using the twisted wire bus, which offers good electromagnetic interferences (EMI) immunity.
We provide a library for the RS4855V Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for RS4855V Click driver.
rs4855v_cfg_setup
Config Object Initialization function. rs4855v_init
Initialization function. rs4855v_generic_read
This function reads a desired number of data bytes by using UART serial interface. rs4855v_send_command
This function sends a command by using UART serial interface. This example reads and processes data from RS485 5V clicks.
The demo application is composed of two sections :
Initializes driver and wake-up module.
Reads the received data and parses it.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
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 MikroElektronika compilers.