EXPERIMENT NO.
01
AIM: To study the basics of Arduino.
THEORY:
Arduino is an open-source platform used for building electronics projects. It
consists of both a physical programmable circuit board (often referred to as a
microcontroller) and a piece of software, or IDE (Integrated Development
Environment) that runs on your computer, used to write and upload computer
code to the physical board.It does not need a separate piece of hardware
(called a programmer) in order to load new code onto the board – you can
simply use a USB cable. And Arduino IDE uses a simplified version of C++,
making it easier to learn to program. Arduino provides a standard form factor
that breaks out the functions of the micro-controller into a more accessible
package.
Arduino products
It includes boards,Modules (a smaller form-factor of classic boards), Shields
(elements that can be plugged onto a board to give it extra features), and
Kits.At entry level Arduino UNO,Arduino LEONARDO,ESPLORA,Arduino
MICRO,Nano,etc. can be used.
The Uno is one of the more popular boards in the Arduino family and a great
choice for beginners.Also Arduino Duemilanove,Diecimila,etc.are used for
specific purpose.
Software
The Arduino Software (IDE) allows you to write programs and upload them to
your board.This software includes some sample programs for example blinking
of led , etc.Arduino language is merely a set of C/C++ functions that can be
called from your code. Your sketch undergoes minor changes (e.g. automatic
generation of function prototypes) and then is passed directly to a C/C++
compiler (avr-g++). All standard C and C++ constructs supported by avr-g++
should work in Arduino. Python can be used to program an Arduino, simply by
importing pyfirmata, which can interface the arduino with Python. Arduino IDE
derived from Processing IDE and has quite simplified C/Java-like syntax.
Hardware
conclusion
CONCLUSION: