??? 05/26/11 00:35 Read: times |
#182397 - Use UART Responding to: ???'s previous message |
I have to agree with Andy as to keeping on with a simpler approach. Trying to get direct USB support going on an MCU and getting data to flow back and forth from a PC program of some sort is at least an order of magnitude more complex with USB than it is with using the MCU UART and a PC Comm Port. At least 10X !!
The beauty of either the TTL-232R-3V3 or the TTL-232R-5V cable is that you simply can program the MCU as a UART communicating device. On the PC side you simply load the latest FTDI driver file from their web site and you almost instantly have another Comm port show up in your Windows environment that either standard of custom written communications software can connect to and interact with the MCU on the other end of the USB connection. I have built multiple things that 'look like USB' devices because the USB cable connects to them but inside I've designed in the same FTDI chip that is fabricated into those cables mentioned above. The MCU programming I've prepared uses the MCU UART at the highest possible baud rate and is able to carry on very efficient packet communications with custom PC based VB6 or VB.NET programs. Michael Karas |