Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
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...
how do i check i 8051 programming if a matric is symmetric or not for eg If the value stored in 60H is 3 and values stored in 61H, 62H, . . ., 69H are 1, 4, 3, 4, 1, 2, 3, 2, 1 . then psw.5 shud be set to 1. matrix dimension m can be 2, 3, or 4. Assume the matrix M to be stored in row-major...
I'm trying to calculate the execution time of my program but I still can't manage how to do it .
This is my asmb code :
MOV R2, #250
MOV R3, #250
The program has...
I haven't learnt the coding part of keypad integration in 8051 yet, but I'm aware of the working and theory behind the integration. I'd really appreciate it if someone explains the readKey subroutine in the attached file. Thanks in advance.
I chose to make a Calculator for my "Microcotrollers and Its Applications" course's Project component. I'm not really good at ASM progrmming, I'm more of a C guy (I'm not really good at programming microcontrollers though), but my faculty said the projects MUST be coded in ASM language. So I...
I made myself a small PCB (measuring about 6cm by 5cm). This is what is supposed to happen:
1. Upon power-up, the LED goes red to indicate that the unit is ready for input.
2. I then press any key down (where the contacts in the button meet), then the red led goes off.
3. The correct value is...
I'm posting this here because it may be more of an electronics issue.
Anyways, I have a program which calls the dkey function to try to get a value based on the key pressed. I have three keys. Two are tied to their own GPIO pins and the third key functions exactly the same as the other two...
My project is to create an infrared remote to change the speed and switch on/off of a cap start/run type single phase induction motor operating at AC mains (230V, 50Hz).
I have worked out the controlling the speed of the motor part (using a solid state relay to control phase angle of...
I need to write a program in assembler for a microcontroller ATMEL89S8253 as a college job. The microcontroller is connected to a DOS computer with rs232. The program is supposed to rely on autorepets, after pressing the button is to send many characters, but no more than 2 per second. I...
I am just learning to program in assembly using the 8051 microcontroller, and I am working on a simple Jeopardy-style project in which I have two clickers and a reset button, and one of two LED lights turns on depending upon which clicker is clicked first.
I am writing the program for this...
Hello, How I can make a program in assembly language for the 8051 microcontroller that can perform floating point calculations?.
Excuse my English, I 'm Hispanic and I found this excellent forum and want to see if any of you could help me with this problem.
I need a way to perform calculations...
Need help with the following Homework assignment…
Design a fire alarm system using a 8051 microcontroller. The specs are as follows:
A) If the alarm is detected (one of the switches is activated) it should start flashing 4 LEDS (4 on the right (LEDS 1-4) and 4 on the left (LEDS 5-8)...
still working on my 8051 project using assembly language, and now I'm in phase 4 --->>>> the last phase ;)
in this phase we should generate 2 random numbers as following:
1. one digit (1-9)
2. two digit (10-99)
and by using push button we pick randomly the number
we have done one digit...
I'm trying to complete my project in assembly 8051 , and thanks to all of you I completed the 1st phase
now I'm stuck in the 2nd phase
I should convert a number to its letters --->> for example if I put R3 = #31 it should print thirty one
I know I had to make an arrays:
1. single digit...
I'm kinda new to 8051 and have a problems with it :(
Q: assuming 8051 is connected to a 6Mhz crystal, what is the maximum delay that can be implemented by a single timer using mode 1 ?
what I've tried is the following:
1. finding the freq = 6/12 Mhz
2. finding the cycle of time =...