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.
Hello guys,
I have searched on internet about the modbus. here i got the code, but first of all i want to understand the concept og modbus protocol. after that i want to go for code debugging. So please anybady has any link or some pdfs on which i get the information about the modbus protocol in...
Hello,
i want to interface MODBUS protocol with PIC18F4550. i have studied documents about the MODBUS protocol form the Internet.but still i am unable to know hoe to interface it.
So if anybody has any documents and example about this protocol then please help me
Thank You
Dear All.
i want to interface interface ADC of PIC18f4550. i have temperature sensor LM35DZ. whose value i want to show on LCD. My problem is that i am unable to understand that what value i set in Vref ? if i set any value like 2.5 V or 1 V then how should i do calculation so that i can get...
hello sir,
my code is working fine now.
thank you for that. but can you please suggest me that how did you set SPBRGH=0x04 and SPBRG=0xE1, because according to my data sheet in high speed mode, when i calculate my SPBRG AND SPBRGH value for the baud rate 9600. then i get value 311 in decimal...
1. I am using 9600 baud rate.
2. serial packet is just a variable defined for data receive and transmit and it is used only 1 times.
3. i am not using interrupts, my code is working on polling.
Thank You
hello,
I have set the SPBRG register for lower 8 bit and SPBRGH register for upper 8 bit, but still my code is not working.
i am showing you my code please read it and give me some suggestion.
here is my serial initialization code.
void UARTInitilize()
{
TRISC=0xC0;
TXSTA=0x24...
hello,
I want to interface USB with the PIC18F4550. I have understood the registers and its working by reading its Data sheet. Now i want to get some more knowledge about its interfacing with PIC18F4550, so is their any documentation and some examples related with USB interfacing with PIC18...
hello,
I have to communicate USART in P18F4550 micro controller in high baud rate mode. According to pic18f4550 datasheet their is a BRGH bit in a TXSTA register, using this bit we can enable the high speed baud rate. but when i calculate the baud rate value for high speed baud rate mode then...
hello,
i have checked my code, it works with low speed perfectly. apart from it i also make i to zero manually, so as you told about the fuse bits for high baud rate, where can i check this??
please tell me.
hello,
your guess is right, but if you are asking that if i receive less than 10 char then do nothing.
and second thing is that my RC_ISR is in UART interrupt function, so i don't need to call it in main function.
Thank You
hello,
I am posting my code in which i have shown my Serial Communication.
void UART_init()
{
TRISC =0x87;
TXSTA=0x20;
SPBRG=77;
RCSTAbits.CREN=1;
RCSTAbits.SPEN=1;
TXSTAbits.TXEN=1;
PIE1bits.RCIE=1;
// PIE1bits.TXIE=1;
INTCONbits.PEIE=1...
Hello everyone,
I am interfacing with Serial Communication at PIC18F4550 micro controller, in which i am using 9600 baud rate, my hardware connections are perfectly OK. and my code is also working on that hardware at normal speed.
but their is a problem that when i receive string at the speed of...
hello,
I have shared you google drive link for MPLAB C 18 linux compiler on your email id.
try to use it
may be it will work.
Thank You
Regards,
Abhishek
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.