How to make an LED light up and blink using Arduino
Hello guys, This is my second article in the Arduino tutorial. Thanks so much for reading my articles. In the last article, I presented a full article about Arduino. I hope you have read it. So let’s go to today’s post. This tutorial includes how to make an led light up and blink using Arduino.
So First, let’s see what the Arduino language is. This language is essential for giving commands to the Arduino board or to perform any task. It’s a very easy language for learning. This language is based on C and C ++ high-level computer languages. It’s is the same as the English language. We will continue to learn this language step by step.OK let’s go to our first project.
For this project for I’m using the Arduino UNO board. Arduino UNO board is very good for this project and its low-cost board. In this project, I will present how to blink the LED bulb using Arduino. How to do it step by step is explained in detail below. The materials needed to carry out this project and the links where they can be purchased are given below.
- Arduino Uno board —- Amazon / Our Store
- LED Bulb —- Amazon / Banggood / AliExpress
Connect the anode pin of the LED bulb to the 13 pins of the Arduino board and the cathode pin to the GND pin. The GND pins on the Arduino board can be considered cathode pins. You must remember it.
The void setup is a function. It includes activities that only need to be done once. For example, To inform the pin Arduino board we use.
The void loop is a function. It includes This function includes things that are done continuously. For example, the Continuous blink of the LED bulb.
Let’s see step by step what the code is?
OK, the last step. Upload this code.
I hope you have learned something from this article. So, see you in the next blog post. Bye. have a good day.