Author |
Message |
Topic: Problem in uart of pic16F877A! |
altanonat
Replies: 4
Views: 6941
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2011 9:08 am Subject: Problem in uart of pic16F877A! |
I have solved the problem. The main reason is that it is necessary to put errors in #use RS232() directive if you are using Pic16f877a. In pic18f4550 I have done it without putting errors into the dir ... |
Topic: Problem in uart of pic16F877A! |
altanonat
Replies: 4
Views: 6941
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2011 1:31 am Subject: Problem in uart of pic16F877A! |
Remove the RF modules and connect the two PICs together. See if you
can make the PICs talk to each other without the RF modules.
For the first time pics are communicating but when I try to send o ... |
Topic: Problem in uart of pic16F877A! |
altanonat
Replies: 4
Views: 6941
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2011 6:27 am Subject: Problem in uart of pic16F877A! |
any ideas? |
Topic: pic to pic communication using rs232 |
altanonat
Replies: 6
Views: 12646
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2011 3:35 am Subject: pic to pic communication using rs232 |
If you are using cheap 433 mhz rf modules, the baudrate you are using is very high. I am also doing a project like this using pic18f4550. I can only be successful by adjusting baudrate to 300 with 20 ... |
Topic: Problem in uart of pic16F877A! |
altanonat
Replies: 4
Views: 6941
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2011 3:04 am Subject: Problem in uart of pic16F877A! |
Hello all!
I am trying to communicate two pics via rf. While doing this I am successful with pic18f4550, however when I have change the code to work with pic16f877a it is not working. I am looking ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 3:14 pm Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
That product uses the Silabs CP2102. That chip must plug into a USB host.
That chip is not a USB host. Look at the diagram on page 4 of
this Silabs document. They show this very clearly:
http: ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 2:09 pm Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
How do you propose to make the USB-to-RS232 cable work as a USB host ?
All the cables that I have seen for sale, are USB slaves. They must
plug into a USB connector on a PC. The PC is the USB ho ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 12:24 pm Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
It's 'historical'. RS232/CCITT C24, is the 'full' title. The _current_ standard, is actually RS232D. The changes in D, don't affect the signalling as such, but add things like loopback testing. Genera ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 8:54 am Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
In which case, get the RS232C cable for it, add a MAX232 to the PIC, and use RS232. Easier, and code size will be several KB smaller as well. :-)
Best Wishes
What is the difference between rs232 ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 6:52 am Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
Not really. This is another slave.
However if the barcode reader supports RS232, then the PIC can talk to this, with just a MAX232 buffer chip. Much easier.
Best Wishes
I read the manual of bar ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Tue Feb 22, 2011 3:57 am Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
Can a usb to rs232 converter be a solution? |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2011 9:51 am Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
You won't.
Your device, is a _slave_ device.
So is the PIC.
There needs to be a master device, to carry out the transaction. The 4550 hardware can't do this.
Two possibilities:
1) Find a PIC ... |
Topic: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
altanonat
Replies: 17
Views: 22905
|
Forum: General CCS C Discussion Posted: Mon Feb 21, 2011 7:12 am Subject: Interfacing a Barcode Reader Through Usb with Pic18f4550 |
Hello all!
I am trying to interface a barcode reader with pic18f4550, which is an hid device, through usb connection. However I do not know where to start and I do not have any experience about USB ... |
Topic: Problem in getting a char array from a 4x4 keypad!!! |
altanonat
Replies: 7
Views: 9951
|
Forum: General CCS C Discussion Posted: Fri Feb 11, 2011 2:50 am Subject: Problem in getting a char array from a 4x4 keypad!!! |
Thank you very much pcm programmer, I did it as exactly as you said, I expand array size to 6 and to the last element of array I add null character '\0' it works very fine now. |
Topic: Problem in getting a char array from a 4x4 keypad!!! |
altanonat
Replies: 7
Views: 9951
|
Forum: General CCS C Discussion Posted: Thu Feb 10, 2011 2:53 am Subject: Problem in getting a char array from a 4x4 keypad!!! |
How can I discard the null character at the end of the string in order to write it on a an character lcd? |
|