ELECTRONIC PROJECTS BASE ON MICRO CONTROLLER AND SOME OTHER PRESENT USEFUL ELECTRONIC TECHNOLOGIES
Tuesday, 29 December 2015
Tuesday, 22 December 2015
Friday, 18 December 2015
8051 REMOTE CONTROL
8051 remote circuit diagram
8 channel remote
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 .
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
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
Wednesday, 18 November 2015
AUTOMATIC CONTROL THE GARDEN WATERING SYSTEM
I MADE A SIMPLE COMPUTER USING 8051 MICROCONTROLLER . THERE ARE TWO MODES OF THAT DEVICE AUTO AND MANUAL .
THIS IS WATER TEST SECTION . IT TELL WHICH SIDE OF GARDEN IS DRY OR WET .
PUMP AND LIGHT CAN BE CONTROL AUTOMATICALLY OR OWN SELF TWO OPTIONS FOR LIGHT AND PUMP CONTROL
THIS IS SIDE VIEW WHERE POWER PIN AND SENSOR IS CONNECTED
Subscribe to:
Posts (Atom)
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 ...
-
#include <Wire.h> #define flashaddress 0x50 int liters = 10058 , add1=10 , add2,time1=55; // value of liters save in flash byte data ...
-
#include <SPI.h> #include <nRF24L01.h> #include <RF24.h> //create an RF24 object RF24 radio(14, 33); // CE, CSN String o...