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.
 
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
Thread 'How Does Jaguar's 1980s V12 Dual Coil Ignition System Enhance Spark Strength?'
I have come across a dual coil ignition system as used by Jaguar on their V12 in the 1980's. It uses two ignition coils with their primary windings wired in parallel. The primary coil has its secondary winding wired to the distributor and then to the spark plugs as is standard practice. However, the auxiliary coil has it secondary winding output sealed off. The purpose of the system was to provide a stronger spark to the plugs, always a difficult task with the very short dwell time of a...

Similar threads

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