BRLAB DOCS
HomeTutorialsHardware
Control Relays with the Nextion HMI and Arduino
Control Relays with the Nextion HMI and Arduino
  • Introduction
  • GETTING STARTED
    • What You Will Need
    • Wiring
  • HMI GUI
    • Nextion HMI Setup
    • GUI Design
    • HMI Code
    • Load Code on the HMI
  • NANO EVERY CODE
    • Task to Complete
    • Writing the Code
      • Comment Header
      • Define Global Variables
      • void setup()
      • void loop()
      • void serial_input()
    • Application Code
    • Files
Powered by GitBook
On this page

Introduction

NextWhat You Will Need

Last updated 2 years ago

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.

Used the HMI to turn on the 2 on board relays.