Category Archives: Arduino Tutorials

Text to Speech on arduino

Give your project a voice! Without Text-to-Speech Module, Arduino TTS library makes it possible, voice synthesizer that converts a stream of digital text into retro (robot) speech. Its simple needs only external LM385 amplifier with arduino Uno, No special components or shields required. Thanks to Gabriel Petrut and Clive Webster for making this thing.
Application Ideas:
  • Reading Internet-based data streams (such as e-mails or Twitter feeds)
  • Conveying status or sensor results from robots, scientific equipment, or industrial machinery
  • Language learning or speech aids for educational environments

Continue reading Text to Speech on arduino

Getting Started with Proteus

In this tutorial we are discussing on how to use arduino with Proteus simulation software. We assume that you have installed Arduino Library in your Proteus software. for installing arduino library in Proteus visit “How to add library in Proteus?” We will learn it by taking led blink example. Continue reading Getting Started with Proteus

How to get Hex file in Arduino ?

Hex file is needed for simulation and when you use separate programmer to program your microcontroller. In this tutorial we will see how to get hex file in Arduino IDE?

Steps to Get Hex File in Arduino IDE

These steps are applicable to all Arduino versions to get hex file.

Step 1: Open your arduino Software.

Step 2: Open any example code or write your own code. Continue reading How to get Hex file in Arduino ?

How to add library in Proteus?

Proteus is simulation and PCB designing software. Many times we need to simulate different circuits before we actually develop it, This tutorial shows how to add library in Proteus 7 and Proteus 8.

Following are the simple steps to add Library in Proteus

Step 1: Download Proteus library zip file example ARDUINO Proteus library

Step 2: Unzip library folder. You will see two files names as *.IDX and *.LIB in some cases third file is *.HEX.

In our example it is ARDUINO.IDX and ARDUINO.LIB

Step 3: Copy and paste these files in LIBRARY folder of Proteus

If you are using Proteus 7 Professional, then the library folder link will be something like this: “C:\Program Files (x86)\Labcenter Electronics\Proteus 7 Professional\LIBRARY

If you are using Proteus 8 Professional, then the library folder link will be something like this: “C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY”

Step 4: Close Proteus Software and reopen it to check it. That’s all.

You can find that adding library to Proteus, Arduino, Eagle is same just copy and paste the library files at proper location.

How to add library in arduino?

Arduino Libraries

Libraries are files written in C or C++ (.c, .cpp) which provide your sketches with extra functionality (e.g. the ability to control an LED matrix, or read an encoder, GSM, GPS, NRF24L01 etc.). Arduino software is kept flexible users can create there own library or add libraries for new devices.

Adding Library to Arduino

Step 1: Download your library zip file example Keypad.

Step 2: Unzip your library file. You will find files “Keypad.cpp”, “Keypad.h” and folder “examples” in a library name folder in our case Keypad. These three are essential parts of any library.

Note that library folder name should not start with numbers and space is not allowed in library folder name. 

Step 3: Find your Arduino Installation Location. By right clicking  on arduino shortcut icon. Click on Properties.

Find location of arduino installation
Find location of arduino installation

Step 4: You will see this screen and Click on Find Target

Find Installation Location
Find Installation Location

Step 5: Locate “libraries” folder and open it

Library Folder
Library Folder

Step 6: Copy and paste your library in this folder in our example it is “Keypad

Library folder
Library folder

Check that you have these files in example library “Keypad” folder

Inside keypad folder
Inside keypad folder

Step 7: Close Arduino IDE and reopen it to see the added library in Examples>>Keypad

Arduino Screen After Adding Library
Arduino Screen After Adding Library

Step 8: To use library you need to add it in your code using include command.
Example:
#include <Keypad.h>

To see the demo of keypad interfacing visit Matrix Keypad interfacing with Arduino

This way you can add libraries in arduino.