EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

USB on 18f2550

Started by Lez May 25, 2007
Lez:

Check out this website for PIC USB:
http://greta.dhs.org/UBW/index.html

Bob

--- Lez wrote:

> Does anyone know of / have / could write (cheeky!) a
> simple example
> program to allow say a set of leds (why always a set
> of leds?) to be
> turned on off from the PC with the PIC connected via
> USB?
> I have it working using serial, in fact that was one
> of my first
> projects, but with USB it seems I need something a
> bit more clever on
> the PC end than just hyperterminal..........
>
> Thats where I'm at a bit of a loss, due to my lack
> of knowledge about
> USB devices.
> I have been told (correct me if this is wrong) that
> I will need to
> write something (Dont shout but I guess with VB6, as
> I have used that
> before) that connects to a DLL ?
>
> I know why I stuck with serial so long, in fact
> looking once again at
> the microchip examples, it seems I can have it
> appear as a fake com
> port to windows, but only problem it will have (like
> my previous
> little projects) is the comport number will change
> etc if removed / re
> inserted, and any software will then need to be told
> where it is or to
> hunt for it.
>
> I can live with that, but would like to get a 'real'
> USB connection
> going so that I can learn from their.
>
> --
> Lez
>
> http://groups.google.com/group/recycled_citroen_uk/
>
Thanks everyone, I feel I can get forward with this now, I'm planning on
'donating' tomorrow to this and possibly Monday.

I know once I get this basic step done, I can move on and update my old
projects from serial to USB, one project I want to attempt is a little toy
for the car, to output (via USB) 'telemetry' from the engine, voltage,
charge ampage, rpm, speed, etc , but I think for now I'd better stick with
the LED's......

Son also wants a new speedometer for his motorcycle, if I build him one
based on that, I can download his max speed and see what he's been
upto..............
----- Original Message -----
From: "Lez"
To:
Sent: Friday, May 25, 2007 6:52 PM
Subject: Re: [piclist] USB on 18f2550
>> See this USB project of mine using the 18F2455:
>>
>> http://www.leonheller.com/usb/
> Thanks, just downloaded them but will have to play tomorrow, Is the
> PIC asm/hex in their or is that elsewhere etc, or do I need to write
> that to match etc.

You need to download the PIC code from here:

http://pe.ece.olin.edu/ece/projects.html

I should have included that link on the web page, I'll add it.

Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
l...@btinternet.com
http://webspace.webring.com/people/jl/leon_heller/

The 2024 Embedded Online Conference