APDS9960 Proximity, Gesture and Ambient Light Sensor Interfacing with Arduino

APDS9960 Proximity, Gesture and Ambient Light Sensor Interfacing with Arduino

APDS9960 is a sensor that detects six different gestures, detects proximity, senses ambient Light and provides information about the presence of Colors Red, Green, Blue or Clear. It consists of a built-in UV, IR blocking filters, an I2C compatible interface, and four separate photodiodes. Furthermore, it detects gestures by sensing IR light waves reflected from … Read more

What is MQTT and How MQTT Works?

MQTT example block diagram

MQTT is a lightweight messaging protocol for IoT device communication. This tutorial explains the MQTT protocol and how the MQTT protocol works? We will start with the introduction of this lightweight messaging protocol, its applications in IoT, and what are the main concepts to understand Message Queuing Telemetry Transport protocol. Recommended Books Books that cover … Read more

FreeRTOS Arduino : How to Delete Tasks with vTaskDelete() API

FreeRTOS with Arduino Task Deletion output on Arduino Serial monitor

In real-time operating systems, multitasking is achieved by dividing each application into useful tasks. But not all tasks execute throughout the execution of the program. Some tasks are more important and execute more frequently than others. Therefore, in RTOS, some tasks can be deleted during program execution when there is no need to call them … Read more

How to use FreeRTOS structure Queue to Receive Data from Multiple Tasks

FreeRTOS Queue structure reading data from multiple resources with Arduino

This tutorial is about how to use FreeRTOS structured queue to receive data from multiple resources. In the last tutorial, we have learned to use message queues with FreeRTOS API and Arduino. But in that example, we used a single queue to receive and send data from single tasks. But in real-time operating systems, it … Read more

Arduino FreeRTOS Queue Management – How to use Queues

FreeRTOS queue example with LCD and ADC circuit diagram

In the last tutorial, we have seen the tasks management process of FreeRTOS with Arduino Uno. But today, we will learn how to create Queues using FreeRTOS API. In the last post, we have seen how to create tasks. But individual tasks cannot create an efficient and complete application. Because these independent tasks are smaller … Read more

BH1750 Ambient Light Sensor Interfacing with Arduino

Circuit diagram interfacing of BH1750 with Arduino

In this tutorial, we will learn how to interface BH1750 light sensor with Arduino Uno. Have you ever wondered how your mobile phone screen automatically adjusts its screen light? If yes, then your curiosity will end today. Because, in this tutorial, we will use one such sensor that is BH1750. We will display Lux value … Read more

VL53L0X LIDAR Distance Sensor Interfacing with Arduino

VL53L0X sensor Module ouput on Serial monitor

VL53L0X is a LIDAR based sensor which measures the distance between an object and a sensor. It measures distance up to 2m. This laser ranging sensor operates in a range of 2.5 to 3.6 volts and uses a time of flight principle for measuring distance. The sensor consists of a vertical-cavity surface-emitting laser (VCSEL). This … Read more

HMC5883L 3-Axis Compass Module Interfacing with Arduino

HMC5883 interfacing with Arduino

HMC5883L is a magnetometer module developed by Honeywell using anisotropic magnetoresistive technology. It is a multichip module that behaves as a digital compass IC to find the direction and measures the magnitude and direction of the magnetic field along the X, Y and Z-axis. HMC5883L module converts the magnetic field into differential voltage output on … Read more