# The GO-24V MKR shield

An Arduino-MKR compatible shield with 4 digital inputs, 4 digital outputs and 2 analog inputs, all rated 24V.

- **Seller:** [omzlo](https://lectronz.com/stores/omzlo), Thrakomakedones, Attica, Greece
- **Price:** €10.44 (EUR, before shipping and taxes)
- **Availability:** Sold out
- **Categories:** Arduino, MKR
- **Product page:** https://lectronz.com/products/the-go-24v-mkr-shield

## Options

**Soldered headers**

- No
- Yes [Add €2.00]

## Links

- [Documentation](https://www.omzlo.com/articles/the-go-24v-arduino-mkr-shield)

## Images

![The GO-24V MKR shield](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTk5LCJwdXIiOiJibG9iX2lkIn19--21ed7c7105a091a38941c998b02dd8d45e4bd686/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2019-04-09T15-10-45.211Z-go-24-mkr0-2.jpg)
![The GO-24V MKR shield](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MjAwLCJwdXIiOiJibG9iX2lkIn19--8030562bab63dd91e975652b5f1ad8e1e4869a5a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2019-04-09T15-10-45.211Z-go-24-bottom-2.jpg)
![The GO-24V MKR shield](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MjAxLCJwdXIiOiJibG9iX2lkIn19--675dcf8c934d8cad78f46e7bfc3d49adaa7e4f6e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2019-04-09T15-10-45.211Z-go-24-top-2.jpg)

## Description

Nowadays, most common microcontroller operate with 3.3V logic, while the older classic Arduino UNO uses 5V logic, but sometimes you want to connect your project to 12V or 24V gadgets, which are common in automation and home systems.

We created the **GO-24V MKR shield** with 24V tolerant inputs and outputs exactly for this purpose. Just connect it to any board with the Arduino-MKR form factor and go!

## Description

The Omzlo **GO-24V MKR shield** is designed to fit on top of [Arduino MKR](https://store.arduino.cc/arduino-genuino/arduino-genuino-mkr-family) compatible boards, such as the Arduino MKR Zero. 
But it really shines as part of an [IoT project](https://www.omzlo.com/articles/the-nocan-platform) on top of an [Omzlo CANZERO](https://omzlo.com/articles/canzero) node.  

It features:

- 4 digital inputs (0-24V).
- 4 digital open-drain outputs (0-24V), sinking up to 2A.
- 2 analog inputs (0-24V).

The shield also breaks out the GND and VIN pins of the MKR board.

## Details


The following table provides details of the shield input/output capabilities:

| Shield connector | Arduino MKR Pin | Characteristics        |
| ---------------- | --------------- | ---------------------- |
| Sink 1 (Output)  | D0              | 0-24V (max 60V, 3.1A)  | 
| Sink 2 (Output)  | D1              | 0-24V (max 60V, 3.1A)  |
| Sink 3 (Output)  | D2              | 0-24V (max 60V, 3.1A)  |
| Sink 4 (Output)  | D3              | 0-24V (max 60V, 3.1A)  |
| Input 1          | D4              | 0-24V                  |
| Input 2          | D5              | 0-24V                  | 
| Input 3          | D6              | 0-24V                  | 
| Input 4          | D7              | 0-24V                  | 
| Analog in 1      | A0              | 0-24V mapped to 0-3.2V |
| Analog in 2      | A1              | 0-24V mapped to 0-3.2V |
| GND              | GND             | -                      |
| VIN              | VIN             | -                      |

Note that this shield does not feature isolated inputs/outputs (e.g. using optocouplers) or galvanic isolation.

The **digital inputs** have the same shifting characteristic as the GPIO of the MCUs they are connected to. For a SAMD21 board like the Arduino MKR Zero or the Omzlo CANZERO, this means that any input below 1V will be considered LOW (0), and any input above 1.8V will be considered as HIGH (1). 

The **sinking outputs** are controlled by MOSFETs, which have a comfortable maximum 3.1A current rating. In practice, it's best to keep safely away from those limits. We tested currents up to 1.5A without any issue, for low-side switching power LEDs. Lower currents should also be considered when switching these MOSFETs very rapidly (e.g. through fast PWM). In doubt, please consult the safe operating area of the MOSFET in the [datasheet](https://assets.nexperia.com/documents/data-sheet/PMV55ENEA.pdf).

If you want to use the digital output to drive a signal between 0 and 24V (or lower), you will need to add a pull-up resistor between the sinking output and the high voltage level (e.g. 24V). In that case, the logic is inverted: setting the sinking output to "high" sets VOUT to 0V, whereas setting the sinking output to "low" sets VOUT to high (e.g. 24V).

**Analog inputs** are managed by feeding input voltage in a voltage divider and a buffering op-amp, resulting in a scaled voltage range where 24V corresponds to 3.2V on the analog input of the Arduino-compatible board (and 24.75V corresponds to 3.3V).
In terms of accuracy, the voltage divider uses 1% resistors, but the greatest source of inaccuracy can come from the ADC of the MCU itself. It is possible to apply calibration to each board to substantially increase accuracy.

### What's included

As shown in the picture below, the Omzlo **GO-24V MKR shield** comes as a shield with the following **unsoldered** headers:

- One breakable male 2.54mm pin headers (0.1")
- Three 4-pin 3.5mm terminal blocks (colors may vary). 

This board is designed to be compatible with the Arduino MKR form factor. You will need to provide your own Arduino-MKR compatible board to use this shield. 
Disclamer: In accordance with the Arduino trademark usage [rules](https://www.arduino.cc/en/Trademark/HomePage), we note that this product is not otherwise connected to Arduino S.r.l.

![](https://cdn.tindiemedia.com/images/resize/VZGbga0fW-luoQToV2ADUSeQDk0=/p/full-fit-in/1168x876/i/350201/products/2019-04-09T15%3A10%3A45.211Z-go-24-top-2.jpg)

### Resources

For more information including schematics and Arduino code, please see our [online documentation](https://www.omzlo.com/articles/the-go-24v-arduino-mkr-shield).

## Shipping policy

We ship twice a week, typically on Tuesdays and Fridays. 
