Hi all - I'm making a 2 minute countdown timer, for an assignment. I currently have a register holding the minutes, and the seconds. For some reason though, sometimes a single (but different each time) segment of my 7 segment display will momentarily turn off and back on, it's quite a minor...
So hello:3
I have already tried many things, and looked at many things, but I can't implement any way to read a value from my data table character by character
here code:
Morse:
mov DPTR, #Text ; Point to the beginning of the text
mov...
Hello everyone!
I recently bought a brand new AT89S52 and an USBasp programmer for practicing and studying. Took a lot of time to get everything working between drivers and USBasp firmwares until I finally made it but unfortunately, I think I accidentally wrote the lock bits because I didn't...
I design a project using an 8051 microcontroller. A project description is mentioned below:
I used two LEDs with the logic that if led1 is on continuously then led2 will be on for 1 sec and off for a long delay. This logic is running fine in proteus software but it is not working when the...
Hi, I want to to copy the data of and external ROM adress to an external RAM adress,
my try :
CLR A
MOV DPTR, #8000H ; 8000H is the ROM Adress
MOVC A, @A+DPTR; A gets DPTR's data
MOV DPTR, #6000H ; 6000H is the RAM Adress
MOVX @DPTR, A
is this program correct? if yes is it the only method?
I found some websites they say 8051 is von Numan architecture. But i studied in college , architecture of microcontrollers are Harvard.which one is correct?
I try to interface with 16x2 LCD using 74HC595 shift register from Texas Instruments. I uploaded the following code :
;AT89C51
;24MHz
;SHIFT REGISTER PINS
CLK BIT P1.0
STR BIT P1.1...
I try writing a string instead of writing letter by letter. So, I tried this code:
ORG 00H
RS BIT P2.7
E BIT P2.6
MOV SP, #25H
MOV P1, #00H
MOV P2, #00H
MOV TMOD, #01H...
I try writing "NO" in the LCD using 4-bit mode. So, I programmed the AT89S52 to send the upper nibble first to the last 4 data inputs of the LCD. I used AND operation to eliminate the lower nibble. Afterwards, I cleared the RS bit and send a HIGH-TO-LOW enable pulse. The same code for the lower...
Update: The issue is resolved now. Please check my update here: https://forum.allaboutcircuits.com/threads/8051-not-working-after-flashing-the-program.177718/post-1613102 for details on the issue. The circuit is now successfully implemented, even on hardware.
I am a beginner trying to learn how...
I am trying to display 1 through 9 while rotating on win8051 what am i missing here:
; Initialize number to display
MOV R1, #0
; Main Loop
LOOP:
; Display R1 on the 7-Segment
CALL GETDIGIT
CALL DISPLAY
; Wait one second
CALL DELAY
; Increment R1
CALL INCREASE
; Repeat the Loop
JMP LOOP
; Delay...
So we've been instructed to write an assembly language program to display numbers 0-9 on a common anode 7 Segment Display and simulate it using the Proteus Software. (8051 microcontroller) (And 0-F as well)
I'm a complete beginner in this field and was hoping that I'd get some help here from...
I was tasked with creating a certain 8051 microcontroller project by my professor and I am keen to build the project all by myself, however, in order to carry out the given assignment, I may need some expert guidance. The project description is provided in below paragraph.
The microcontroller...