humanlife_1989 WROTE:i hv try using Visual Basic send a char"a" to my pic16f877a. but i try it many time still failed to do that. when i press a button in Vb was command the blue solei serial port status just ony show i had sent out data but the received keeping show in "0" bytes.. how can i solve it?
Hi, trying to understand the problem here, help me on this. So you have connected the SKKCA to PIC through UART, and the SKKCA is connected to Bluetooth dongle on your computer wirelessly through Bluetooth link. You develop a program to send char to COM port. BlueSoleil show that you have send data out, but the PIC site show "0"?
OK, try this first:
1. Computer -- USB -- SKKCA ---------- Bluetooth link ------- Bluetooth Dongle-- computer.
Try using HyperTerminal and test type any character on keyboard. If this success, mean SKKCA is working.
2. Computer --- USB to UART -------------- PIC
Try using HyperTerminal or your VB program send "a" to PIC, if PIC can get and show data, means the UART connection, PIC and program to receive and display is working.
3. Computer ---- Bluetooth Dongle --------Bluetooth Link ---------SKKCA --- UART -- PIC.
If this cannot work, mean SKKCA to UART to PIC is have problem. Let's us know the result. Try to troubleshoot by minimizing the possible area.
Good luck and do let us know the progress.