Reader small image

You're reading from  Arduino BLINK Blueprints

Product typeBook
Published inMay 2016
PublisherPackt
ISBN-139781785284182
Edition1st Edition
Tools
Right arrow
Author (1)
Utsav Shah
Utsav Shah
author image
Utsav Shah

Utsav Shah is an instrumentation engineer who loves to work on the latest hardware as well as software technologies. He has been featured on India's leading website http://yourstory.in and Ahmedabad Mirror (Times Group) for his research work on "Converting sign language into speech" using a Leap Motion controller. Apart from his regular work at Infosys Limited, he manages activities of Infosys Robotics Club. In his leisure time, he loves to read books and work on cutting-edge technologies.
Read more about Utsav Shah

Right arrow

Arduino IDE


As, initially, Arduino was initially designed for artists and designers, the Arduino team has tried to develop Arduino software (IDE) as simply as possible without compromising on the power of the tool. Before you run your "Hello World" program, you need to install Arduino IDE on your computer.

Installing Arduino IDE

Arduino IDE is supported on all major operating systems, initially Windows, Mac, and Linux.

On Windows

  1. Go to https://www.arduino.cc/en/Main/Software.

  2. Download "Windows Installer" or "Windows ZIP file for non admin install".

  3. If you have downloaded "Windows Installer", double click on it and it will be installed.

  4. If you have downloaded "Windows ZIP file for non admin install", extract it and you will find arduino.exe. Double click on it to get started with the Arduino IDE.

On Linux

  1. Go to https://www.arduino.cc/en/Main/Software.

  2. Download "Linux 32 bits" or "Linux 64 bits" depending on your OS type.

  3. Extract it and run the Arduino executables to get started with the Arduino IDE.

On Mac

  1. Go to https://www.arduino.cc/en/Main/Software.

  2. Download "Mac OS X 10.7 Lion or newer".

  3. Extract it and run the Arduino executables to get started with the Arduino IDE.

Understanding Arduino IDE

If you have used IDEs such as Visual Studio, XCode, and Eclipse before, you'd better lower your expectations, because Arduino IDE is very simple. It mainly consists of an editor, a compiler, a loader, and a serial monitor. It has no advanced features such as a debugger or code completion:

Let's look into each button separately:

  • A: Verify button: This will compile the program that's currently in the editor. It does not only verify the program syntactically. It also turns it into a representation suitable for the Arduino board.

  • B: Upload button: This will compile and upload the current program to the connected Arduino Board.

  • C: New button: This creates a new program by opening a new editor window.

  • D: Open button: With this button, you can open an existing program from the file system.

  • E: Save button: This saves the current program.

  • F: Serial monitor: Arduino can communicate with a computer via a serial connection. Clicking the Serial Monitor button opens a serial monitor window that allows you to watch the data sent by Arduino and also to send data back. You will learn more about it in the Using serial communication section.

  • G: Editor window: This is where you will write the code.

  • H: Error console: This is where you will see all the error messages of your code.

  • I: Status bar: This will show the connected Arduino board name along with the COM port number.

Previous PageNext Page
You have been reading a chapter from
Arduino BLINK Blueprints
Published in: May 2016Publisher: PacktISBN-13: 9781785284182
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Utsav Shah

Utsav Shah is an instrumentation engineer who loves to work on the latest hardware as well as software technologies. He has been featured on India's leading website http://yourstory.in and Ahmedabad Mirror (Times Group) for his research work on "Converting sign language into speech" using a Leap Motion controller. Apart from his regular work at Infosys Limited, he manages activities of Infosys Robotics Club. In his leisure time, he loves to read books and work on cutting-edge technologies.
Read more about Utsav Shah