All posts by Manoj R. Thakur

About Manoj R. Thakur

In 2014 I started contributing to Open Source electronics, and life has just gotten better from there. Founder of Maven Technologies.

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.

Bluetooth Module Serial Communication AT command set

Ref: www.linotux.ch/arduino/

HC-05 embedded Bluetooth serial communication module has two work modes: order-response work mode and automatic connection work mode . And there are three work roles (Master, Slave and Loopback) at the automatic connection work mode. When the module is at the automatic connection work mode, it will follow the default way set lastly to transmit the data automatically. When the module is at the order-response work mode, user can send the AT command to the module to set the control parameters and sent control order. The work mode of module can be switched by controlling the module PIN (PIO11) input level. Continue reading Bluetooth Module Serial Communication AT command set

GSM Modem Interfacing With Arduino

In this tutorial we will learn how to interface GSM Modem and send SMS. GSM Modems are easy long range interface where we need to read sensor data or control electrical equipment. We will start with selection of GSM modem, AT commands and connection of GSM Module with Arduino. A GSM modem is a specialized type of modem or phone hardware on small PCB which accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone. Continue reading GSM Modem Interfacing With Arduino