> 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="https://2294485001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsTQPf3S87QRlvhJfhPos%2Fuploads%2FOZBAV3SVSSwmpMLs5ezu%2FArduino_Nextion_relay_cntrl.jpg?alt=media&amp;token=0ea7c85c-cbda-40ce-8ea4-d875afca5fd1" alt=""><figcaption><p>Used the HMI to turn on the 2 on board relays. </p></figcaption></figure>
