Buzby
Senior Member
Hi,
I'm about to start designing a PicAxe gadget which will connect to a PC via USB for both powering the PicAxe and comms to the PC.
I know there is a USB PIC ( 16C745 ) but I don't think there is a PicAxe based on this chip. Also, talking USB is not easy. Enumerating my endpoint is beyond my abilities.
So, I intend to hack a USB-to-Serial cable into my gadget. This will make my PicAxe board look like a RS232 COM port, and my PicAxe can just 'serin' and 'serout' to my VB code on the PC. I think can pull 100mA to power the PicAxe from the PC without any problem.
Has anyone tried this ?. Any pitfalls likely to snare me ?.
Thanks,
Buzby
I'm about to start designing a PicAxe gadget which will connect to a PC via USB for both powering the PicAxe and comms to the PC.
I know there is a USB PIC ( 16C745 ) but I don't think there is a PicAxe based on this chip. Also, talking USB is not easy. Enumerating my endpoint is beyond my abilities.
So, I intend to hack a USB-to-Serial cable into my gadget. This will make my PicAxe board look like a RS232 COM port, and my PicAxe can just 'serin' and 'serout' to my VB code on the PC. I think can pull 100mA to power the PicAxe from the PC without any problem.
Has anyone tried this ?. Any pitfalls likely to snare me ?.
Thanks,
Buzby