MikroE RS-485 Accessory Board User Guide
- June 5, 2024
- MikroE
Table of Contents
MikroE RS 485 Accessory Board
user’s guide to RS485
Expand development system capabilities by adding RS485 communication accessory
board
Downloaded from Arrow.com.
TO OUR VALUED CUSTOMERS
I want to express my thanks to you for being interested in our products and for having confidence in Mikroelektronika. The primary aim of our company is to design and produce high-quality electronic products and to constantly improve the performance thereof in order to better suit your needs.
Nebojsa Matic General Manager
The Microchip, Atmel, NXP, and CYPRESS name, logo and products names are
trademarks of Microchip, Atmel, NXP and CYPRESS Inc. in the U.S.A. and other
countries.
Introduction to RS485
The accessory board is designed for usage with various development systems and other MCU devices with a 2×5 header. RS485 additional board is designed for RS485 communication which is suitable for usage in electrically noisy environments on long distances (up to 1200m (4000ft)).
Key features
- Pads with female 2×5 header on the backside of the board.
- DIP switch for pin selection.
- Two-pole screw terminals CN2 and CN3. 04 Jumpers for selecting slave/master mode. 05 ADM485 chip
System Specification
1. Connecting with the development system
Figure 1-1: RS485 connected to the development system
RS485 is designed for connection with 2×5 male headers on development system port’s via a 2×5 female header on th
e accessory board. Every pin on the 2×5 female header is marked so for proper orientation just compare marks between the accessory board and the development system.
DIP switch settings
Figure 2-1: DIP switch with 2×5 female header
In order to connect RS485 to the different development systems, it is
necessary to make settings on the DIP switch SW1. Every pin on DIP switch SW1
is connected to a different pin of 2×5 female header. Table 1 is given a list
of which switches on DIP switch SW1 should be turned ON for different
development systems.
Table 1
Development system:| Turn ON switch number:| Pin on female 2×5
header:| Pin function:
---|---|---|---
EasyAVR, BIGAVR, Easy8051, BIG 8051| 3| PO| RX
EasyAVR, BIGAVR, Easy8051, BIG 8051| 6| P1| TX
BIGdsPIC, dsPIC PRO, EasydsPlC| 2| P4| RX
BIGdsPIC, dsPIC PRO, EasydsPlC| 5| P5| TX
EasyPIC, BIG PIC| 4| P6| TX
EasyPIC, BIG PIC| 1| P7| RX
R/T lines are defined in the user program.| 7| P2| R/T
8| P3| R/T
3. Connecting RS485 with other RS485 devices Figure 3-1: RS485 connected with another device via wire
In order to connect the RS485 accessory board with other RS485 devices on a network it is necessary to provide twisted wires or shielded cable which is good choice if cable goes thru an electrically noisy environment.
Jumper settings
In order to determine which node in the RS485 network will be assigned to the
RS485 accessory board, it is necessary to set the jumpers’ inappropriate
positions.
– To set the accessory board to first node in the RS485 network place jumpers
J1, J2, and J3 (Master and Term. jumpers are placed);
– If the accessory board is somewhere between the first and last node remove
all jumpers (Master and Term. are off); and
– And to place the accessory board to the last node just place jumper J1
(Master off and Term. is placed).
Schematic Dimensions
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and
international copyright treaty. Therefore, this manual is to be treated as any
other copyright material. No part of this manual, including product and
software described herein, may be reproduced, stored in a retrieval system,
translated or transmitted in any form or by any means, without the prior
written permission of MikroElektronika. The manual PDF edition can be printed
for private or local use, but not for distribution. Any modification of this
manual is prohibited.
MikroElektronika provides this manual `as is’ without warranty of any kind,
either expressed or implied, including, but not limited to, the implied
warranties or conditions of merchantability or fitness for a particular
purpose.
MikroElektronika shall assume no responsibility or liability for any errors,
omissions, and inaccuracies that may appear in this manual. In no event shall
MikroElektronika, its directors, officers, employees or distributors be liable
for any indirect, specific, incidental, or consequential damages (including
damages for loss of business profits and business information, business
interruption or any other pecuniary loss) arising out of the use of this
manual or product, even if MikroElektronika has been advised of the
possibility of such damages. MikroElektronika reserves the right to change
information contained in this manual at any time without prior notice, if
necessary.
HIGH-RISK ACTIVITIES
The products of MikroElektronika are not faulted tolerant nor designed, manufactured, or intended for use or resale as on line control equipment in hazardous environments requiring to fail safe performance, such as in the operation of nuclear facilities, aircraft navigation, or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (`High-Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High-Risk Activities.
TRADEMARKS
The Mikroelektronika name and logo, the Mikroelektronika logo, mikroC, mikroC
PRO, mikroBasic, mikroBasic PRO, mikroPascal, mikroPascal PRO, AVRflash,
PICflash, dsPICprog, 18FJprog, PSOCprog, AVRprog, 8051prog, ARMflash,
EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM,
EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyAVR Stamp LV18FJ,
LV24-33A, LV32MX, PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4,
SmartGSM/GPRS, UNI-DS are trademarks of Mikroelektronika. All other trademarks
mentioned herein are property of their respective companies. All other product
and corporate names appearing in this manual may or may not be registered
trademarks or copyrights of their respective companies, and are only used for
identification or explanation and to the owners’ benefit, with no intent to
infringe.
RS485 v2.02
If you want to learn more about our products, please visit our website at
www.mikroe.com
If you are experiencing some problems with any of our products or just need
additional information, please place your ticket at
www.mikroe.com/en/support
If you have any questions, comments or business proposals, do not hesitate to
contact us at ofgce@mikroe.com
Downloaded from Arrow.com.
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>