---
title: "NORVI IIOT-AE03 – TEST PROGRAM"
description: "## **Introduction** This guide is intended to test the features and basic operation of the device, NORVI IIOT-AE03. **Files** [IIOT_AE03_NEW](https://norvi.lk/wp-content/uploads/2023/08/IIOT_AE03_NEW.zip)[Download](https://norvi.lk/wp-content/uploads/2023/08/IIOT_AE03_NEW.zip) ## **Table of Test Instructions** Flash the test code firmware before testing the device. Follow the instructions in the Guide…"
url: "https://norvi.io/docs/norvi-iiot-ae03-test-program/"
updated: "2026-07-14"
category: "NORVI IIOT / NORVI IIOT-AE03"
---

# NORVI IIOT-AE03 – TEST PROGRAM

## **Introduction**

This guide is intended to test the features and basic operation of the device, NORVI IIOT-AE03.

**Files**

 [IIOT_AE03_NEW](https://norvi.lk/wp-content/uploads/2023/08/IIOT_AE03_NEW.zip)[Download](https://norvi.lk/wp-content/uploads/2023/08/IIOT_AE03_NEW.zip)

## **Table of Test Instructions**

Flash the test code firmware before testing the device. Follow the instructions in the Guide to Flashing**the Test Code Firmware** guide, to flash the binary code.

| **Testing component/****feature** | **Test** | **Expected Output/Outputs** |
| --- | --- | --- |
| Power | Provide a 24V DC supply. | The red LED inside the device glows. |
| Digital Inputs | Power up the device using a 24V DC supply. Connect the device to the PC using a USB cable, and check the serial monitor. Connect the GND and COM pins and supply 24 VDC to every digital input one by one. | In the input status, the status of all eight digital inputs will be 1. (As they are internally pulled up) The input status changes from 1 to 0, and the input side LED indicator glows accordingly. |
| Voltage Input | Power up the device using a 24V DC supply. After powering up the device, to check the working of the analog (voltage) input, supply a voltage between 0 and 10 V (10 V max) to the voltage input. Check this link for the wire connections. | A corresponding analog voltage step value is displayed. |
| Push Buttons | Press the 3 push buttons, one at a time. | The 4-digit analog status of the push button is displayed accordingly on the display. Analog status 1_ _ _  for the upper button Analog status 2_ _ _  for the middle button Analog status 3_ _ _  for the lower button |
| RS-485  Communication | For this test, a USB-to-RS-485 converter is required. Connect the RS-485 A and B pins of the Norvi device with the respective A and B pins of the USB to the RS-485 converter. Plug the USB end of the USB-to-RS-485 converter into the PC. Power up the Norvi device using a USB Cable. Open the Arduino IDE application. Select the correct COM port of the USB to RS-485 converter in the Arduino IDE and open the serial Monitor. Send the Number ‘**5**’ in the serial monitor. | In the serial monitor, the “RS485 SUCCESS” statement is printed. This indicates that the RS-485 **sending** operation is functioning properly in the Norvi device. Once the number “5” is received, all the output side LED indicators will glow simultaneously for a few seconds. Then later, they’ll continue to glow in their previous pattern. This indicates that the RS-485 **receiving**operation functions properly on the Norvi device. |

## **Test Program**

```cpp

                #define Analog1 33
#define buttonPin 32

int  buttonState = 0;

void setup() {

  Serial.begin(9600);
  pinMode(18, INPUT);
  pinMode(39, INPUT);
  pinMode(34, INPUT);
  pinMode(35, INPUT);
  pinMode(19, INPUT);
  pinMode(21, INPUT);
  pinMode(22, INPUT);
  pinMode(23, INPUT);
  pinMode(buttonPin,INPUT);

}

void loop()
{
  Serial.print("D1: ");                        //Digital Inputs Check
  Serial.print(digitalRead(18));
  Serial.print("tD2: ");
  Serial.print(digitalRead(39));
  Serial.print("tD3: ");
  Serial.print(digitalRead(34));
  Serial.print("tD4: ");
  Serial.print(digitalRead(35));
  Serial.print("tD5: ");
  Serial.print(digitalRead(19));
  Serial.print("tD6: ");
  Serial.print(digitalRead(21));
  Serial.print("tD7: ");
  Serial.print(digitalRead(22));
  Serial.print("tD8: ");
  Serial.print(digitalRead(23));
  Serial.print("n");

  Serial.print("Button: ");
  buttonState = analogRead(buttonPin);
  delay(50);
  Serial.print(analogRead(buttonPin));
  Serial.print("tAnalog: ");
  Serial.print(analogRead(Analog1));
  Serial.print("n");
  delay(1000);
}
```

#### Need help specifying the IIOT-AE03?

Talk to a NORVI engineer about relay/transistor mix or a custom variant for your panel.

   [Talk to an Engineer](https://norvi.io/contact-us/) [Email support@norvi.io](mailto:support@norvi.io)    Used in these applications  [IIOT documentation & wiring guides](https://norvi.io/docs-category/norvi-iiot-docs/) [Case studies](https://norvi.io/docs-category/case-studies/) [NORVI IIOT product overview](https://norvi.io/industrial-esp32-iiot-controller/)
