PIC 18F2550 - USB Slave Demo in VB6

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
Eric Brouwer
Posts: 20
Joined: Sat Oct 30, 2010 10:17 am
Has thanked: 3 times
Been thanked: 11 times

PIC 18F2550 - USB Slave Demo in VB6

Post by Eric Brouwer »

For those interested, here is a working copy of a PIC 18F2550 using the USB Slave component.

It is a simple General Purpose Input & Output circuit, consisting of the following:
8 x Digital Outputs
6 x Digital Inputs
4 x 10-Bit Analog Inputs
1 x Status LED

The device is set up to transfer 10 bytes of data in either direction between the PIC and PC.

All required drivers and source code for Visual Basic 6 are included.

Circuit requires a 20MHz crystal with 2 x 15pf capacitors for the oscilator, and 47K pull-up resistors on PORTB. For individual connections, please check the Flowcode Panel
Attachments
USB GPIO Module.zip
USB GPIO Module
(189.56 KiB) Downloaded 363 times

Post Reply