Posts

Twisting the Possibilities with Arduino

Image
  Arduino From Ordinary to Extraordinary Hello guys! Welcome to the world of arduino. We are at new project.  LED either ON the or OFF digital prints but we have to find a method with which we can dim the LED. This Method is to use analogue with the use of this we can get output from 0 to 5 volt in between all values such as 1, 2 and 3 so if we increase the voltage the brightness of LED bill increase. 0------------5V 0 ------------255 At Arduino board highest voltage is 5 volt but in coding zero corresponds to 0 and 5 volt corresponds 255. Circuit Coding Use digital pins with symbol of analogue ~ So now write a program int redpin=9; int bright=255; Here 255 corresponds to 5 volt. void setup() { pinMode(redpin, OUTPUT); } void loop () { analogWrite(redpin, bright);  We declared bright variable is equal to 255 which means 5 volt that mean the LED will be turn ON. } Change the value of bright in above declared variable if we write zero voltage LED will be off. If we writ...

A Variable Approach to Blinking LEDs

Image
  Arduino Fundamentals  A Variable Approach to Blinking LEDs" Hello guys welcome to the world of arduino. A series to understand arduino from basics and reach at advance level. Now we are at our lesson number 4. In previous articles we write the code in the form of numbers such as pin number 13 or delay 1 second are thousand Milli second but here we will not use the number we will initialize a variable, hence we use variable instead of numbers. our project is about blinking leds, blink red LED 5 times then blink green LED 5 times and then blink yellow LED five times. The code is same as in previous article but use the variables instead of numbers. Circuit   Circuit is same as in previous article and let's move to our code section. Code int variable int variable is used to represent integers like 1, 2 ,3 , 1000, 5000 these are integers. We have pin like pin number 13 now 13 is an integer we also have delay of 500 milli second are 1000 milli second these also are in...

Taking LED sequencing to Next Level with Arduino

Image
A Step-by-Step Tutorial Hi Guys! Welcome to the world of Arduino. Today we are at Article no. 3 and I am more excited to share it with you. These articles are step by step tutorials. So if you are a beginner you can learn and go to advance level of Arduino. Today our problem is "There are 3 leds, make a project that firstly one led blinks 5 times, then second led blinks 5 times and then third." So we can use 3 leds of different colours such as red, green and yellow. Circuit  Make circuit on breadboard.  Use 3 resistors of 330 ohm resistance, one resistor with one led. Connect one leg of resistor with digital pin 13 and other leg to red led long leg. Similarly connect one leg of resistor with digital pin 12 and other leg to led long leg. Now connect the one leg of third resistor with digital pin 11 and then other leg to led long leg. Connect all short legs of leds to ground. Circuit is completed. Code Now it's turn to write code. void setup () { pinMode(13, OUTPUT); pinMod...

Blink, Blink, Revolution

Image
 A Fun and easy Project  Hi guys, welcome to the world of Arduino. This is our second article about Arduino, in this article we perform a project of blinking LED. A simple project to understand Arduino for beginners.  Circuit  Make circuit, connect positive leg of led with digital pin 13 and negative leg to ground of Arduino. Circuit is completed. Code Now move to Coding part. Open Arduino IDE and go to write new sketch. Now start code  void setup ()  { pinMode(13, OUTPUT); } void loop () { digitalWrite(13,HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } Code is completed in void loop LED will be on and then at delay part it remains on for 1000mili seconds or 1 second and then it will turn OFF for one second. This will be repeated over and over. Upload code and check your led. Conclusion  Hence we are successful in our simple project. We can also change the time of blinking by writing in delay. For example delay(500) for half secod. A very sim...

Code, Create and Innovate

Image
 A beginner's guide to Arduino  Hello Guys! Welcome to the world of Arduino. If you are a beginner and want to learn Arduino from zero to Advance level then this article is important for you. Here will be a series about Arduino that leads you from zero to high level. Like a phrase " From Zero to Hero". Starting with what is Arduino? " Arduino is an electronic platform that combines hardware and software." Hardware includes Arduino board and circuit while software includes Arduino IDE. There are many Arduino boards like  Arduino uno  Arduino mega Arduino Promini etc. But we will use Arduino uno because of its simplicity and flexibility. There are 13 digital pins on Arduino uno. Digital pins use for digital signals like High or Low, 0 or 1 and ON or OFF. Now Next part is Arduino IDE. Install it in your laptop or PC from Google. If you install 1.8.19 version it will use offline without need of internet. 2.0.0 version needs internet approach. After installing it con...