Tuesday 29 December 2015

5v 1 amp DC POWER SUPPLY

5 VOLT 1 AMP DC POWER SUPPLY 

             IT IS very easy and cheap 5v supply for microcontroller or other digital electronic circuits . it can use to charge the mobile phone . 2nd diagram is useful for mobile charging it can connect with car battery and out put will charge the mobile 

Tuesday 22 December 2015

STREET LIGHT

                                AUTOMATIC LIGHT SWITCH 

IT is very useful circuit for home or building light . some time you forget to turn off light in morning and when you come home in evening then you see that light is on . so that circuit will turn on light in night and turn off in day time

Friday 18 December 2015

8051 REMOTE CONTROL

                                                   8051 remote circuit diagram
                                                   8 channel remote
                                               

REMOTE CODES

ORG 00H
MAIN:      MOV P1 , #0FFH
                 MOV TMOD , #20H
                 MOV SCON , #50H
                 MOV TH1 , #0FDH
                 CLR TI
                 SETB TR1
HERE:      MOV A , P1
                 MOV SBUF , A
        
HERE2:    JNB TI , HERE2
                 CLR TI
                SJMP HERE
                 END





IT is very simple and cheap 8051 base remote control projects . it have 8 channel mean 8 button in connected on port1 of remote and receive give the output on port 1 . it is very useful for RC project. by using long range RF module we can design a quad copter .
8051 remote receiver
8 channel receiver




RECEIVER CODES

ORG          00H
MAIN:        MOV P1 , #00H
                   MOV TMOD , #20H
                   MOV SCON , #50H
                   MOV TH1 , #0FDH
                   SETB TR1
                   CLR RI
HERE:       JNB RI , HERE
                  MOV A , SBUF
                  MOV P1 , A
                 CLR RI
                 SJMP HERE
                 END 



Tuesday 1 December 2015

8051 ASSEMBLY codes for led blinker

       connect all 8 bit of port2 to ledS the  leds will blink      

ASSEMBLY CODES FOR LEDS BLINKER


       ORG 00H
MAIN: MOV A , #0FFH
 AA:      MOV P2 , A
              CPL A
              ACALL DELAY500MS
               SJMP AA 
               DELAY500MS:MOV R7 , #125D ; DELAY FOR 250MS
               LOOP1: MOV TMOD ,#01H
               MOV TH0 , #0F8H
              MOV TL0 , #02FH
               SETB TR0
HERE:  JNB TF0 , HERE
               CLR TF0
               CLR TR0
               DJNZ R7 , LOOP1
               RET
              END              






CIRCUIT DIAGRAM








BUY THIS GARDEN PROJECT {HEX CODES AND DIAGRAM} SEND REQUEST ON USMANTODAY256@YAHOO.COM

Storing the long number(16bits / 32bits) in external flash of arduino or STM32 .

 #include <Wire.h> #define flashaddress 0x50 int liters = 10058 , add1=10 , add2,time1=55; // value of liters save in flash byte data ...