Arduino Basics Part 2 : Arduino Seond Lesson of Arduino Tutorial

 Arduino Basics Part 2

This is the 3rd post of Arduino tutorial. In this post, we are going to talk about Arduino basics. These basics are little bit advanced. But not hard. Let’s get started.

So, this is the ‘File’ menu in Arduino IDE. There are New and Open options. You learnt them about in pervious post. ‘Open Recent’ gives you opportunity to open latest files that you opened. ‘Sketch Book’ is for see your all Arduino projects. You can see the all projects that you did in this tab. ‘Example’ is the most useful tab in Arduino IDE ‘File’ menu. It can open examples that comes with libraries. Also, you can learn about non-library projects using this menu. They inbuilt from Arduino. Others are easy options and you can easily understand them. By using ‘Page Setup’ option, you can customize Arduino IDE setup.
‘Preferences’ is much more advanced tab. You can learn about it later. It’s not necessary thing.

This is ‘Edit’ menu in Arduino IDE. Edit menu is used for editing code and text. ‘Undo’, ’Redo’, ‘Copy’, ‘Paste’ are the most common editing tools in every Editor. ‘Copy for Forum’ is for copying the whole code. ‘Copy as HTML’ is use for copying whole files as HTML friendly file. You can select whole code using ‘Select All’ option. ‘Go to Line’ is for go to code line. ‘Comment/Uncomment’ is for commenting uncommenting a line. Comment means that line is not uploaded to Arduino board. But you can see it in sketch. ‘Find’ option set gives you an ability to find some specific text in the code and replace it.


This is ‘Sketch’ tab of Arduino IDE menu bar.  ‘Verify and Compile’ is for verifying the sketch. ‘Upload’ is for uploading code to Arduino board. ‘Upload using programmer’ is bit complex one. It’s used for uploading codes to ICs using Arduino board. ‘Export Compiled Binary’ is for export the code as a binary file. You don’t need to use that option. ‘Import library’ means importing Arduino based library(sketchbook) to Arduino. It will make your program shorter and easier. In the ‘Add file’ section you can add INO (Arduino Project) file to your code.

Here is the ‘Tools’ tab in Arduino. This is the most interesting tab in Arduino IDE. By clicking ‘Autoformat’ tab, you can align your code. It will make the code easier to read. ‘Archive Sketch’ make the code as an Archive. ‘Manage Libraries’ will give ability to you to include libraries or remove libraries. ‘Serial Monitor’ and ’Serial Plotter’ will show you the Arduino outputs as digital values. Serial monitor is the common output type. In the ‘Board’ tab, you can choose your Arduino board. It much be chosen before uploading the sketch. ‘Get board information’ will get your Arduino board info like What type. ‘Programmer’ tab is also like ‘Upload as Programmer’ tab in ‘Sketch’. But not same. ‘Programmer’ tab for choose your IC type. ‘Burn Bootloader’ is also in the Arduino IC (Atmega, Attinty) programming.

So, this is a long topic, you can learn other part in our 4th Arduino tutorial post.

Post a Comment

If you have any doubt, Let us know

Previous Post Next Post