Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi wp100. Thanks a lot for your help. It works fine 8-) 8-) I tried your program successfully. In my application, I am using UART also. So I had to change the baud rate settings of UART for 4Mhz.
And I found one problem with my code.
MOVLW 0X06
MOVWF ADCON1
This will set a few pins of portB as...
I still can't get it right. I was following the instructions in to interface the LCD. It says just give the command 0x0F and the cursor will start blinking. Then we can give any character to be displayed and the LCD will display it. All I see is solid boxes and I cannot vary the contrast also.
My OSCCON register is 44, which means 1MHz stable frequency. What is the difference with 8 bit mode? is it more difficult? Can you suggest any site which gives exact initialization routine for 8 bit mode? I tried many but all failed.
I didn't understand this
I am using the internal RC oscillator. I am not using the USB function. I want to reduce the overall size of the circuit. That is why I am not using
; RECEIVER LOGIC PROGRAM
LIST P=18F4550, F=INHX32 ;directive to define processor
#include <P18F4550.INC> ;processor specific variable...
CAN ANYONE TELL ME WHAT IS WRONG WITH THIS ROUTINE?
I just want to initialize a jhd 161a lcd display using pic 18f4550 to display some message. All i see when i run this is solid pixels. checked so may sites and did everything i could. please let me know if you see anything wrong in this code...
This is my code
Transmitter
; internal RC osc and 300 baud
LIST P=18F4550, F=INHX32 ; directive to define processor
#include <P18F4550.INC> ; processor specific variable definitions
;**************************************************************************
...
Hi,
Still no luck with the wireless transmission. Are you sure that without manchester encoding it will not work? Can you suggest any link for manchester coding and decoding in assembly?
I am not using RS 232. I am using an ASK module and UART. The typical baud rate of it is 1kbps. That is why I tried to send at 1200 bps. Will it not work?
Thank you wp100, I'll try giving a pause in between. Actually I simulated the circuit in proteus and it worked fine. Can you please tell me if anything is wrong in the code?
Start:
CLRF WREG
CLRF RCSTA
CLRF PORTD
CLRF TRISD
CLRF PORTA
CLRF TRISA
CLRF PORTB
CLRF TRISB
CLRF RCREG
CLRF...
Hi,
I am using PIC 18F4550 with internal RC oscillator to transmit data serially to a 433 Mhz wireless ASK module. Since the typical baud rate of the transmitter is 1kbps(from datasheet), I have set SPBRG as '12' which is around 1200bps for 1 Mhz processor frequency (I think that is right as I...
Thanks for your response. I will try this routine you have sent.
Yes. I am using UART. I am using wireless transmission in my system. There is an amplifier in the transmitter ckt. The result received in the other side when divided by 8, i get the binary equivalent of the sending side data (got...
can anyone tell me what is wrong with this code??
MOVFF RCREG, 0XFF3 ; binary result of ADC in RCREG
CALL CONV ; CONVERT RESULT TO ASCI FOR DISPALY IN LCD
CALL LCDInit
goto back
;**************************************************************************
; LCD...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.