> For the complete documentation index, see [llms.txt](https://brlabelectronics.gitbook.io/tutorials-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brlabelectronics.gitbook.io/tutorials-1/control-relays-with-the-nextion-hmi-and-arduino/introduction.md).

# Introduction

In this tutorial you will learn how to control the relays on a relay shield with a Nextion HMI without using the Nextion Library. It is really simple unlike the Nextion library that takes up a lot of memory space and can be cumbersome to manage. So follow along and enjoy making this project and feel free to use the code in your own projects.&#x20;

<figure><img src="/files/wnm54bCq9x0wmAIgVGRO" alt=""><figcaption><p>Used the HMI to turn on the 2 on board relays. </p></figcaption></figure>
