Skip to main content

introduction about arduino

Arduino is  an open source platform used to make the project.Its is an upgraded form of micro controller  specially target to the electronics lovers.programming are so simple so that it is easy to design a system of user  requirement.The Arduino program become more popular with people just starting out with electronics.
we can simply use USB cable,Arduino kit and a software in computer named the Arduino IDE  which use simplified version of c++ making easier to learn the program.


fig:-Arduino uno

as shown in figure above of Arduino port  A0,A1,A2,A3,A4,A5 are use for the analog input.and port 1,2,3,4,.......,13 are used for digital output/input.it is a microcontroller board based on ATmega 328p(data sheet).It contain every thing needed to support microcontroller.

It is connected to the computer using USB cable as shown in below program. 
we need Arduino IDE software on computer to program the Arduino.
The below example show the simplest thing you can do with Arduino to see the physical output.

HARDWARE REQUIRED
  • Arduino board with USB cable
  • LED
  • computer with programming software


the LED arrangement is made as shown in figure

code
int led=13;//it indicate that the led positive pin is in 13 number port
void setup () {
pinMode(led,OUTPUT);// this indicates that the led is act as output
}
void loop() {
digitalWrite(led,HIGH);//this indicate that the led glow 
delay(1000);//for 100 ns
digitalWrite(led,LOW);//The led will off in this stage
delay(1000);//for 1000ns
}
in this way led will blink for 1000 ns anf remain for 1000 ns ,this process is continue unless certain change made in the program.

Popular posts from this blog

warm clothes distribution program

‘ Small step can make a big difference ’ Rural Women Development Centre from morang,Nepal distributed the warm clothes to the needy people. They manage it possible by collecting fund from working staffs and management committe. Here is the video link of the distribution program. https://youtu.be/AxaHbivcQUM

SMPS of computer

                                            fig:- working principle of SMPS       fig :- SMPS of computer From the above figure, we came to know that the function of SMPS in computer which is to convert  the high 220V-AC to 0-12V DC.SMPS contain several color of wires which carry the different voltage to the different parts of the computer.The following table shows the different color cables and its carrying voltage.      

Multiple mcp23017 interfacing with Arduino

MCP23017 is the I/O port extender that runs on 12C. It is 16-bit I/O expender.in this tutorial we are going to interface the single and multiple  mcp23017 with arduino.  fig:- mcp32017 module IT has 16 I/O ports from PA0 to PA7 and PB0 to PB7. first of all we are going to interface the single mcp23017 with Arduino. For this  connect the circuit as shown on figure. Download the library for mcp23017  from  sketch-- include library -- manage libraries.