Category: Arduino UNO
-
How to make an Obstacle Avoiding Vehicle using Arduino UNO
Arduino Sketch Code Explanation The code is a simple obstacle avoidance program for a robot using an ultrasonic sensor and two motors. Let’s break down the code and explain each section: In this section, the code defines constants for motor pins (m1p, m1n, m2p, m2n) and pins for the ultrasonic sensor (echopin for echo and…
-
How to use attachInterrupt() in Arduino IDE to toggle an LED
Arduino, with its user-friendly environment and a vast array of libraries, opens up a world of possibilities for electronic enthusiasts and hobbyists. One of the key features that makes Arduino a versatile platform is the ability to use interrupts. In this blog post, we will explore the use of attachInterrupt() in the Arduino IDE to…
-
How to Transmit Data via UART with ATmega328P in AVR C using Arduino IDE
-
How to Initialize UART Communication with ATmega328P in AVR C using Arduino IDE
-
How to make a SONAR based on an ultrasonic sensor
SONAR stands for Sound Navigation and Ranging. SONAR uses the concept of ultrasonic waves that get reflected from the object in front of it. And the time it takes between the transmission and reception tells us about the distance it has traveled. Components Required After making the connection you have to make a sketch and…
-
How to make a simple Traffic Light using Arduino UNO
Everyone must have seen those big lights in red, yellow, and green color at the corner of every road. Some even flash. Some stay lit all day long. Big junctions have a separate controller which synchronizes these lights. So that the traffic flows smoothly. And the possibility of having a deadlock is minimized. That is…
-
How to make a plant watering system using Arduino Uno
Sometimes we are so busy in our work or in our day-to-day life that we forget to water our plants on time. Or in the summertime when the plants need additional water to sustain themselves in the high-temperature region like New Delhi. This is a simple project that one can assemble and implement within a…