Posts

Showing posts from February, 2015

Interfacing LCD Diplay with 8051 in 8 Bit Mode

Image
Circuit:  source code and simulation: click here  

How to Interface GSM with 8051

Image
The project explains interfacing of the AT89C51 micro controller with the GSM module and the Hyper Terminal. Hyper Terminal is a Windows application. The AT commands are sent by the Hyper Terminal to the GSM module. The Information Response and/or Result Codes are received at the micro controller and re transmitted to the Hyper Terminal by the controller. A GSM module has an RS232 interface for serial communication with an external peripheral. In this case, the transmit pin (Tx) of the computer’s Serial port is connected with the receive pin (Rx) of the GSM module’s RS-232 interface. The transmit pin (Tx) of the RS-232 of GSM module is connected to receive pin (Rx) of microcontroller’s serial transmission pin. And the serial transmit pin of the micro-controller is connected to the receive pin of the computer’s Serial port. Therefore the commands and their results are transmitted and received in a triangular fashion as depicted below. Code :   // Program to interface GSM Mo

Interfacing 4x4 Matrix Keyboard with 8051

Image
This is a simple example to interface a 4x4 matrix keyboard with 8051 Circuit:  Code:   // Program to interface controller with controller #include<reg51.h> #define port P1 #define dataport P2 // Dataport for lcd #define key P0 // Port for keypad #define sec 100 sbit rs = port ^ 1 ; sbit rw = port ^ 2 ; sbit en = port ^ 3 ; sbit col1 = key ^ 4 ; sbit col2 = key ^ 5 ; sbit col3 = key ^ 6 ; sbit row1 = key ^ 0 ; sbit row2 = key ^ 1 ; sbit row3 = key ^ 2 ; sbit row4 = key ^ 3 ; void delay ( unsigned int msec) //Time delay function { int i,j ; for (i = 0 ;i < msec;i ++ ) for (j = 0 ;j < 1275 ;j ++ ); } void lcd_cmd ( unsigned char item) //Function to send command to LCD { dataport = item; rs = 0 ; rw = 0 ; en = 1 ; delay( 1 ); en = 0 ; return ; } void lcd_data ( unsigned char item) //Funtion to send data on LCD { dataport = item; rs = 1 ; rw = 0 ; en = 1 ; delay( 1 ); en = 0 ; return ; } void lcd_data_string ( unsigned char * st

Smart Irrigation Using Solar Power

Image
SMART IRRIGATION SYSTEM USING SOLAR POWER Abstract: Today technology plays a vital role in improving the performance of every field. Similarly in the field of agriculture some resend technology helps the farmers to monitor and maintain their crops easily. Our project is also based on the maintenance of crops in the agriculture field. Introduction: Though there are pumps which will irrigate water by controlling it remotely, but it requires human supervision, also on the other hand we can’t use fixed timer based motor pumps. Since the pump irrigate water only based on timer, it will never consider humidity of the soil and type of crop used. Since in farming different crops consume different amount of water. Hence we need a system which will irrigate crops on the basis of, ·          Nature of crop ·          Moisture level of Soil. He we designed a system which will compensate the above requirements. Circuit Explanation:  There are six timing control available w

How to use Unix Commands in Windows

Image
   Do you wanna Enjoy the Comfort of Unix in Windows ?    (without internet)          No need of installing an Unix OS just follow the instruction below Step 1 :Download cygwin installer from internet                          Click here to goto download page Step 2: After Downloading open it Click Install from Internet Choose Direct Connection choose any one of the servers. After that click on Next till you get a window given below                                  Now Choose CUR on your top right and click on Next and proceed.It will take a lot time (Depends upon your connection) Step 3: After Downloading and Installation Completed.Now its time to configure system variables Step 4: Got MyComputer --> C drive --> cygwin --> bin Now Copy the path Step 5:Now goto  My computer->System Properties->Advanced System Setting->Environment   Variable Step 6;Now select  from User Variables Box Select P

How to Install Telnet In Windows

Image
Telnet  is a user command and an underlying TCP/IP protocol for accessing remote computers. Through  Telnet , an administrator or another user can access someone else's computer remotely. Its very easy to telnet in your Computer.Using Telnet you can work on unix server available online,communication with microcontroller and many more.Here are some steps how to install telnet in your computer Step 1: Go to  Start->type TurnWindowsFeatures On Step 2: Open it and wait for a while Step 3: Now choose telnet server and telnet client from the available option Step 4: Click on Ok and Restart your computer  Now Telnet has been installed in your computer For doubts watch this video

How to Hack Your College/Hostel Wifi for More Bandwidth

Image
Do you want to use the maximum bandwidth of your wifi connection ?? Do you want to block others using the wifi connection?? Step 1: Go to www.arcai.com and download netcut software click here to goto download page Step 2: Install it (Note :After installing Netcut it will ask your permission to install winPcap,You have to Install both the Netcut and WinPcap ) Step 3: Open Netcut as an administrator Step 4: Identify your laptop ip and wifi router ip. Step 5: Except your lap ip and router ip block all others ip by clicking on each ip and clicking cutoff(ready) tab,After blocking you will find like this Step 6: If u want to unblock an IP just click on it and click Resume tab Step 7: To avoid blocking your mobile/devices connected on the same network check for your mobile/device ip and avoid blocking it. For more check out this video For more check out this video

How to create distilled water in Home

Image
Distilled water  is  water  that has had many of its  impurities  removed through  distillation . Distillation involves  boiling  the water and then condensing the  steam  into a clean container.It has variety of applications.Mostly it is used in batteries by the normal people.It is very easy to make So here are the steps to make Distilled water at home.          1.Take a closed jar which has the opening at the top                                ( cooker ,kettle are recommended for this process.)          2.Now add a tube to the opening or just make an arrangement such that the steam should directed toward a plate or surface.Now the steam will be converted into water droplets when it hits the surface.         3.Collect the water droplets in a clean vessel.         4.The collected water is itself Distilled water. Note: In order to get pure Distilled water make sure the tube,flat surface,vessel are free from dust.

Reuse Your Rechargeable Batteries

Image
Did your UPS/Bike battery got expired ?? Don't throw it you can again reuse it Warning:This method is only for Lead Acid batteries,not for Lithium ion battery My desktop ups battery has expired and it was in dead condition.so I want to recycle the battery …this is a effective way and this method is used in battery servicing stations. it’s so simple and easy..U can do it in your home STEP 1 : things required 1)  Water  (more pure the water more effective outcome better u can use  distilled water )              you can use water that available in your home,but distilled water is more effective                 ( click here for How to make distilled water in home)                                                                           2)  Syringe  (anything which pours water on battery hole) 3)  Dead  battery (be sure that the battery is not in popped condition)    STEP 1 : Remove  the top cover of the battery as shown in fig BEFORE WATER FILLING