What is an Arduino? | Beginners Guide | Getting started with Arduino UNO
🙄 Why Arduino?
- Arduino is an open-source system. Software and hardware are hugely accessible and flexible to be customized and can extend.
- It is flexible and offers various digital and analog inputs, SPI and serial interface, and digital and PWM outputs.
- It is easy to use, connects to the Desktop/Laptop via USB, and communicates employing a standard serial protocol, runs in stand-alone mode, and as an interface connected to PC/Macintosh computers.
- It is inexpensive; Arduino Uno’s price is around $10 per board (Clone) and comes with free authoring software.
- C and C++ framework for AVR, ARM, and more
- Integrated Development Environment (IDE) for Windows, Mac
What can we do with Arduinos?
Official Arduino Boards
Arduino UNO R3
|Input Voltage (recommended)||7-12V|
|Input Voltage (limit)||6-20V|
|Digital I/O Pins||14 (of which 6 provide PWM output)|
|PWM Digital I/O and Analog Input Pins||6 each|
|DC Current per I/O Pin||20 mA|
|DC Current for 3.3V Pin||50 mA|
|Flash Memory||32 KB (ATmega328P) of which 0.5 KB used by bootloader|
|SRAM||2 KB (ATmega328P)|
|EEPROM||1 KB (ATmega328P)|
|Clock Speed||16 MHz|
How to Upload first Sketch on Arduino UNO R3
- setup(): This Arduino function is called once when a sketch starts after power-up or reset. Used to initialize the variable, input and output pin modes, and other libraries required in the Sketch. setup() is analogous to the function main().
- loop(): After setup() function exits (or ends), the loop() function is executed repeatedly in the main program. It controls the Arduino board until the Arduino is powered off or reset. loop() is analogous to the function while().