Learn — Microcontroller

Line Following Robot Car Using Arduino Learn Guide

Posted by Kelly M on

Line Following Robot Car Using Arduino Learn Guide

In this article, we will guide you on making a robot car that can follow a line. We will be using the parts that we carry in our shop.  We will be using CAROBOT Motor Driver and Servo Shield to make connected Motors to Arduino UNO. The shield separate the Uno's PWM digital pins (3,5,6,9,10,11) and the non-PWM digital pins (2,4,7,8,12,13) for easy identification. Furthermore, it provides a 5V and GND rail for easy connections. The Motor and Shield shield is equipped with an L298N H-Bridge Motor Driver. This allows the shield to drive two DC motors.  We will also be using...

Read more →

How to use a photocell module

Posted by Kelly M on

How to use a photocell module

The light sensor is a photoresist, which is also known as a light-dependent resistor or photocell. It is used not only to detect light but also to measure the brightness or illuminance level of the ambient light. It has a wide range of applications, such as measuring the brightness of ambient light and controlling the lights turning on and off. How it works The more light the photoresist’s face is exposed to, the smaller its resistance is. Therefore, we know how bright the ambient light is by measuring the photoresistor’s resistance.  In this article, we'll talk about the setup and wiring...

Read more →

How to use a photodiode module

Posted by Kelly M on

How to use a photodiode module

The Photodiode Module can be used for measuring brightness and ambient light intensity and is often used in robotics application. Compared to a photo-resistor, photodiode is better in directionality. Therefore, photodiode is better suited when searching for a light source whereas photoresistor is better for generic light intensity measurement. Wiring  The photodiode module operates at 3.3V to 5V, and the digital output pin gives out a HIGH or LOW signal depending on the light intensity level. When ambient light intensity does not reach the threshold value, the "D0" port outputs a high lever; When the ambient light intensity exceeds a set threshold, the "D0" outputs a...

Read more →

How to use a HC-SR501 Sensor

Posted by Kelly M on

How to use a HC-SR501 Sensor

HC-SR501 is based on infrared technology, an automatic control module with high sensitivity and ultra-low-voltage operating mode, making it highly reliable to use. It is widely used in various auto-sensing electrical equipment, like battery-powered automatic controlled products. Wiring  The HC-SR501 sensor operates at 5V to 20V, and the digital output pin gives out a HIGH or LOW signal depending on if the sensor detects any motions. Thus, the sensor can be used without connecting to a microcontroller and just by a power supply and a load. For instance, it can be connected to the power supply and a lightbulb. Then,...

Read more →

Humidity and Temperature Sensor (DHT11) Guide

Posted by Kelly M on

Humidity and Temperature Sensor (DHT11) Guide

The DHT11 is a basic, low- humidity and temperature sensor. It makes it really easy to add humidity and temperature data to your electronics projects. It is used for remote weather stations, home environmental control systems, and farm or garden monitoring systems.    In this article, we will be talking about the set up and operating the sensor with an Arduino Board.  The DHT11 sensor has some range and accurate for collecting data:  If you want to know more, check out this DHT11 data sheet.  Humidity Range: 20-90% RH Humidity Accuracy: ±5% RH Temperature Range: 0-50 °C Temperature Accuracy: ±2% °C Operating Voltage:...

Read more →