Sunday, May 19, 2019

Arduino

ELECTRICAL ENGINEERING TECH. (EE 306) Arduino look for Date 2013/2/16 INTRODUCTION In this brief report we will discuss a family of electronic placards called Arduino. At the beginning we shall provide an overview of the Arduino come alongs and what they are. after that we will tackle the senesces fraction and how the jury works. Finally an example of one of the applications will be shown. WHAT IS AN ARDUINO? An Arduino board is simply a microcontroller board. The board is designed with the purpose of facilitating the use of electronics in projects. The use of the board was intentionally made easy so that anyone female genital organ use it.The board comes with a software called the Arduino Integrated Development Environment. The software is used to broadcast the Arduino board to do the required operations. An Arduino board receives inputs from different sensors and responds by controlling different types of actuators. It is also worth-mentioning that the board and its software are open-source. It means that anyone can do anything with the board and its software. This nature has made the Arduino boards very normal among users because everyone can innovate with the board and share their innovations.However, this nature has also allowed clones with inferior qualities to be sold beneath the Arduino name. COMPONENTS There are many types of Arduino boards. Some components vary from type to type, but a simple Arduino board that can be built at home have the following components 1- An Atmel Microcontroller. 2- LEDs. 3- Resistors. 4- Capacitors. 5- Clock Crystal. 6- Switch 7- potential difference regulator. 8- associateion pins. 9- Diode. 10- Transistors. An Arduino boards capabilities can be extended by the use of shields. Arduino shields are boards that can be mounted on the Arduino board to perform different tasks.For example the Xbee shield allows multiple Arduino boards to spread abroad wirelessly, the motor shield allows the Arduino board to control a DC motor. 2P a ge HOW IT WORKS In general, a code is put in the memory of the board and then touch in the microcontroller. This code interacts with inputs and outputs. Inputs can be signals coming from sensors (light, voice, heat, etc. ) or results from another(prenominal) processed task. After processing the inputs in the microcontroller and applying the codes from the memory, the result comes in an output form (alarm, light, etc. ).Codes are indite in the memory by connecting the Arduino board to a computer. Connecting the Arduino board requires the use of an ICSP header or a USB cable television service such as the one found in the newer versions e. g. Arduino UNO (see figure 1). An Arduino board can be cater from a USB cable, an ACDC adapter or a battery by connecting it in the Gnd and Vin pins. Figure 1 Connect Arduino by USB EXAMPLE OF APPLICATION Blinking LED In this example, we will use the Arduino board equivalent a timer to turn a LED on for 1 second and off for anoth er second. 3P a ge To do this function see the code below / specimen Blinking LED const int LED = 13 void setup () pinMode(LED, OUTPUT) void loop() digitalWrite(LED, HIGH) delay(1000) digitalWrite(LED, LOW) delay(1000) The First line written after // is a comment that does not affect the program. In the second line, we define the constant connected to pin 13 as LED. After attaching the LED to the pin, we decide whether the LED should be an input or an output, in this case, we chose output. Next, we write the processing code, (digitalWrite(LED, HIGH)) this means to provide voltage to the LED, (delay(1000)) means waiting 1000ms ? s, (digitalWrite(LED, LOW)) means solecism off the voltage, (delay(1000)) the same process, which is waiting 1s. This code will be repeated in a loop. remainder An Arduino board can be a great starting point for anyone interested in microcontrollers. The board is easy to use and has a wide variety of applications. There are many tutorials available in the world web for the board due to its popularity. Although the board has many advantages, it still has its own limitations. REFERENCE 1 Arduino site, (http//arduino. cc/en/) 2 Simply Arduino, Eng. Abdullah Ali Abdullah, (http//simplyarduino. com/? page_id=5) 4P a ge

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.