Continue to Site

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.

  • 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.

8051

  1. D

    Chinese Prechin PZ51 tracker

    Hi, Everyone! Is there someone who uses this Chinese PZ-51 trakcer 8051 emulator? I have a error code when I try to debug. It said that error code1 “Maybe version mismatch, please retry”. Please help me. Regards, Dan Kwon
  2. S

    problem with sd card video door phone

    hi I'm working on the code of a video door phone and I'm trying to improve it. with 16 GB SD card the pictures that the camera takes can be seen on the LCD but when I connect the SD card to PC using a SD card adapter it shows nothing is in the drive. with 2 GB SD cards it only shows the last...
  3. K

    4-bit mode of LCD-1602 using 8052 µc

    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...
  4. nikson93

    Expansion Board 8051 Core System Board Single Chip Microcomputer

    As the title say I want to buy Expansion Board 8051 Core System Board Single Chip Microcomputer. Is that worth buying. Here is more specifications: Expansion Board 8051 Core
  5. T

    8051 program

    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...
  6. G

    Calculating the execution time of the program

    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 : start: MOV R1,A loop1: MOV R2, #250 loop2: MOV R3, #250 loop3: NOP NOP DJNZ R3,loop3 DJNZ R2,loop2 DJNZ R1,loop1 end The program has...
  7. V

    Can someone please explain the "readKey" subroutine in this code

    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. - Kat
  8. V

    How do I get two digit inputs using ASM for my Calculator using 8051?

    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...
  9. M

    8051 program not processing keypad matrix correctly

    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...
  10. M

    Key tied to two GPIO pins not functioning correctly

    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...
  11. V

    IR based Speed control of Single Phase AC motor using a Microcontroller 8051

    Hi all, 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...
  12. S

    ATMEL89S8253, assembler

    Hello, 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...
  13. D

    Cannot clear flag 'IE3' on 8051 microcontroller

    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...
  14. 2

    Program in assembly language for 8051 microcontroller that can perform floating point calculation

    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...
  15. C

    Fire Alarm Code Help

    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)...
  16. Greital

    help with :::Generate a random number using interrupt:::

    hi 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...
  17. Greital

    help with converting numbers to letters in 8051 assembly

    hi, 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...
  18. Greital

    Maximum delay can be implemented by timers

    hi, 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 =...

Latest threads

New Articles From Microcontroller Tips

Back
Top