This tutorial demonstrates the use of the onboard thermistor available on the ARIES IoT Board. The thermistor is a temperature-sensitive resistor that enables the board to measure changes in ambient temperature through an analog input interface.Integrated directly onto the board, the thermistor eliminates the need for external temperature-sensing hardware, making it suitable for environmental monitoring, thermal management, smart automation and IoT applications.

Aries IoT v2.0 Board

The ARIES IoT is a fully indigenous and a “Made in India” product to get started with basic microprocessor programming and embedded systems. This board is built upon a RISC-V ISA compliant VEGA Processor with easy-to-use hardware and software. For more details about ARIES IoT boards please refer to the ARIES development boards and Ecosystem.

Thermistor

The thermistor is a temperature-sensing component available on the ARIES IoT Board that enables ambient temperature measurement through an analog interface. It operates by varying its resistance in response to changes in temperature, allowing the microcontroller to determine temperature levels by measuring the corresponding voltage variation. The thermistor is directly connected to an analog input channel of the microcontroller, providing a simple and effective method for temperature monitoring. In the ARIES IoT Board, the thermistor is integrated internally, eliminating the need for external temperature-sensing hardware and making it suitable for environmental monitoring, thermal management,data logging and IoT applications.

Prerequisites

  • Windows 10 or above/Ubuntu 20.04 LTS or above
  • Arduino IDE
  • VEGA ARIES Board support package

Components Required

  • ARIES IoT v2.0 Board
  • USB type C cable

Circuit Diagram

No external connections required to test this code. You can directly connect Aries IoT board through USB and upload the program.

Procedure

Setup VEGA Ecosystem

Download and install Arduino IDE 2.3.10

Once installed Open Arduino IDE

Open File->Preferences, Add below JSON in “Additional Boards Manager URL”, Press OK

https://gitlab.com/riscv-vega/vega-arduino/-/raw/main/package_vega_index.json

Open Tools->Boards->Board manager, Search for “vega”

Install “VEGA ARIES Boards” with latest version

Select ARIES IoT Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES IoT

Check your ARIES board whether the BOOT SEL pin is shorted using a jumper or not.

If
BOOT-SEL jumper (J12) is shorted :
Select Tools -> Upload method -> VEGA FLASHER
Else
Select Tools -> Upload method -> VEGA XMODEM

Here the BOOT SEL pin is shorted, so we have selected VEGA FLASHER from Upload method

Also select appropriate port from Tools -> Port -> COM* (ARIES Board) for windows and dev/tty/USB*(Aries Board) for ubuntu

Now, Open Files -> Examples -Under Examples for ARIES IoT -> VEGA_ARIES_IoT -> Thermistor

Finally Upload the code to ARIES IoT board

Output

After uploading the program and opening the Serial Monitor at 115200 baud, the VEGA ARIES IoT Board continuously displays the ambient temperature measured by the onboard thermistor in Celsius, Kelvin, and Fahrenheit. Under stable room conditions, the readings remain nearly constant, while changes in the surrounding temperature cause the displayed values to vary accordingly.

Leave a Reply

Your email address will not be published. Required fields are marked *