Serial USB with FTDI 232 USB Chip

A forum where Flowcode v6 user created components can be shared, discussed and reviewed.

Moderator: Benj

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1087
Joined: Sun Oct 05, 2014 3:20 pm
Has thanked: 334 times
Been thanked: 544 times
Contact:

Serial USB with FTDI 232 USB Chip

Postby QMESAR » Sat Nov 08, 2014 4:06 pm

As I am working my way through FC I thought this might help some one else .
This project uses the FTDI Serial to USB chip to give an embedded controller USB functionality.I usually include the FTDI chip on my Proto type PCB which allow me real time data monitoring
of the controller .

Attached
(1) FC6 Project
(2) Visual Studio 2008 Project ,This project read the Raw ADC conversion data send over the Serial USB link and display the value,this project can be used with VB Express too the free version

Regards
Peter

Ps : I forgot to mention in my VB example I use a very simple timer event to initiate transmission by sending a send Command "S" and then read the serial Port as the mcu on this command transmit it data,
However you can implement the more appropriate way by creating a delegate routine that handle the data when it is received at the serial port A good reference is the Book from Jan Axelson " Serial Port Complete "

ISBN 978-1-931448-06-2

:D
Attachments
Serial_USB_Basic.zip
VB.Net 2008 GUI
(69.29 KiB) Downloaded 172 times
USB Serial.zip
FC Project
(270.23 KiB) Downloaded 188 times
08.11.png
FTDI Chip Circuit Diagram
08.11.png (18.61 KiB) Viewed 2826 times
These users thanked the author QMESAR for the post (total 2):
medelec35 (Sat Nov 08, 2014 10:27 pm) • JohnCrow (Sun Nov 09, 2014 1:21 pm)
Rating: 11.11%