Questions tagged [8051]
The "8051" is a (still) very popular chip in the Intel MCS-51 micro controller series.
291 questions
1 vote
1 answer
89 views
CM6533 USB-codec internal 8051 MCU
According to the DS CM6533, it has the following specifications: The CM6533 is a USB 2.0 audio chip built-in 8051 for flexible applications. Embedded 1T 8051 with 32K Byte SRAM and 512K Byte flash(...
-1 votes
1 answer
78 views
Why does my CH552T NEC IR sender sometimes produce incorrect codes on an ESP32 receiver?
I’m building a USB IR blaster using a CH552T dev board, a Crowtail IR emitter, and an HS-S23B receiver connected to an ESP32. My goal is to send NEC protocol IR codes at 38 kHz using Timer2 for the ...
3 votes
2 answers
327 views
AT89C2051 programming procedure
I am trying to run following code on AT89C2051, using Keil for compiling and programming hex file with Superpro. ...
0 votes
2 answers
160 views
Keil uVision 5: stuck on question of assembly code for 8051 microcontroller to implement a logic circuit [closed]
Unable to solve the above question. Getting error A40:invalid register when running this code on XRL instruction: ...
1 vote
2 answers
227 views
Is this EEPROM write procedure on STC microcontrollers correct? Any alternative?
I'm working on a STC15W204S microcontroller, a small, cheap and capable 8051 microcontroller. So far, with the flexibility of SDCC, using the provided STCAI-ISP software and the datasheet (which is ...
0 votes
1 answer
74 views
Why 8051 is not detecting logic from circuit's voltage?
I am working on a ASK modulator and demodulator circuit which I wish to interface with a 8051 microcontroller to read serial data from demodulator circuit. The mod/demod circuit is developed and ...
1 vote
1 answer
126 views
Why is this 8051 ASM code not working?
I’m trying to implement an automated parking lot using an 8051. I’m using stepper motors to function as gates at the entrance and the exit of the parking lot that open whenever the IR sensors placed ...
1 vote
2 answers
141 views
Number of iterations in nested loop (8051)
Let's say we have this program: MOV R5, #4 H2: MOV R6, #10 H1: DJNZ R6, H1 DJNZ R5, H2 After moving the data to the registers, microcontroller executes ...
0 votes
3 answers
346 views
What is Multiprocessor Communication in 8051, and how to use it?
In 8051, one of the bit, SM2 or the D5 or SCON.5, is about "Used for Multiprocessor Communication." I am not clear about it. I watched quite many tutorials or explanations about 8051 on ...
0 votes
2 answers
463 views
Timer0 mode0 delay calculation for 11.0592 MHz crystal in 8051, ie, AT89C51
Lets generate a square wave of 2mSec period using an AT89C51 microcontroller with timer0 in mode0 on the P1.0 pin of port1. Assume xtal oscillator frequency of 11.0592 MHz. ...
0 votes
0 answers
100 views
0.1μs delay for AT89C51
I need to follow WS2812B protocol, which requires communication with very high speed, like 0.4μs, 0.45μs, etc. Can I achieve it with AT89C51?
1 vote
0 answers
211 views
AT89C51RD2 Empty or don't start up erratically
I have a strange problem and I don't know how to find a solution. I have a board with an AT89C51RD2 inside. I programmed it (thanks to Atmel flip), and it works fine. After some use (week or months), ...
0 votes
0 answers
91 views
Inverting Arduino reset signal
I'm designing a general-purpose PCB for a 8051-family MCU. I make it compatible to use shields for the Arduino Uno. There is a snag with the reset circuitry, as an Arduino is active-low reset and the ...
0 votes
2 answers
211 views
Relay with AT89S52 microcontroller
I'm working on a project where I'm using 8051 microcontroller as a primary microcontroller which is interfacing with 4 relays. I have tested relays with two of my arduinos but when it comes to AT89S52 ...
0 votes
2 answers
200 views
Programming an 8051 MCU (Topro TP2808)
I have this 8051: I have acquired an it from an old device and I want to program it. I have experience with AVR, ESP, and STM microcontrollers, but not with 8051's. Googling info about this DIP IC, I'...