Skip to content

added mkr 485 shield guide #1763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 5, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: 'Getting Started with the MKR 485 Shield'
description: 'Get started easily with the MKR 485 Shield.'
tags:
- RS485
author: 'Arduino'
---

The [MKR 485 shield](https://store.arduino.cc/arduino-mkr-485-shield) allows a MKR board to connect to other 485 devices.

This board may be used with the [Arduino RS485](https://www.arduino.cc/reference/en/libraries/arduinors485/) and the [Arduino Modbus](https://www.arduino.cc/reference/en/libraries/arduinomodbus/) libraries, available from the Library Manager.


## Usage Notes


The Arduino MKR 485 Shield allows the Arduino MKR family of boards to communicate with industrial automation systems or to extend the serial wired communication over much longer range. This shield supports half and full duplex with or without biasing and termination, master slave configuration.

Most of these configurations are physical and the 3 ways dip switch allows you to set up the connection properly.

| Switch No. | ON | OFF |
| ---------- | -------------------- | -------------- |
| 1 | Termination on A-B\* | NO termination |
| 2 | FULL Duplex\* | HALF Duplex |
| 3 | Termination on Y-Z\* | NO termination |

(\* Factory configuration)

![The MKR 485 Shield](assets/MKR485_featured.jpg)

## Use Cases

With the MKR 485 Shield you can interface with devices supporting the 485 standard. In the tutorial in the link below, you can learn how to interface with an **energy meter** using the Modbus protocol, and send the data to the Arduino Cloud.

- [Modbus Energy Meter and Arduino Cloud](https://docs.arduino.cc/arduino-cloud/application-notes/modbus-energy-meter/)

### PIN Usage

This shield is compatible with the MKR family of Arduino boards.

| Pin number | Usage | Notes |
| ---------- | ----- | -------- |
| A4 | RE | |
| A5 | DE | |
| 13 | RX | Reserved |
| 14 | TX | Reserved |