Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 24th May 2008, 04:00 PM   (permalink)
Default USB and PIC, friends or foes ?

Hi, well, isn't this an nice topic ? well, where can i find some simple projects using USB with the on-chip PIC USB interface, on PIC !
The PIC subject is the PIC4550 and i'm interested on C language side of the story, any compiler that works this out.

I hope Nigel can make his 14th tuturial abouth this !

Have a nice weekend
__________________
Best Regards,
Tiago Silva.
TiagoSilva is offline   Reply With Quote
Old 24th May 2008, 04:03 PM   (permalink)
Default

C18 is the Microchip compiler and has the USB examples. The SE edition is free. Lots of code examples on the net.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 24th May 2008, 04:06 PM   (permalink)
Default

As often suggested here, look at the USB Bit Whacker

UBW (USB Bit Whacker) Project
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 24th May 2008, 06:34 PM   (permalink)
Default

Hi Nigel,

Ok I am going to ask the question, what is "bit whacking"?

Mark
UTMonkey is offline   Reply With Quote
Old 24th May 2008, 06:35 PM   (permalink)
Default

Quote:
Originally Posted by UTMonkey View Post
Ok I am going to ask the question, what is "bit whacking"?
It's like bit banging, only harder!
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 24th May 2008 at 06:36 PM.
futz is offline   Reply With Quote
Old 24th May 2008, 07:10 PM   (permalink)
Default

Quote:
Originally Posted by UTMonkey View Post
Hi Nigel,

Ok I am going to ask the question, what is "bit whacking"?

Mark
It's not my site, visit it and read!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 25th May 2008, 03:53 PM   (permalink)
Default

Quote:
Originally Posted by futz View Post
It's like bit banging, only harder!


That was funny Futz! I don't know why but got a good laugh of of it.
Perhaps because I'm knee deep in reading a data sheet.

Thanks,
Tallan
tallan is offline   Reply With Quote
Old 25th May 2008, 04:40 PM   (permalink)
Default

A trip to double-u-double-u-double-u.microchip.com (no, no redirect) would reveal that they only support C language for the USB versions of their products. They provide examples and application notes up the wazzu for one and zilch for the other language. Yet still, the world cries help while I cry what a joke.

Last edited by donniedj; 25th May 2008 at 04:43 PM.
donniedj is offline   Reply With Quote
Old 25th May 2008, 05:12 PM   (permalink)
Default

What's wrong with picking a language such as C as the officially supported language for the PIC 18F and above series, the C18 SE compiler is free, works with the entire 18F series and C is the language of choice for big projects anyway. I do like assembler but understand why Microchip chose C for the bigger projects.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 25th May 2008 at 05:12 PM.
blueroomelectronics is offline   Reply With Quote
Old 25th May 2008, 05:14 PM   (permalink)
Default

This website is great for starting out as it has the basic schematics needed to emulate a USB dev board that the microchip tutorials use.
BronzeG3 is offline   Reply With Quote
Old 25th May 2008, 05:20 PM   (permalink)
Default

That's a handy link thanks.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 26th May 2008, 09:37 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics View Post
What's wrong with picking a language such as C as the officially supported language for the PIC 18F and above series, the C18 SE compiler is free, works with the entire 18F series and C is the language of choice for big projects anyway. I do like assembler but understand why Microchip chose C for the bigger projects.
I agree, I don't do C, but in this case they provide a free C compiler, which is used to write the application notes and datasheets, I see no problem in using C as they do.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 26th May 2008, 10:24 AM   (permalink)
3v0
Default

Learn to read if not program C.

Imagine the problem for the person who speeks anything other then english or chineese.

Quote:
Originally Posted by donniedj View Post
A trip to double-u-double-u-double-u.microchip.com (no, no redthey only support C language for the USB versions of their products. They provide examples and application notes up the wazzu firect) would reveal that or one and zilch for the other language. Yet still, the world cries help while I cry what a joke.
3v0 is offline   Reply With Quote
Old 27th May 2008, 04:19 PM   (permalink)
Default

Quote:
Originally Posted by 3v0 View Post
Learn to read if not program C.

Imagine the problem for the person who speeks anything other then english or chineese.
LOL True, LOL
__________________
Best Regards,
Tiago Silva.
TiagoSilva is offline   Reply With Quote
Old 27th May 2008, 04:24 PM   (permalink)
Default

Thank you all for your support !
The USB Bit Whacker sounds great (LOL...)

I must also thank for this url (PICcoder - Articles), it was what i really needed ! Since i work best with C# (i'm a pc/pda/web software dev., but no expert in assembler).


Thanks again, and again.

__________________
Best Regards,
Tiago Silva.
TiagoSilva is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
May I make some friends here? Albert Su Chit-Chat 6 18th April 2007 05:24 PM
friends dhanasekar.u Feedback/Comments 0 1st July 2004 12:14 PM
hi friends imgemini General Electronics Chat 2 24th April 2003 01:37 AM
Hello Friends gemm General Electronics Chat 1 15th April 2003 12:00 PM
hello friends could anyone help me kwamesimpe Datasheet/Parts Requests 1 20th March 2003 07:13 AM



All times are GMT. The time now is 08:32 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.