logo elektroda
logo elektroda
X
logo elektroda

89C51 Assembly Code for Programmable Delay Timer With 16x2 LCD and 4x4 Keypad

78 9
ADVERTISEMENT
  • #1 21661121
    Rathina Vel
    Anonymous  
  • ADVERTISEMENT
  • #2 21661122
    Mark Harrington
    Anonymous  
  • ADVERTISEMENT
  • #3 21661123
    Raj Mohan
    Anonymous  
  • ADVERTISEMENT
  • #4 21661124
    Devesh Samaiya
    Anonymous  
  • #5 21661125
    Steve Lawson
    Anonymous  
  • #6 21661126
    Mark Harrington
    Anonymous  
  • #7 21661127
    Rathina Vel
    Anonymous  
  • #8 21661128
    Rathina Vel
    Anonymous  
  • #9 21661129
    Mark Harrington
    Anonymous  
  • ADVERTISEMENT
  • #10 21661130
    Raja Muthyala
    Anonymous  

Topic summary

The discussion centers on developing an assembly language program for the 89C51 microcontroller to create a programmable delay timer with a 16x2 LCD and a 4x4 matrix keypad. The user aims to input delay times ranging from 1 second to 1 hour via the keypad, display the countdown on the LCD, and produce an output signal after the delay. The hardware setup includes Port 0 connected to the LCD in 8-bit mode, Port 1 driving an 8-bit DAC 0808, Port 2 interfacing with the matrix keypad, and Port 3 managing LEDs and feedback signals. Responses highlight the complexity of using 89C51 and assembly language for this task, suggesting alternatives like PIC or Atmel microcontrollers for easier timer and interrupt handling. Key technical points include the necessity of timer interrupts for long delays, LCD interfacing modes (8-bit, 4-bit, serial), and the importance of understanding LCD driver commands (e.g., HD44780 compatibility). Sample C code snippets for timer interrupts and delay functions were provided for conceptual guidance, though the original requester prefers assembly. The discussion also emphasizes the need for a clear algorithm, flowchart, and hardware schematic to manage the project effectively. Questions about achieving very long delays (e.g., 50 minutes) with 89C51 were raised, underscoring the challenge of precise timing over extended periods using this microcontroller.
Summary generated by the language model.
ADVERTISEMENT