Re: Problem in sending command from VB6 to PIC18F458
OK no problem, VB6 is still workable and if you already know it, then let's try to find your problem.
What I suggest is to start small, I mean get rid of the ZigBee thing for now and just try to send some data from your PC to your PIC. Once you prove the hardware & software is OK, then add some pleasure to it.
Couple of things to check:
Is the Baudrate properly set on both side
Use a scope and see if there's any signal going from the PC to the PIC
debug further on that. Try the example on the previous link on RENTRON website.
We can have a look on your code, just paste it here.. PC and PIC side. Also tell us which PIC you're using and post your schematic. The more info info you give, the best.
Another cool thing to debug serial communication is called a Serial Port Sniffer. HHD soft one's my favourite.
http://www.hhdsoftware.com/serial-monitor
Pretty sure I've already posted something like that here... will try to find it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks