Yash Sanghvi has Published 220 Articles

How to program a board using Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:13:14

235 Views

In order to program a board using Arduino IDE, first make sure that the correct board is selected in Tools -> Board, and also make sure that the board is connected to your machine and the correct COM Port is selected.Once you've done the basic verifications, you can click on ... Read More

How to compile code using Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:12:53

3K+ Views

There are two ways to compile code using the Arduino IDE.You can click the tick-mark button at the top-left. That will begin the compilation.Alternatively, you can go to Sketch -> Verify/ CompileThe compilation progress will be shown at the bottom of the screen.If you'd like to see Verbose print statements ... Read More

Check if the board is connected or not in Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:12:30

4K+ Views

In order to check if your board is connected to the Arduino IDE, you can go to Tools -> Port. It should show all the available COM ports.Now, you can disconnect your board. If one COM port disappears, then you can be sure that your board was connected and detected ... Read More

Add new header files in Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:12:08

2K+ Views

Sometimes, you may feel the need to define your own custom header files, for organizing your code better. Say you want to create a global_variables.h file for storing all your global variables.You can create the file within Arduino IDE by clicking on the bottom arrow at the top right of ... Read More

Get Source Codes of Libraries that come with Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:11:46

3K+ Views

Sometimes, you are just curious to know where the source files of Arduino are hidden. In other words, from where does Arduino know what to do when you write Serial.print(). Or where are the source codes of various libraries like SPI or Wire are stored.The Arduino Source Code files can ... Read More

See inbuilt examples in Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:11:09

214 Views

To see inbuilt examples in Arduino IDE, follow the steps given below −Step 1: Go to File.Step 2: Click Examples from the dropdown menu.Step 3: Select the relevant example from the category of your interest.If you add separate boards like ESP32 to your Arduino IDE, you can also see examples specific ... Read More

Serial Plotter in Arduino

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:10:46

509 Views

The Serial Plotter is available in Arduino Versions 1.6.6 and above. It is a handy tool for visualizing rapid incoming data, say from a sensor. With Serial Monitor, you may not be able to register the changes in the data, especially if the data is changing too quickly. Serial Plotter ... Read More

View Serial Output in Arduino

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:10:24

6K+ Views

In order to view Serial output (basically see whatever is printed by the device using Serial.print() or its variants), you can use the Serial Monitor built into the Arduino IDE.First connect the board to the Arduino IDE. This should show a new COM port in Tools -> PortIn case you ... Read More

Download a new library in Arduino IDE

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:09:13

192 Views

In order to download a new library, go to Tools -> Manage LibrariesSearch for the library of your interest in the window that opens up. Click on the desired library, and click Install.This will Install the library and you will be able to see the example specific to the library ... Read More

Add a new board in Arduino

Yash Sanghvi

Yash Sanghvi

Updated on 23-Mar-2021 11:08:49

346 Views

To add a new board in Arduino IDE, go to Tools -> Board -> Boards ManagerIn the window that opens up, search for the board of your interest, click on that board, and click on the 'Install' button. You can even choose to install an earlier version of the board ... Read More

Advertisements