Lecture 40: 8051 EdSim51 Simulator
18:03
Пікірлер
@AmitMishra-jh6ep
@AmitMishra-jh6ep 15 күн бұрын
nice explaination madam...very easily i understood
@fifaham
@fifaham 2 ай бұрын
Excellent presentation - thanks.
@ShrutikaRathod-il2mo
@ShrutikaRathod-il2mo 3 ай бұрын
Thank you so much mam
@AbdullahAlMamun-lf5nt
@AbdullahAlMamun-lf5nt 3 ай бұрын
please help, i use: PIC 16F676 microchip MPLAB X IDE This code is not working, Someone please write this code correctly #include <xc.h> #pragma config FOSC = HS // High-speed crystal oscillator #pragma config WDTE = OFF // Watchdog Timer disabled #pragma config PWRTE = OFF // Power-up Timer disabled #pragma config BOREN = ON // Brown-out Reset enabled #pragma config CPD = OFF // Data memory code protection disabled #pragma config CP = OFF // Flash Program Memory Code Protection off #define _XTAL_FREQ 4000000 // Crystal frequency //------------------------------------------------------------- #define BATTERY_HIGH_THRESHOLD 1000 // Adjust according to your battery voltage #define BATTERY_LOW_THRESHOLD 800 // Adjust according to your battery voltage //--------------------------------------------- void main() { ADCON0 = 0b00000000; ADCON1 = 0b00100000; ANSEL = 0b00000001; //...................... TRISA = 0b00000001; TRISC = 0b00000000; //------------------------------- while(1) { uint16_t batteryVoltage; GO = 1; while(GO == 1); batteryVoltage = (ADRESH << 8) | ADRESL; if (batteryVoltage >= BATTERY_HIGH_THRESHOLD) { PORTCbits.RC4=1; } if (batteryVoltage <= BATTERY_LOW_THRESHOLD) { // || PORTCbits.RC5=1; } else{ PORTC=0x00; } } } kzbin.infogaming/emoji/7ff574f2/emoji_u1f60e.png
@anithasshenoy6662
@anithasshenoy6662 4 ай бұрын
Superb & Simple presentation.
@ememeable
@ememeable 4 ай бұрын
Thankyou love is better understanding
@Hardeepsingh-re8xn
@Hardeepsingh-re8xn 4 ай бұрын
NICE VIDEO, WELL DONE SIR, GOOD LUCK
@ponnadadurgabavani3931
@ponnadadurgabavani3931 4 ай бұрын
Tnx mam it's very useful once again tnx mam😊
@user-qi7gy1xd1o
@user-qi7gy1xd1o 5 ай бұрын
An array of 10 numbers is stored in the intel RAM of 8051 microcontrollers starting from location 30H.How will i write the assembly language program to move the array location starting from 80H .
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Memory block transfer program video is available on channel. Watch it to clear your doubts
@user-qi7gy1xd1o
@user-qi7gy1xd1o 5 ай бұрын
An array of 10 numbers is stored in the intel RAM of 8051 microcontrollers starting from location 30H.How will i write the assembly language program to move the array location starting from 80H
@user-qi7gy1xd1o
@user-qi7gy1xd1o 5 ай бұрын
An array of 10 numbers is stored in the intel RAM of 80H microcontrollers starting from kocation 30H.How will i write the assembly language program to move the array location starting from 80H.
@slaymanxd3148
@slaymanxd3148 6 ай бұрын
Thank you mam you have take too much efforts for us thank you again very informative video 😊😊😊😊
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Thanks
@satvikachekoori9846
@satvikachekoori9846 6 ай бұрын
Just don't know how to thank u mam..
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Most welcome 😊
@omen3591
@omen3591 6 ай бұрын
is this the same as "Block exchange using external memory"??
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Use external memory data transfer instructions
@SunKing2
@SunKing2 6 ай бұрын
Very high quality. After reading and watching a lot of stuff abut Timer0 and not being too certain about it, this video is the final destination, and after this, everything is perfectly clear. There is no need to read another thing after this.
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Glad it was helpful!
@kishanmandal4821
@kishanmandal4821 6 ай бұрын
Very useful and helpful contents are available on this channel 🙏 Thanks for the great knowledge.
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Most welcome!
@anithasshenoy6662
@anithasshenoy6662 7 ай бұрын
Thank you very much. I was trying to find how I setup this ic and found this all-in-one info.
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
You are welcome!
@mba2ceo
@mba2ceo 7 ай бұрын
How many lines of CODE is 4M ROM ?
@StudyMicrocontrollers
@StudyMicrocontrollers 5 ай бұрын
Depends upon size of instructions
@gikiaffirmation
@gikiaffirmation 7 ай бұрын
help me help me
@meghcreation919
@meghcreation919 7 ай бұрын
Apne ORG 00h start nehi kiya?
@avinashghalme8308
@avinashghalme8308 8 ай бұрын
Good
@arnavborse5944
@arnavborse5944 8 ай бұрын
Thankyou mam
@yastop2111
@yastop2111 8 ай бұрын
❤❤❤❤❤
@pkk776
@pkk776 8 ай бұрын
Great mam , thanks a lot
@StudyMicrocontrollers
@StudyMicrocontrollers 8 ай бұрын
Most welcome 😊
@joshuatimileyin
@joshuatimileyin 8 ай бұрын
Good day Ma , You said we have to send Logic 1 to Port 1 and P2.5 because they are used as Input terminals to the microcontroller , I just want to confirm if there's no mistake because you mentioned at the beginning of the video that it's P2.6 that's the input terminal [ EOC] So do you mean SETB P2.5 or SETB P2.6
@Abhi-md4zf
@Abhi-md4zf 8 ай бұрын
count calculation for mode 0
@jj74qformerlyjailbreak3
@jj74qformerlyjailbreak3 8 ай бұрын
I struck gold today when i found your channel. I know it may seem small, this comment, but i send lots and lots of love and laughter with it. I can never pay tou for your teachings so please enjoy my words. God bless you and yours.
@jj74qformerlyjailbreak3
@jj74qformerlyjailbreak3 8 ай бұрын
I will say I e never had any experience with PIC microcontrollers. I have plenty of esp32 type controllers. However my work threw out a bunch of IR remote controllers. I saved them from certain doom and when I cracked the shell not only was I surprised that pic16 was used but it was also socketed. Major score in my opinion and these chips will find another purpose down the road. I was thinking of building a matrix with them and use all the ports to sample different audio frequency for a spectrum analysis
@elless317
@elless317 8 ай бұрын
No internal oscillators?
@Satyaprakash__1929
@Satyaprakash__1929 8 ай бұрын
MOV P2,#11111111B //make P2 an input port K1: MOV P1,#00000000B ;ground all rows at once MOV A,P2 ;read all col ANL A, #00001111B ;masked unused bits CJNE A,#00001111B,K2 SJMP K1 K2: ACALL DELAY ;call 20 msec delay MOV A,P2 ;see if any key is pressed ANL A,#00001111B ;mask unused bits CJNE CJNE,#00001111B,Checkrow ;key pressed, find row SJMP K1 ;check till key pressed CheckRow: MOV P1, #11111110B ;ground row 0 MOV A,P2 ;read all columns ANL A, #00001111B ;mask unused bits CJNE A,#00001111B,ROW_0 ;key row 0, find col. MOV P1,#11111101B ;ground row 1 MOV A,P2 ;read all columns ANL A, #00001111B ;mask unused bits CJNE A,#00001111B,ROW_1 ;key row 1, find col. MOV P1,#11111011B ;ground row 2 MOV A,P2 ;read all columns ANL A,#00001111B ;mask unused bits CJNE A,#00001111B,ROW_2 ;key row 2, find col MOV P1,#11110111B ;ground row 3 MOV A,P2 ;read all columns ANL A, #00001111B ;mask unused bits CJNE A,#00001111B,ROW_3 ;key row 3, find col LJMP KI ;if none, false input, ;repeat ROW_0: MOV DPTR,#KCODE0 ;set DPTR=start of row 0 SJMP FIND ;find col. Key belongs to ROW_1: MOV DPTR,#KCODE1 ;set DPTR=start of row SJMP FIND ;find col. Key belongs to ROW_2: MOV DPTR,#KCODE2 ;set DPTR=start of row 2 SJMP FIND ;find col. Key belongs to ROW_3: MOV DPTR,#KCODE3 ;set DPTR=start of row 3 SJMP FIND ;find col. Key belongs to FIND: RRC A ;see if any CY bit low JNC MATCH ;if zero, get ASCII code INC DPTR ;point to next col. addr SJMP FIND ;keep searching MATCH:CLR A ;set A=0 (match is found) MOVC A,@A+DPTR ;get ASCII from table MOV P0,A ;display pressed key LJMP K1 ;ASCII LOOK-UP TABLE FOR EACH ROW /////////// Lookup table for keypad keys ORG 300H KCODE0: DB '0','1','2','3' ;ROW 0 KCODE1: DB '4','5','6','7' ;ROW 1 KCODE2: DB '8','9','A','B' ;ROW 2 KCODE3: DB 'C','D','E','F' ;ROW 3
@sudheerkumar5966
@sudheerkumar5966 9 ай бұрын
Very very good mam
@harshadrawing2710
@harshadrawing2710 9 ай бұрын
How 40h mam?
@sudheerkumar5966
@sudheerkumar5966 9 ай бұрын
Very very good mam
@sudheerkumar5966
@sudheerkumar5966 9 ай бұрын
Very very good mam
@JagadeshKumar-cq5dp
@JagadeshKumar-cq5dp 9 ай бұрын
I am not studying master of engineering course
@adityapatil1879
@adityapatil1879 9 ай бұрын
Thanks mam😊
@noiaconsciente6458
@noiaconsciente6458 9 ай бұрын
quero deixar claro que odeio o Issac o da fei mesmo!
@thriupathi411
@thriupathi411 10 ай бұрын
Where to buy it
@mytho0148
@mytho0148 10 ай бұрын
These are going to save my grade, please keep it up!
@aussieboy77
@aussieboy77 10 ай бұрын
Very well explained. Thank you very much.
@moinshaikh6684
@moinshaikh6684 11 ай бұрын
Great content mam, keep it up, don't think views are low. And don't lose hope
@moinshaikh6684
@moinshaikh6684 11 ай бұрын
Excellent mam, thanks for such great content
@rameshg4397
@rameshg4397 11 ай бұрын
Mam can u pls explain how we will give intial register locations in keil
@johnsonogbu8697
@johnsonogbu8697 11 ай бұрын
Thank you so much.
@oliverwijesooriya2067
@oliverwijesooriya2067 Жыл бұрын
excellent explanation
@pvrgamer3187
@pvrgamer3187 Жыл бұрын
Why we have to use VOID every time, instead void can we use other datatype
@chibuiduc1174
@chibuiduc1174 Жыл бұрын
Thank you very much
@abishekj6680
@abishekj6680 Жыл бұрын
Thanks' for the explanation, but I have one doubt .How you choose PWM frequency as 5khz,is there any logic behind that. Am using pic18f with 16MHZ I want to set my PWM frequency as 1MS.Can you help me in this.
@arpanroy2651
@arpanroy2651 Жыл бұрын
Got the video playing in 2x but still feels like normal
@TheThesiriusx
@TheThesiriusx Жыл бұрын
Thanks.