element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Documents Introduction to Arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Arduino requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 4 Oct 2017 10:11 PM Date Created
  • Last Updated Last Updated: 4 Aug 2018 9:20 PM
  • Views 1963 views
  • Likes 12 likes
  • Comments 6 comments
Related
Recommended

Introduction to Arduino

image

Arduino Home

An Open-Source platform to create digital devices and interactive objects that sense and control physical devices.

Arduino Tutorials
Arduino Projects

 

Arduino is a family of circuit boards that make microcontrollers easy to use. The microcontroller on the Arduino Uno circuit board is an Atmel AVR 8 bit chip. A microcontroller is basically a tiny, low powered computer that can run small simple computer programs. Atmel AVR microcontrollers are notable for being one of the first microcontrollers to use on-chip flash memory for program storage.

 

What made the Arduino popular, and the board of choice for so many maker projects Arduino is designed to make it easy to program microcontrollers thanks to the Arduino software development environment.  Before Arduino, you would typically have to type out a lot of binary and memorize a lot of hard to remember registers and instructions. You’d also have to use special programming hardware with custom cables to upload your program to your microcontroller.

 

Arduino got rid of all of that by creating the cross platform Arduino IDE that works with Windows, Mac, and Linux. Uploading your code to Arduino is as simple as connecting a USB cable to your board and clicking a button.You still can’t run a full operating system on an Arduino board, although there are microcontrollers out there that have progressed to the point where you can install an OS.  (Just not Linux, Linux variants, or Windows because of the resources required)

 

What Arduino is good for is for acting as the microcontroller “brain” of your electronics projects.  Because it is well supported there are code snippets that are all over the Internet that allow even beginners to do all kinds of complex electronics & design projects that they probably aren’t aware they could do because they don’t have the technical background.

 

image

 

This has all kinds of implications for creative artists that come up with good ideas, and have a natural interest in making devices that are beautiful.

 

The Arduino IDE

 

The USB cable you use to upload programs, referred to as sketches, also powers the Arduino board.   You could also get a separate power supply and a lot of projects involve connecting the Arduino to some sort of battery.

 

A sketch is what you use the Arduino IDE for.  It is a unit of code that is uploaded and used to upload your programs to the microcontroller on your board.  You can run only one program at a time with on an Arduino board.

 

The Arduino IDE supports the languages C and C++ using special rules of code structuring.  The reason for this is to make programming your board as simple as possible.

 

A minimal Arduino C/C++ sketch consists of two functions:

  • setup() – the function that is called once, when the sketch starts after you power-up or reset your board. It initializes the variables, input and output pin modes, and other libraries needed in the sketch.
  • loop () – after setup () function is run the loop () function is executed repeatedly in the main program. It controls the board until it is turned off or reset.

 

image

 

For those who have programmed C or C++, you know there's a bit of a learning curve, especially if you have no prior programming experience. Arduino simplified their programming environment with these people in mind. They want creative artists to make something beautiful so what they did is made it as simple as possible to program their board.

 

Its called the Arduino IDE and it's also a good place to start if you’ve never programmed a microcontroller.  It’s possible that you’ll start with and then move onto other development boards down the line.  If you do so you'll likely be on your own for most things.  That's because, what makes the Arduino special is the tremendous support and documentation that already exists around you.  It lets you jump right into advanced projects because so many people have provided their work on it, freely and openly.

 

There are also a lot of code snippets that you can use, to make your life even easier, thanks to the support of the open source community that has rallied behind it’s platform.

 

 

image

  • arduino uno
  • arduino_tutorials
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 7 years ago +6
    Thanks Tariq, Nice Introduction to Arduino. For people who want to do something with electronics the Arduino make an excellent entry point. John
  • mcb1
    mcb1 over 7 years ago +6
    Nice Intro. I sort of jumped into the deep end with Arduino. I'd been playing with Picaxe using their programmer which uses BASIC. The publisher of TheShed mentioned Arduino and I jumped online to our…
  • shabaz
    shabaz over 7 years ago +4
    It was a great introduction : ) I was a slow user to Arduino (I'd used just the C compiler for the AVR in the past), but I came to see that even for non-Arduino users, the Arduino 'API' became ubiquitous…
Parents
  • mcb1
    mcb1 over 7 years ago

    Nice Intro.

    I sort of jumped into the deep end with Arduino.

    I'd been playing with Picaxe using their programmer which uses BASIC.

    The publisher of TheShed mentioned Arduino and I jumped online to our local supplier and brought one.

     

    I had great exectations of the possibilities and then realised it used C++ and I was stuck in BASIC. image

     

     

    BUT I have to say the transistion was easier than I thought, and it is definately something I never regretted.

     

    The Picaxe world is still stuck with a few boards or custom pcbs, while Arduino has a huge range of 'off the shelf' products that can be used.

     

     

    I'm glad I ventured into Arduino, but the problem is I'm now reluctant to step outside into other IDE's because it's so easy.

     

     

    Cheers

    Mark

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • mcb1
    mcb1 over 7 years ago

    Nice Intro.

    I sort of jumped into the deep end with Arduino.

    I'd been playing with Picaxe using their programmer which uses BASIC.

    The publisher of TheShed mentioned Arduino and I jumped online to our local supplier and brought one.

     

    I had great exectations of the possibilities and then realised it used C++ and I was stuck in BASIC. image

     

     

    BUT I have to say the transistion was easier than I thought, and it is definately something I never regretted.

     

    The Picaxe world is still stuck with a few boards or custom pcbs, while Arduino has a huge range of 'off the shelf' products that can be used.

     

     

    I'm glad I ventured into Arduino, but the problem is I'm now reluctant to step outside into other IDE's because it's so easy.

     

     

    Cheers

    Mark

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube