In this tutorial we will learn how to use a high-torque stepper motor with the L293D motor drive shield. I used a high torque stepper motor with the L293D motor driver, so the L293D integration overheated. The cause is high current requirement. I modified the L293D Motor driver shield to solve this problem.
In this tutorial we will learn how to turn on / off anything at a specific time. For this we will use DS3231 RTC module and Relay module. Like time switch. Trigger a Relay with DS3231 Real Time Clock.
Building a LED strip light that visualizes all sounds and music, using simple components and some basic arduino programming. Build a simple driver circuit on a breadboard to amplify the Arduino output pins to provide the necessary current to the LEDs, and create your own light show! Also create a 3D case to be safe and portable.
In this project we will make a fun robot. This robot looks like a crab. With a phone application you can control the robot via bluetooth and grab (pick up) anything that is on the ground. In this project you can learn to create an android application and control Arduino via the HC-06 or HC-05 bluetooth module.
In this tutorial we will learn how to display a simple analog clock on the OLED screen. For this tutorial we will use OLED 128×64 I2C SSD1306 display, DS3231 Real Time Clock Module and Arduino Mega. For this tutorial we will use the source code and libraries created by Rinky-Dink Electronics.
In this tutorial we will learn how to make a “line following / follower robot”. We will use 4 channel infrared (IR) sensors for this. And we will use the Arduino board for control. For motors we will use the L298N motor driver.
In this tutorial we will learn how to make X Y Plotter Drawing machine. With Drawing Robot you can draw images on wall, panel or A4 paper. You can print pictures or print text. All required hardware for this project are listed below. We will learn how to install and use the Polargraph program for robot control. Video editing of this project took a lot of time. I hope the video will be useful to you. If you want, you can subscribe to the my channel for support.
There are few functions so useful that you find them everywhere. The ‘for loop’ is an example of this type. A For Loop repeats an action for a specified number of iterations, reducing the lines of code that need to be written thus making the programmers life easier. In this example we are setting out to make a row of LEDs light up somewhat similar to Kit in Knight Rider.
In the last lesson we learned about the “If statement”. The “If statement” was the perfect choice for setting up instructions to run only when certain conditions are met. “If 30 seconds has passed – stop the heating element” or “If the sensor perceives a wall – turn 180 Degrees”. This lesson will expand on this amazingly useful function and show you how to stack different conditions to meet the flexibility you will want in your designs.
Lets expand the repertoire of output that we can use by looking at the function analogWrite(). I experienced much confusion with analogWrite(), because I suspected that it had to do with the analog pins on the Arduino. The function, however, has nothing to do with the analog pins. There are 5 pins on most Arduino boards marked with an ‘~’ next to the pin number – these pins can be invoked to rapidly change the power being applied at the pin – this is a technique called pulse width modulation (PWM).
In the last lesson you learned about using the analogRead() function to collect data from a sensor connected to one of the Arduino’ analog pins. The range of data we received from the analogRead() function, was mapped from 0 to 1023. What if we wanted to know the actual voltage being applied at the pin?
Knowing if something is on or off can be extremely useful, but often you will want to know more. How bright is the light? How fast is the satellite moving? These types of answers are often analog – they cover a large range of values, not just on or off. The Arduino handles analogs inputs with 6 dedicated pins, labeled A0 through A5. These pins have access to an analog-to-digital converter, which takes the range of input values and creates a digital version by cutting up the range into tiny pieces. All this is handled behind the scenes –…
As simple as it may seem, knowing when something is either on or off can be a great tool to designing something useful. Answers to the following questions are what this lesson plans to tackle: Is a button being pressed? Has a switch been turned on? What is my on/off sensor status? When you can answer questions like these, you can implement actions based on the current status – if the button is pressed do this – otherwise, do that. If the sensor is HIGH take this action, otherwise do nothing. You get the gist. But before we can…
The first program you usually write when learning a new programming language is called “Hello World”. The program outputs those words as its only function. When learning to program microcontrollers such as the Arduino, the equivalent of “Hello World” is a program that blinks an LED. Guess what it is called – Blink.
A variable is like a bucket. You choose what types of stuff you want in the bucket and can change the contents as often as you like. When you declare a variable, you are telling the program two things, firstly – what types of things you plan to put in the bucket, and secondly, what the name of the bucket is so you can refer to it later. If you tell the program you will be putting fluids in the bucket, than you can go all day filling it with beer, water, and iced tea – but the second…
The coding language that Arduino uses is very much like C++ (“see plus plus”), which is a rather common language in the world of computing. As I have alluded to in previous lessons, the code you learn to write for your Arduino will be very similar to code you write in any other computer language – all the basic concepts remain the same – it’s just a matter of learning a new dialect should you pursue other ventures. The code you will be writing is called “human readable”, that is, it will make sense to you (sometimes) and will…
IDE stands for Integrated Development Environment. Pretty fancy sounding, and should make you feel smart anytime you use it. The IDE is a text editor like program that allows you to write computer code for your Arduino board. When you open up the Arduino program, you are opening the IDE. It is intentionally stream lined to keep things as simple and straightforward as possible. When you save a file in Arduino, the file is called a sketch – a sketch is where you save all the computer code that you have written. Lets take a look at some…
One of the absolute best things about the Arduino platform is how easy it is to get started. The software that installs on your computer is completely free and designed specifically for ease of use. The program is called an Integrated Development Environment, or IDE. The fancy name might intimidate you but it runs just like a text editing program. As with any software install, you may have some peculiar things working on your computer that could hinder a smooth install. I have loaded the Arduino several times on different operating systems and have not had too many troubles….