Showing posts with label DIY. Show all posts
Showing posts with label DIY. Show all posts

Wednesday, 7 February 2018

Arduino and processing based GUI person counter

In this post, we will make arduino and processing based GUI person counter. For person counter, we are using infrared sensor (IR). It's output is digital and is fed to pin number 7 of arduino.

The connections are as follows:
Connection of arduino with proximity sensor




Tuesday, 1 August 2017

Step by step installation guide for ch340 USB-UART converter

Hello Friends,

In this tutorial, we will cover how to install ch340 driver for different versions of windows.
CH340 is USB-UART converter and is used for serial communication with PC/ laptop with external device e.g. GSM module, GPS module, arduino pro, etc.

Things required:

CH340 USB-UART

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

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, 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

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.

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

Saturday, 27 August 2016

Password protected system with AVR using DTMF

Password protected system using DTMF

Hello guys, this project is about password protected system using DTMF module. By using a predefined number we can make output either high or low by using the three digit code.
The codes can be changed in the program.

Components required:

  • Atmega 16A
  • USBasp programmer
  • AVRdudes (for burning hex file)
  • AVRStudio 4
  • Compiler used: GCC
  • DTMF module
  • 3.5 mm audio jack

FOR OUTPUT LOW CODE IS str1="248"
FOR OUTPUT HIGH CODE IS str2="842"

Connections are as follows:

Q0-PD0
Q1-PD1
Q2-PD2
Q3-PD3

Output is from: PB0.

Saturday, 25 June 2016

Interfacing GPS module with computer using terminal software

In this post, we will learn how to interface GPS module with laptop/ computer using terminal software like Bray's terminal.

Stuff required:


  1. GPS module
  2. 12V 2A dc adapter
  3. USB-TTL converter
  4. Female to female jumper wire
First of all, power up the GPS module using 12 volt adapter. 
Download any terminal program. I am using bray's terminal.

Friday, 24 June 2016

DIY dtmf module and interfacing with arduino uno


In this post, we are going to make dtmf module and interface it using arduino.

DIY dtmf module with arduino uno
My prototype

Theory of  DTMF:
Full form of dtmmf is dual tone multi frequency. The DTMF telephone keypad is laid out in a 4×4 matrix of push buttons in which each row represents the low frequency component and each column represents the high frequency component of the DTMF signal. Pressing a key sends a combination of the row and column frequencies. For example, the key 1 produces a superimposition of tones of 697 and 1209 hertz (Hz). Initial pushbutton designs employed levers, so that each button activated two contacts. The tones are decoded by the switching center to determine the keys pressed by the user.

Sunday, 22 May 2016

DIY audio amplifier using lm386

In this post, we will make a diy audio amplifier using lm386.

LM386 is low voltage audio amplifier and it's gain is in the range of 20 to 200

Parts required:


  1. LM386
  2. Breadboard/ perfboard/ stripboard
  3. 10k pot
  4. 8 Ω speaker
  5. 9 volt battery
  6. 220 uF capacitor
  7. connecting wires
Circuit diagram:

fritzing circuit diagram audio amplifier
Circuit Diagram
In this circuit, pot of 10k is used for controlling the volume. Gain in this circuit is 20. You can also also power supply of 5 volt. This is the basic circuit having gain equals to 20 and there is no bass in this circuit. You can give audio input from mobile/laptop.

Hope you had enjoyed the tutorial.

Stay tuned for more updates !!






Saturday, 12 March 2016

IR remote based home automation using arduino

IR remote based home automation using arduino:

With new advancement in technology, we are going towards automation. In this post we will learn how to control your home appliances using IR remote. Since bluetooth and wifi are expensive as compared to IR remote.

List of components:

1. Arduino Uno
2. TSOP 1738/1838
3.  6 V/7 A relay * 2
4. ULN 2003

Block diagram of IR remote based home automation
You can download the code from the following link:
https://drive.google.com/file/d/0B4Px6Drl6Zz_Um9ZbC1Ra09ONkU/view?usp=sharing

The code is self-explanatory.

Check out the video:





Stay tuned for more projects !!

Tuesday, 1 December 2015

Line follower robot without using microcontroller

Line follower robot without using microcontroller:

In order to make line follower robot, we have to use L293D, which is motor driver ic used to control the motors. IR sensor which gives its input to the motor driver ic i.e. L293D. 7805 is there to convert 9 volts to 5 volts. We can implement this circuit on breadboard as well.


Line Follower Robot

For circuit diagram, refer to Fritzing sketch given below:

Fritzing sketch

The motors are geared one, as we know that geared motor has more torque than normal motor. That's why we are using geared dc motor. In this figure, we are using two 9-volt battery, one is for motor driver and ir sensor while other one is dedicated for motor.

Pin diagram of  L293D
L293D is also known as h-bridge. In L293D, we have to two channels by which we can control two motors. 600mA output current per channel.

Truth Table of L293D

That's all for line follower robot.

Feel free to comment here.

Stay tuned for more projects....






Friday, 10 July 2015

DIY arduino board

You can make your own arduino board provided you need a  programmer to upload programme on the board. We can make USBasp programmer from the previous post.
 
Arduino had lots of varities e.g. Arduino NG, Arduino Uno, Arduino Mega , etc.

We are going to use Arduino NG which uses Atmega8/Atmega168 or we can also use Arduino UNO which uses Atmega328.

We are using Arduino IDE 1.6.0 and we have to click on Tools>Programmer>USBasp


 Then we have to click on Tools>Boards>Arduino NG or older.