RS485 7 Click Board
RS485 7 Click Board
Key Features
- Highly flexible, selectable power and logic voltage levels, configurable half and full duplex mode, pin-configurable 120Ω termination resistor on bus pins, configurable data rate, bus I/O protection, low power consumption, glitch-free power-up/power-down for hot plug-in capability, protection features, and more
- Based on the THVD1424 - full duplex RS485 transceiver from Texas Instruments
- Can be used for industrial and multi-point applications over long cable runs
- mikroBUS: UART and GPIO Interfaces
Overview
Introducing the RS485 7 Click Board™: Revolutionize Your Industrial Communication
Experience the future of industrial communication with the RS485 7 Click Board™, a sleek and compact add-on board designed to transform your RS485 network communication. Powered by Texas Instruments' THVD1424, a state-of-the-art full duplex RS485 transceiver, this game-changing device promises unparalleled data rate customization.
Unlock the Power of Pin-Controlled Features
Discover the endless possibilities of THVD1424's various pin-controlled features, such as an integrated 120Ω termination resistor, cutting-edge slew rate control, and seamless switching between half and full duplex mode. With a high immunity to IEC Contact Discharge ESD events, your bus pins are fully protected without any additional system-level components.
Experience Low Power Consumption and Hot Plug-In Capability
Save on energy with the THVD1424's impressively low power consumption and enjoy the convenience of glitch-free power-up/power-down functionality. Hot plug-in capability means you can effortlessly integrate the RS485 7 Click Board™ into your existing setup, making it perfect for industrial and multi-point applications over extended cable runs.
Effortless Software Development with mikroSDK
Maximize your efficiency with the RS485 7 Click Board™, supported by a mikroSDK-compliant library that includes user-friendly functions to simplify software development. Fully tested and ready for use, this Click board™ integrates seamlessly with any system equipped with the mikroBUS™ socket, allowing you to focus on what matters most—your project.
Upgrade Your Communication System Today
Don't let outdated technology hold you back. Invest in the RS485 7 Click Board™ and witness the remarkable difference it brings to your industrial communication network. Get ready to revolutionize your workflow and elevate your projects to new heights!
How Does The RS485 7 Click Board™ Work?
The RS485 7 Click Board™ is based on the THVD1424, a flexible RS-485 transceiver from Texas Instruments for asynchronous data transmissions. The THVD1424 has two termination resistors of nominal 120Ω, one across Y/Z and another across A/B. Both termination resistors are enabled or disabled using pins RET and TET pins of the mikroBUS™ socket, routed to the default positions of PWM and INT pins of the mikroBUS™ socket. Both termination resistors can be enabled or disabled, independent of the state of the driver or receiver. Termination is OFF if the device is unpowered or in thermal shutdown. Internal ESD protection circuits protect the transceiver against Electrostatic Discharges (ESD) according to IEC 61000-4-2 of up to ±8kV (Contact Discharge), ±15kV (Air Gap Discharge), and against electrical-fast-transients (EFT) according to IEC 61000-4-4 of up to ±4kV.
The THVD1424 RS-485 transceiver can be used in half-duplex or full-duplex RS-485 networks by populating an onboard R5 resistor. Full duplex mode is the default state of this board (with unpopulated R5 resistor), where Y and Z terminal pins are driver output pins, and A/B pins are receiver input pins. By populating the R5 resistor, Half duplex mode is activated where the driver and receiver share the same bus pins (Y/Z pins are both driver and receiver pins). The device state is then controlled via two mikroBUS™ pins labelled DE and RE (driver and receiver enable/disable), routed to the default positions of the AN and RST pins of the mikroBUS™ socket.
The THVD1424 can also be used in slow-speed or fast-speed RS485 networks by populating a slew rate control R10 resistor. By default, with the R10 resistor unpopulated, the maximum speed of operation for both driver and receiver is 20Mbps. By populating it, the maximum speed of operation for both driver and receiver is 500kbps, where the receiver path has an additional noise filtering feature enabled. The THVD1424 also has built-in protection features such as supply undervoltage, bus short-circuit, and thermal shutdown.
The RS485 7 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VIO SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, the main power supply of the RS485 transceiver can be selected between 3.3V or 5V voltage levels selected via the VCC SEL jumper. The wide common-mode voltage range and low input leakage on bus pins make this Click board™ suitable for multi-point applications over long cable runs. 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.
SPECIFICATIONS
Type | RS485 |
Applications | It can be used for industrial and multi-point applications over long cable runs |
On-board modules | THVD1424 - full duplex RS485 transceiver from Texas Instruments |
Key Features | Highly flexible, selectable power and logic voltage levels, configurable half and full duplex mode, pin-configurable 120Ω termination resistor on bus pins, configurable data rate, bus I/O protection, low power consumption, glitch-free power-up/power-down for hot plug-in capability, protection features, and more |
Interface | GPIO, UART |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the RS485 7 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Driver Enable | DE | 1 | AN | PWM | 16 | RET | RX Termination Control |
Receiver Enable | RE | 2 | RST | INT | 15 | TET | TX Termination Control |
NC | 3 | CS | RX | 14 | TX | UART TX | |
NC | 4 | SCK | TX | 13 | RX | UART RX | |
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VIO SEL | Left | Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
R5 | R5 | Unpopulated | Half Duplex Mode Control Jumper |
R10 | R10 | Unpopulated | Slew Rate Control Jumper |
RS485 7 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Data Rate | 0.5 | - | 20 | Mbps |
ESD Protection | - | ±8 | - | kV |
Software Support
We provide a library for the RS485 7 Click Board™ and a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the RS485 7 Click Board™ driver.
Key functions
-
rs4857_receiver_enable
RS485 7 enables the receiver function. -
rs4857_driver_enable
RS485 7 enables the driver function.
Example Description
This example reads and processes data from RS485 7 Click Board™. The library also includes a function for enabling/disabling the receiver or driver and data writing or reading.
void application_task ( void )
{
if ( rs4857_generic_write( &rs4857, DEMO_MESSAGE, 10 ) )
{
rs4857_process( );
if ( app_buf_len > 0 )
{
log_printf( &logger, "%s", app_buf );
rs4857_clear_app_buf( );
}
}
Delay_ms( 2000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio. The 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.RS4857
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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
The RS485 7 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Software Support
We provide a library for the RS485 7 Click Board™ and a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the RS485 7 Click Board™ driver.
Key functions
-
rs4857_receiver_enable
RS485 7 enables the receiver function. -
rs4857_driver_enable
RS485 7 enables the driver function.
Example Description
This example reads and processes data from RS485 7 Click Board™. The library also includes a function for enabling/disabling the receiver or driver and data writing or reading.
void application_task ( void )
{
if ( rs4857_generic_write( &rs4857, DEMO_MESSAGE, 10 ) )
{
rs4857_process( );
if ( app_buf_len > 0 )
{
log_printf( &logger, "%s", app_buf );
rs4857_clear_app_buf( );
}
}
Delay_ms( 2000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio. The 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.RS4857
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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
The RS485 7 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Frequently Asked Questions
Ask a Question-
How can I benefit from using the RS485 7 Click Board™?
By utilizing the RS485 7 Click Board™, you unlock a world of possibilities. You can achieve efficient and reliable communication over RS485 networks, ensuring seamless data transfer and robust system performance. With its exceptional features, immunity to ESD events, and low power consumption, this board provides a highly efficient solution for your communication needs.
-
What applications is the RS485 7 Click Board™ suitable for?
The RS485 7 Click Board™ is highly versatile and suitable for a wide range of applications. Its industrial-grade capabilities make it ideal for industrial automation, control systems, sensor networks, building automation, and many other industrial scenarios. It also excels in multi-point applications over long cable runs, making it a valuable asset in complex setups.
-
Is the RS485 7 Click Board™ easy to use?
Absolutely! The RS485 7 Click Board™ comes as a fully tested and pre-assembled product, ready to be integrated into any system equipped with the widely adopted mikroBUS™ socket. With its user-friendly design and intuitive interface, you can start using it right out of the box. The mikroSDK-compliant library provides functions that streamline software development, making it even easier to incorporate this board into your projects.
-
What are the benefits of using the RS485 7 Click Board™?
By utilizing the RS485 7 Click Board™, you gain access to a world of advantages. This board is specifically designed for industrial and multi-point applications over long cable runs, making it perfect for various scenarios. Its compact size allows for easy integration into your existing systems. The RS485 7 Click Board™ ensures reliable and robust communication, guaranteeing seamless data transfer across your network. It simplifies software development through the mikroSDK-compliant library, enabling hassle-free implementation.
-
What features does the RS485 7 Click Board™ offer?
The RS485 7 Click Board™ is packed with remarkable features. The THVD1424 transceiver provides pin-controlled capabilities such as an on-chip 120Ω termination resistor, slew rate control, and the ability to switch between half and full duplex mode. It also boasts exceptional immunity to IEC Contact Discharge ESD events, eliminating the need for additional protection components in your system. Moreover, the chip's low power consumption and glitch-free power-up/power-down functionality enable hot plug-in capability.