Friday, 24 March 2017

Matlab with Arduino - Part 1

In this post, we are going to install arduino library in matlab.
There are two options available:
Online and Offline support package for matlab. We are using offline method for installation of arduino library.


  • Matlab 
  • Matlab account (for downloading support package)
  • Arduino IDE
  • Arduino UNO board
First of all, download the support package zip file from:

Thursday, 16 March 2017

Temperature based fan speed control using arduino uno and lm35

In this post, we will make a temperature based fan control using arduino and lm35. LM35 is temperature sensor, whose output is analog (linear). Arduino uno has six channle of adc (A0-A5)
and adc is of 10-bit

Stuff required:
  • Arduino UNO
  • LM35
  • LCD 16*2
  • POT 10k
  • Motor driver (L293D)
  • DC motor

Sunday, 5 March 2017

Getting Started with Raspberry Pi

Hello Raspberry Pi Lovers,

In this post, we are going to install NOOBS on raspbeery pi.

Stuff required:

  • Raspberry Pi 2/3
  • SD card booted with Raspbian OS
  • Hook-up wire
  • LED with 220ohm resistor
  • 5V/ 1A power supply
  • Monitor with HDMI port (or you can use HDMI to VGA)

Wednesday, 8 February 2017

Temperature logger using arduino and thingspeak

Hello Arduino lovers,

In this tutorial, we are making a temperature logger using arduino and thingspeak.
Let's start

Things required:

  1. Arduino Uno
  2. LM35
  3. Sim900 module
  4. Internet pack 
  5. Thinkspeak account

Thursday, 26 January 2017

Interfacing 20*4 LCD with arduino

Hello Friends,

In this tutorial, we are going to interface 20*4 lcd with arduino uno. As the name suggests it has 4 rows and twenty columns. In total, we can show 80 characters. It has blue backlight. It has 16 pins just like 16*2. The pin configuration of 20*4 lcd is similar to that of 16*2 lcd.

Circuit Diagram:
Connection on proteus

Monday, 9 January 2017

How to burn Arduino bootloader to atmega 328

In this post we will learn, how to burn hex file in avr microcontroller using programmer and burner software.

List of components/software:

1. USBasp programmer
2. Target circuit board having microcontroller (mine have atmega328)
3. Avrdudes (Burner software)

Prerequisites:
USBasp driver installed in your system.
If it is not installed, then read instructions about installation from my previous post.
USBasp driver installation

Default fuse byte for atmega328 is: LFUSE = 0X62 and HFUSE = 0XD9. It might vary
This corresponds to internal rc oscillator

LFUSE = 0XFF and HFUSE = 0XDE
This corresponds to external oscillator having frequency 16 MHz

Saturday, 31 December 2016

How to update esp8266 firmware

In this post, we are going to upload firmware to ESP8266 (ESP-01) . The firmware can be updated by both arduino as well as usb-ttl module.
ESP-01 is wifi SoC module and it has two GPIO pins i.e. GPIO0 AND GPIO2
For using ESP8266, we can use either AT commands using any terminal software/ esplorer ide (it supports lua programmming and AT commands) or we can use arduino library.
ESP8266 is a 8-pin SoC having two GPIO pins, it requires 3.3 volt and the current consumed by wifi module can't be attained through arduino. Therefore, if we are using arduino we need external 3.3 volt power supply.
Esp8266 wifi module can act as STA as well as AP or both

Monday, 26 December 2016

How to make a simple IR remote tester using TSOP 1838

In this post, we will make a simple IR remote tester. Since infra red rays are invisible to light we can't check it using naked eyes. Therefore, we need some device/ instrument for testing it.

One simple method to check IR remote is by using mobile or digital camera. However, it's not handy.
We will make a simple circuit using TSOP1838

We simply need a Tsop1838, one led (RED 5mm) and a 220 ohm resistor.

Wednesday, 14 December 2016

Arduino knight rider circuit using led bargraph

In this post, we are going to make knight rider circuit using led bargraph. Led graph, it consists of 10 leds.

Stuff required:

  1. Arduino uno
  2. LED bargraph
  3. 220 ohm resistor
  4. connecting wires
Connections:

First of all, make connections as given in the diagram below:

Friday, 9 December 2016

Serial communication with arduino

In this post, we will learn how to serial communicate other device or arduino suing serial communication.

Introduction:

Serial communication (RS-232) is widely used communication for data transfer. It just uses three wires: Rx, Tx and GND

  In serial communication, 8/9 -bit is transferred through a single wire. The data frame is like this:

Start bit > Data fields (8 or 9 bit data) > Stop bit

Friday, 2 December 2016

Arduino based DC Voltmeter (0-50 volts)

In this post, we are going to make digital voltmeter using arduino uno. It's a DC voltmeter and it's range is 0 to 50 volt. As we know, arduino is an open source hardware prototyping platform used worldwide by the hobbyists, educators and students across the globe.
This is a handy voltmeter.

Stuff required:

  1. Arduino uno
  2. 16*2 lcd
  3. 10k pot
  4. voltage source

Friday, 25 November 2016

3*3*3 LED cube using arduino uno

Hello Friends,

In this post, we are going to make 3d led cube using arduino. It's 3*3*3 led cube, so require a total of 27 leds. For driving 27 leds we require driver IC like ULN2003.


List of components:
  • Arduino uno
  • 27 LEDs
  • ULN2003
  • Perfboard
  • 8 220 ohms resistor
  • Jumper wires

Tuesday, 15 November 2016

Line follower robot using Atmega8


In this post, we are going to make a line follower robot using atmega8. Line follower robot is based on tracking a line of particular colour. This is done by infrared (IR) sensor. IR sensor gives us a digital output.

Things required:

  1. Atmega8a 
  2. L293d (H-bridge ic)
  3. DC geared motor
  4. chasis
  5. 2 Ir sensor
  6. Power supply (9 volt battery)

Sunday, 13 November 2016

Sending SMS using Atmega16

Hello Friends, in this post we are going to send text sms using atmega16a and Gsm module.
First of all, GSM module is communicated using atmega16a using serial communication.

Stuffs required:

  1. Atmega16a 
  2. GSM module
  3. 12V, 2A dc adapter
  4. Sim card having sms pack
  5. Some jumper wires
Connection:

Make connection like this. 

Atmega16a                              GSM module
Tx              ========>          Rx
Rx              ========>          Tx
Gnd            ========>          Gnd

Sunday, 23 October 2016

Using internal pull-up resistor in arduino

In this post, we will discuss how to use internal pull-up resistor in arduino uno. It's quite simple.
No need of using external pull-up resistor.

What is pull-up resistor?

First, we will find what pull-up resistor is and why it is used.

In many microcontroller, there are no internal pull-up resistor. For example: In 8051, there are four IO ports. Port0 has no internal pull-up resistor. Therefore, it requires external pull-up resistor.

In arduino, the moment we define any pin as input it will attain tri-state. Tri-state is  a state between logic low and logic high. We must remove this condition. Some microcontrollers have built-in internal pull up resistor while some has not.

Tuesday, 18 October 2016

Interfacing accelerometer with arduino uno

Interfacing accelerometer with arduino uno


Introduction:

In this post, we are going to interface accelerometer with arduino. Accelerometer is a sensor used for detecting motion or change in coordinates. We have three coordinates i.e X, Y and Z axis. It's a five-pin device out of which are for power supply Vcc and Ground. The output of the sensor is in analog.
This sensor required three analog pins. We can provide Vcc and ground directly from the analog pins.
So, we are using five analog pins. Three for axis and two for providing power to the module.

Components required:

  1. Arduino Uno
  2. ADXL335 (accelerometer)
  3. USB type B cable for interfacing with computer.
Connections:

Make connections as follows:

ADXL335                                    Arduino
Vcc                                               A0
X                                                  A1
Y                                                  A2
Z                                                  A3
Gnd                                              A4

Friday, 14 October 2016

Smart street light using arduino

Introduction:


This project is about smart street light using arduino. This project consists of 3 analog IR (infrared) sensors. By default, the intensity of street light is set to 50 percent. We are using high intensity led as they have extra brightness. This project also features harnessing the solar and wind energy.
We are using a solar panel of  9 Volt, 2.5 watts and for wind mill, we are simply using a 12 volt dc motor.

Components required:
  1. Atmega 8a (based on arduino ng board)
  2. 8 high-intensity led
  3. Relay
  4. Perfboard
  5. 7805
  6. connecting wires
  7. solar panel (9 volt, 2.5 watt)
  8. Relay
  9. 12 volt DC motor.

Saturday, 8 October 2016

Temperature on GUI using visual studio and arduino

In this post, first we will interface LM35 with arduino uno and then  upload this data through serial communication. With the help of visual studio we can make computer gui application and though this gui application, we can do lot of stuffs like temperature logger, humidity monitoring. The

Stuff we require:

  1. Arduino uno with usb cable
  2. LM35
  3. Jumper wires
  4. Visual Studio (I had used VS 2012)
Make connections as follows:

How to interface temperature sensor, lm35 with arduino
LM35 interfacing with arduino



Simply provide, Vcc and GND to temperature sensor (LM35) and it's output should be connected to A0 of arduino. You can connect it to any channel from A0 to A5.

Friday, 30 September 2016

Temperature updation on thingspeak using sim900


In this post we are going to discuss how to upload temperature on thingspeak channel using sim 900 and arduino uno. As I had already uploaded the data on thingspeak channel using sim 900 and terminal software.

Introduction:

This project is a wireless temperature logger on thingspeak channel using gsm module and arduino.
For temperature sensor, we are using lm35, that gives output in millivolt which can be easily calibrated in  terms of  °C. We have to use adc module, since it's an analog sensor. Once the raw data is converted into temperature, we can upload the data.

Now, we are ready to upload the data on thingspeak channel. Thingspeak provides api for uploading of data. Before this, we have to use activate GPRS on sim900. We also to provide APN for accessing the internet. After activating the GPRS, we have to use GET like this:

GET http://api.thingspeak.com/update?api_key=KTQXXXXXXXXXXXXX&field1=data

Saturday, 24 September 2016

Internet of things: Data uploading on thingspeak using sim900

In this post, we are going to upload data on thingspeak using sim900 module.

Things required:

  1. SIM 900 module
  2. USB-TTL converter
  3. Terminal software
  4. Account on thingspeak
  5. 12 volt adapter for powering gsm module
First of all, make connections as follows:

GSM                                           USB-TTL

RX        ==============>    TX
TX        ==============>    RX
GND     ==============>   GND