<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Introduction to Arduino</title><link>https://community.element14.com/products/arduino/w/documents/3147/introduction-to-arduino</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Introduction to Arduino</title><link>https://community.element14.com/products/arduino/w/documents/3147/introduction-to-arduino</link><pubDate>Sat, 04 Aug 2018 21:20:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f74f19f1-69b2-4648-84c0-16360c0d00ee</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/products/arduino/w/documents/3147/introduction-to-arduino#comments</comments><description>Current Revision posted to Documents by tariq.ahmad on 8/4/2018 9:20:00 PM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="background-color:#f2f2f2;padding:0px;margin:0px;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="2" style="padding:8px 15px 8px 12px;"&gt;&lt;a href="/products/arduino/"&gt;&lt;img alt="image" src="/e14/assets/legacy/2017/Ard_logo.png" style="vertical-align:top;"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="2" style="padding:6px 12px 8px 0px;"&gt;&lt;p style="margin:0;padding-bottom:4px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/products/arduino/"&gt;&lt;span style="font-size:18px;color:#00979d;"&gt;Arduino Home&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;An Open-Source platform to create digital devices and interactive objects that sense and control physical devices.&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:10px 12px;vertical-align:middle;background-color:#deb81b;" width="24%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/products/arduino/arduino-tutorials/"&gt;&lt;span style="color:#ffffff;text-decoration:none;font-size:12px;"&gt;&lt;strong&gt;Arduino Tutorials&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:10px 12px;vertical-align:middle;background-color:#df7321;" width="24%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/products/arduino/arduino-projects/"&gt;&lt;span style="color:#ffffff;text-decoration:none;font-size:12px;"&gt;&lt;strong&gt;Arduino Projects&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;Arduino is a family of circuit boards that make microcontrollers easy to use. &lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;The microcontroller on the Arduino Uno circuit board is an Atmel AVR 8 bit chip. &lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;A microcontroller is basically a tiny, low powered computer that can run small simple computer programs. &lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;Atmel AVR microcontrollers are notable for being one of the first microcontrollers to use on-chip flash memory for program storage.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&amp;nbsp; 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.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;Arduino got rid of all of that by creating the cross platform Arduino IDE that works with Windows, Mac, and Linux. &lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;Uploading your code to Arduino is as simple as connecting a USB cable to your board and clicking a button.&lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&amp;nbsp; (Just not Linux, Linux variants, or Windows because of the resources required)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;What Arduino is good for is for acting as the microcontroller “brain” of your electronics projects.&amp;nbsp; 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 &amp;amp; design projects that they probably aren’t aware they could do because they don’t have the technical background.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x413/__key/communityserver-wikis-components-files/00-00-00-02-65/7282.contentimage_5F00_99437.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/65/7282.contentimage_99437.jpg-620x413.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=dwFhicrsjKNNJeLCFLJsxad4c7W2yHvvXsHVtBRuzWg%3D&amp;amp;se=2026-08-13T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=/H5zleqgVi9nBtSaEVZ0MA==" style="max-height: 413px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#3334ca;font-size:20px;font-weight:bold;"&gt;The Arduino IDE&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;The USB cable you use to upload programs, referred to as sketches, also powers the Arduino board.&amp;nbsp;&amp;nbsp; You could also get a separate power supply and a lot of projects involve connecting the Arduino to some sort of battery.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;A sketch is what you use the Arduino IDE for.&amp;nbsp; It is a unit of code that is uploaded and used to upload your programs to the microcontroller on your board.&amp;nbsp; You can run only one program at a time with on an Arduino board.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;The Arduino IDE supports the languages C and C++ using special rules of code structuring.&amp;nbsp; The reason for this is to make programming your board as simple as possible.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;A minimal Arduino C/C++ sketch consists of two functions:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/507x428/__key/communityserver-wikis-components-files/00-00-00-02-65/1411.contentimage_5F00_99438.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/65/1411.contentimage_99438.jpg-507x428.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mgcGb3AYqhD64z7M%2BOPFtHxllxZHIqrIqLu1KAHqQys%3D&amp;amp;se=2026-08-13T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=LEFchLxcSuu2LlM1I4c4zw==" style="max-height: 428px;max-width: 507px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;For those who have programmed C or C++, you know there&amp;#39;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.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;Its called the Arduino IDE and it&amp;#39;s also a good place to start if you’ve never programmed a microcontroller.&amp;nbsp; It’s possible that you’ll start with and then move onto other development boards down the line.&amp;nbsp; If you do so you&amp;#39;ll likely be on your own for most things.&amp;nbsp; That&amp;#39;s because, what makes the Arduino special is the tremendous support and documentation that already exists around you.&amp;nbsp; It lets you jump right into advanced projects because so many people have provided their work on it, freely and openly.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10.5pt;font-family:Helvetica, sans-serif;"&gt;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.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/600x450/__key/communityserver-wikis-components-files/00-00-00-02-65/4643.contentimage_5F00_99439.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/65/4643.contentimage_99439.jpg-600x450.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=FluRb%2B9GVMs8Np0AFV329JMA%2BFil4YcHkYyD2yOrCGM%3D&amp;amp;se=2026-08-13T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=8yBmNWRWPeEzZo/eXFDD7w==" style="max-height: 450px;max-width: 600px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: arduino uno, arduino_tutorials&lt;/div&gt;
</description></item></channel></rss>