CALL DELAYP1Configuring HD44789 Display with PIC16F84

  • Thread starter Thread starter hisham.i
  • Start date Start date
  • Tags Tags
    Configuration Lcd
Click For Summary
SUMMARY

The discussion focuses on configuring the HD44789 display with the PIC16F84 microcontroller using assembly language. Key assembly instructions such as MOVLW and MOVWF are utilized to send data to PORTB for display initialization. The thread highlights the importance of understanding the HD44789's parallel input configuration and the necessity of consulting the PIC16F84 datasheet for proper PIN/PORT/TRIS settings. Additionally, it mentions the option to use PCWH PICC for programming in C, which some users find easier than assembly.

PREREQUISITES
  • Understanding of HD44789 display configuration
  • Familiarity with PIC16F84 microcontroller architecture
  • Knowledge of assembly language programming
  • Experience with PCWH PICC for C programming
NEXT STEPS
  • Research HD44789 display initialization sequences
  • Study PIC16F84 datasheet for detailed PIN/PORT/TRIS configurations
  • Learn assembly language programming techniques for microcontrollers
  • Explore using PCWH PICC for C programming with PIC microcontrollers
USEFUL FOR

Embedded systems developers, microcontroller programmers, and anyone involved in interfacing HD44789 displays with PIC16F84 microcontrollers.

hisham.i
Messages
176
Reaction score
2
Am trying to write the configuration section for hd44789 display connected to pic16f84 micro controller, and i didn't understand from where can i get the data sent to the ports for the configuration...Example:
MOVLW 03H ;Why 03?
MOVWF PORTB
CALL CLOCK ; Subroutine previously defined
CALL DELAYP1;Subroutine previously defined

MOVLW 02H ; Why 02?
MOVWF PORTB
CALL CLOCK
CALL DELAYP1

MOVLW 02H
MOVWF PORTB
CALL CLOCK
CALL DELAYP1

MOVLW 08H
MOVWF PORTB
CALL CLOCK
 
Engineering news on Phys.org
do you need to do that in asmsembler or you are free to choose the languaje?? you can use PCWH picc to program in c lenguaje! its esasier.. if not... giveme a chance and I will reply this with asm! I am currently busy with my thesis
 
As this thread is a year and a half old, hopefully the OP figured out that the HD44789 is a parallel input IC, and read through enough of the PIC16F84 datasheet to decode the assembly / figure out the PIN/PORT/TRIS configuration and operation.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
7K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K