CALL DELAYP1Configuring HD44789 Display with PIC16F84

  • Thread starter Thread starter hisham.i
  • Start date Start date
  • Tags Tags
    Configuration Lcd
AI Thread Summary
The discussion focuses on configuring the HD44789 display with the PIC16F84 microcontroller, specifically the assembly code used for initialization. Participants question the choice of specific values like 03H and 02H in the MOVLW instructions, seeking clarity on their significance. There's a mention of the possibility of using C language with PCWH PICC for programming, which some find easier than assembly. The thread also notes that the original poster may have resolved their queries after a year and a half, suggesting they likely gained a better understanding of the HD44789's parallel input and the necessary configurations. Overall, the conversation highlights the complexities of microcontroller programming and the importance of referencing datasheets for accurate implementation.
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.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Replies
2
Views
2K
Replies
3
Views
2K
Replies
2
Views
7K
Replies
13
Views
7K
Back
Top