Skip to main content

Posts

Showing posts with the label Arduino Projects

Featured Post

Kerala's First 3D Printed Building

Created as a showcase project, AMAZE-28, the single-room summer house, was successfully constructed within 28 days on the grounds of the Kerala State Nirmithi Kendra. The 3D-printed building at the Kerala State Nirmithi Kendra in Thiruvananthapuram. (Photo: Shekunj)  The inauguration of Kerala's inaugural 3D-printed structure, a 380-square-foot single-room summer house, is scheduled to take place on October 10 at the Kerala State Nirmithi Kendra (Kesnik) campus located in PTP Nagar, Thiruvananthapuram.  Conceived as a showcase initiative, the summer house named AMAZE-28 was successfully finished within a mere 28 days. This impressive project was executed by Tvasta, a construction technology startup based in Chennai, founded by alumni of IIT-Madras, who have entered into a memorandum of understanding (MoU) with Kesnik.  AMAZE-28 is perched upon a concrete foundation atop a gentle elevation within the Kesnik campus. Febi Varghese, the Director and Chief Executive Officer of Kesnik, p

Using the ultrasonic sensor with Arduino - Complete Guide in 2023

 Ultrasonic sensors have become increasingly popular in recent years, particularly in the field of IoT. They are used in a wide range of applications such as distance measurement, object detection, and obstacle avoidance. The ultrasonic sensor works by emitting high-frequency sound waves and then measuring the time it takes for the waves to bounce back. This information can then be used to calculate the distance between the sensor and the object. In this article, I will provide a complete guide on using an ultrasonic sensor with Arduino. I will discuss the principles behind ultrasonic sensors and provide a step-by-step guide on how to connect and use the ultrasonic sensor with Arduino. I will also provide a circuit diagram and complete code to help you get started. Principles Behind Ultrasonic Sensors HC-SR04 Ultrasonic sensors work by emitting high-frequency sound waves that are beyond the range of human hearing. These sound waves bounce off any object in their path and re

Speed Control of DC Motor using Arduino and L293D Motor Driver

  L293D is a dual H-bridge motor driver integrated circuit that allows you to control the direction and speed of two DC motors simultaneously. In this tutorial, we will go over how to use the L293D motor driver with Arduino to control the movement of DC motors. Whether you are a beginner or an experienced engineer, you will find this guide helpful. Introduction to L293D Motor Driver LThe L293D is a dual H-bridge motor driver integrated circuit that allows you to control the direction and speed of two DC motors simultaneously. This versatile IC is a popular choice for controlling motors in a wide range of applications, from small robots to automation systems. The L293D is a 16-pin integrated circuit that is designed to drive DC motors. It works by applying a voltage to the inputs, which then outputs a controlled current to the motors. This current is what drives the motors and changes their direction and speed. The L 293D is capable of driving motors up to 600mA, making it i

Controlling an LED using Arduino and Python GUI: Arduino Projects

 If you're looking to get started with Arduino projects, controlling an LED using an Arduino board and a Python GUI is a great place to start. This project will not only help you understand the basic concept of controlling a device using an Arduino board, but it will also introduce you to the world of Python GUI programming. In this blog, we'll explore how to control an LED using an Arduino board and a Python GUI. Arduino Projects and Python Arduino is an open-source electronics platform that makes it easy for makers, hobbyists, and students to build interactive electronic projects. One of the simplest projects you can do with an Arduino board is controlling an LED. An LED is a small light-emitting diode that can be turned on and off using electrical signals. With an Arduino board, you can control the brightness and color of an LED using a few simple lines of code. Python is a high-level programming language that's widely used in scientific computing, data analy

How to use an LDR with Arduino

 LDR/Photo-resister with Arduino: This articles aims to show the reader how to use an LDR, also known as a photo-resistor in their projects.  How to use an LDR with Arduino After reading this article, the reader will be able to connect and read a photo-resistor, and use the code in their future projects! Components Needed Arduino Breadboard Jumper Wires (Male to Male) Photoresistor 1x 220 Ohm resistor Wire all the components as per the circuit diagram given below. How do we measure resistance The LDR varies its resistance based on light hitting it, and the Arduino technically only reads voltages, so how do we measure resistance? We are not REALLY measuring the resistance in this circuit, instead we are creating a resistor divider network between the LDR and the resistor, which will vary the voltage directly based on the LDRs value. We then read the voltage out of the divider network and print that value. Code //Variables int inPin = A0 ; //Pin the sensor is connected to int sens

How to use the Arduino to generate Pulse-Width Modulation (PWM)

 PWM using Arduino: In this article we will look at Pulse-Width Modulation, how to use the Arduino to generate it, and what it does.  How to use the Arduino to generate Pulse-Width Modulation (PWM) You will understand what PWM is, and how to use the Arduino to generate it. We will do this by dimming an LED. An LED is a Light Emitting Diode, and it can only be connected one way. If you connect it in reverse, it will not work at all. You can distinguish the polarity of an LED in two ways. Firstly, there will be a longer leg and a shorter leg on the LED. The longer leg is positive and the shorter leg is negative. Sometimes however, the leg length may not be easily visible. For instance, if you have cut the legs shorter for a different project, or bent them for a breadboard. In this case, you can use the second method. The second method is to look at the plastic body of the LED. You will notice one side of it is FLAT. This signifies the NEGATIVE side of the LED. Components Required Arduin

How to read digital input on Arduino

 This article shows how to create serial connection through USB between your Arduino and your computer in order to monitor the status of a switch.  Components Required Arduino Board Bread Board Jumper Wires Momentary switch or Push Button 10k ohm resistor Computer with Arduino IDE Circuit and Connections 3 wires should be connected to the board. The first two, red and black, allow access to the 5 volt supply and ground by connecting to the two lengthy vertical rows on the side of the breadboard. Digital pin 2 and one of the push button's legs are connected by the third wire. Through a pull-down resistor (10k ohm in this case), the button's identical leg is connected to ground. The button's opposite leg is wired to the 5 volt supply.  When you press a pushbutton or switch, it connects two points in a circuit. The pin is linked to ground (through the pull-down resistor) and reads as LOW, or 0. When the pushbutton is open (not pressed), there is no connection between the two p

How to blink LED using Arduino Tutorial

 The on-board LED is blinking in this example, which demonstrates the simplest thing you can do with an Arduino to observe physical output.  Components Required   Arduino board LED (optional) 220 ohm resistor  Breadboard Computer: PC/Laptop Arduino IDE installed on computer Circuit This illustration makes use of the built-in LED found on most Arduino boards. The number of the digital pin that this LED is attached to can change from one type of circuit board to another. We have a constant that is mentioned in each board descriptor file to make your life simpler. The built-in LED may be readily controlled thanks to the constant LED. The constant's relationship to the digital pin is seen here.  D13 - 101 D13 - Due D1 - Gemma D13 - Intel Edison D13 - Intel Galileo Gen2 D13 - Leonardo and Micro D13 - LilyPad D13 - LilyPad USB D13 - MEGA2560 D13 - Mini D6 - MKR1000 D13 - Nano D13 - Pro D13 - Pro Mini D13 - UNO D13 - Yún D13 - Zero You must assemble this circuit and link one end of the

How to Read Analog Input in Arduino from a Sensor

 This Article shows you how to read analog input from the physical world using a potentiometer. A potentiometer (also called pot for short) is a straightforward mechanical device whose shaft may be twisted to vary the resistance it offers. You may measure the amount of resistance a potentiometer produces as an analogue value by applying voltage to the potentiometer and into an analogue input on your board. In this post, you will establish serial communication between your Arduino and a computer running the Arduino Software (IDE) and then check the status of your potentiometer.  Components Required Arduino Board Bread Board Jumper Wires Potentiometer - 10k Ohm Computer/Laptop with Arduino IDE Circuit The potentiometer's three wires must be connected to your board. The first connects to ground from one of the potentiometer's outer pins. The second connects to 5 volts from the potentiometer's other outside pin. The third connects the analogue pin A0 to the potentiometer'

How to use SD Card Module with Arduino?

 Using SD Card Module with Arduino  In this article, I am going to explain how to use SD card module with Arduino to write and read data. This article will help you to make your own data logging system such as - temperature logging system, humidity logging system, speed logging system, acceleration and gyroscope data logging system, etc. Components and Parts Arduino UNO SD Card Module Computer SD Card  Power Supply   Circuit Diagram   Download Libraries SD Card Library - SD.h : Download SPI Library - SPI.h: Pre-installed in Arduino IDE Arduino Code for Writing Data to SD Card #include < SPI . h > #include < SD . h > File myFile ; void setup ( ) { // Open serial communications and wait for port to open: Serial . begin ( 9600 ) ; while ( ! Serial ) { ; // wait for serial port to connect. Needed for native USB port only } Serial . print ( "Initializing SD card..." ) ; if ( ! SD . begin ( 10 ) ) { Serial . println ( "initialization failed!&qu

Obstacle Avoiding Robot Kit

 Obstacle Avoiding Robot: If you landed on this page, you must be a robotics enthusiast. You must be thinking to learn the robotics. Obstacle Avoiding Robot is one of the most liked beginner level robot. It will teach you a lot of concept about electronics, coding, micro controller and robotics. In this article, I will help you to choose the component for making a obstacle avoiding robot. So, Lets get started.  Obstacle Avoiding Robot - Kit and Components Obstacle avoiding robot is a programed movable object (car, four wheel drive, 3 wheel drive) which is intelligent enough to avoid obstacles coming in its path and change its path to reach at the target. I am providing here the list of parts or components so that you can assemble and make the simple object detection and avoiding mechanism of the robot. Obstacle avoiding robot is made up of following type of components: Mechanical Parts/Hardware Electronics Components/Hardware Software/Arduino Code  So, Lets discuss each part one by one

How to use high torque stepper motor with Arduino ?

 In this article we will learn to use a 60kgcm planetary geared stepper motor ( high torque stepper motor) using a Rhino RMCS driver and Arduino as controller. How to use high torque stepper motor with Arduino ? To perform this activity we will need following components - 60 Kg-cm planetary geared stepper motor Stepper motor driver ( Rhino RMCS) Power source (5VDC and 24VDC) Arduino UNO / MEGA / NANO After collecting all components we will need arrange them in a circuit. The circuit diagram for this activity is shown below. After completing the circuit, we need to upload the code to Arduino board to run the motor. The detailed Arduino code and its explanation is given below.