OFF
MIKROE-5752
18 g
Status:
RS485 8 Click is a compact add-on board that enables communication over an RS485 network. This board features the THVD1426, an RS485 transceiver with auto-direction control and ESD protection from Texas Instruments. The THVD1426 offers bus protection for contact discharge, air gap discharge, fast transient burst, and +/-16V bus fault protection. With its high immunity to IEC Contact Discharge ESD events, the bus pins require no additional system-level protection components. The transceiver works in half-duplex mode with data rates of up to 12Mbps. Additionally, the chip is known for its low power consumption and glitch-free power-up/power-down functionality, which enables hot plug-in capability. This Click board™ makes the perfect solution for the development of industrial and multi-point applications over long cable runs.
RS485 8 Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board.
This product is no longer in stock
Availability date:
RS485 8 Click is based on the THVD1426, an RS485 transceiver with auto-direction control and ESD protection from Texas Instruments. The THVD1426 has one termination resistor over the A/B that can be enabled over the TERM jumper. The RS485 8 Click comes with the SM712, a 600W asymmetrical TVS diode array from Littelfuse, along with the termination resistor. This diode array is designed to protect the RS485 applications with asymmetrical working voltages from -7V up to 12V, thus making it safe from damage due to electrostatic discharge, fast electrical transients, and lightning-induced surges. Both the diode array and the termination resistor are placed near the RS485 screw terminal, with which you can connect the RS485 8 Click to your application's other end.
RS485 8 Click uses the UART interface to communicate with the host MCU with commonly used UART RX and TX pins. The auto-direction mode on the RS485 8 Click is set by default and disabled with a pull-down resistor. It can be enabled with the logic HIGH state on the EN pin of the mikroBUS™ socket. You can control the driver and receiver using the data input pin RX by enabling the transceiver.
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. However, the 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.
Type
RS485
Applications
Can be used for the development of industrial and multi-point applications over long cable runs
On-board modules
THVD1426 - an RS485 transceiver with auto-direction control and ESD protection from Texas Instruments
Key Features
Highly flexible, selectable power and logic voltage levels, half-duplex mode, optional 120Ω termination resistor jumper on bus pins, 600W asymmetrical diode array on bus pins, bus I/O protection, low power consumption, glitch-free power-up/power-down for hot plug-in capability, protection features, and more
Interface
UART
Feature
ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on RS485 8 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power/Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | TERM | Populated | Termination Resistor Jumper |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Data Rate | - | - | 12 | Mbps |
ESD Protection | - | ±12 | - | kV |
We provide a library for the RS485 8 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 RS485 8 Click driver.
Key functions
rs4858_generic_write
RS485 8 data writing function.
rs4858_generic_read
RS485 8 data reading function.
rs4858_enable_device
RS485 8 enable the device function.
Example Description
This example reads and processes data from RS485 8 clicks. The library also includes a function for enabling/disabling the receiver or driver and data writing or reading.
void application_task ( void )
{
#ifdef DEMO_APP_TRANSMITTER
rs4858_generic_write( &rs4858, data_buf, strlen( data_buf ) );
log_info( &logger, "---- Data sent ----" );
Delay_ms( 2000 );
#else
rs4858_process( );
#endif
}
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:
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.
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.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.