CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Is possible to make a joystick for PC USB ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
noyz



Joined: 31 Jan 2009
Posts: 59

View user's profile Send private message

Is possible to make a joystick for PC USB ?
PostPosted: Tue Jul 07, 2009 8:40 am     Reply with quote

I saw one simple schematic for a joystick using avr:
The axes are read from Analog inputs and buttons are normally connected with pull-down.

http://www.flightsim.com/main/howto/mind.htm

The thing is that I'm so not into AVR.

Can I use a PIC 16F88 ?
What bootloader do I have to write?
Can anyone give me some related links ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jul 07, 2009 12:59 pm     Reply with quote

Quote:
Can I use a PIC 16F88 ?

That project is for a USB joystick . The 16F88 has no USB capability.
You would need to use a PIC such as the 18F4550.

USB is fairly complicated for a newbie. Even using the CCS examples,
there are many little "gotchas" involving software configuration and
external hardware components and connections.

Quote:
What bootloader do I have to write?

A bootloader is a method for installing an application program into a PIC
through a serial port, USB, etc. It's a method for programming a PIC
without using a hardware programmer such as an ICD2, ICD-U40, etc.
You don't need a bootloader to do your project. Just use a normal
hardware programmer (ICD2, etc.) to put the program into the PIC.

Quote:
Can anyone give me some related links ?

You should be able to find those with Google. Just use a search string
such as this:
Quote:
"CCS Compiler" Joystick
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group