The Mother Board

Motherboards.org forums. Free tech support, motherboard ID, and more.
It is currently Sat Sep 22, 2018 9:27 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Help.. please
PostPosted: Wed Dec 01, 2004 10:15 am 
Offline
Anti-Static Strap
Anti-Static Strap

Joined: Sat Aug 02, 2003 5:43 pm
Posts: 442
Location: Cambridge, Ontario, Canada
A small school project.. using a pic chip and the 16f84 processor

I have to design, in MPLAB a program that allowes a series of small motors and servos to be controlled via a playstation controller.

We're planning on using an old case as the victim for this, and were making things like bezels for stealthed drives move up and down, and panels shift around. Can anyone offer help to program in MPLAB for the 16f84 processsor on a pic chip?

_________________
Cele 1.8ghz
1gb SD100
ati radeon 9200se
sb live 5
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 29, 2004 3:57 am 
I guess you need to get the cpu manual and pic manual to study their demo application software and apply it into MPlab?


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 30, 2004 4:35 am 
Offline
Black Belt 2nd Degree
Black Belt 2nd Degree

Joined: Fri Feb 28, 2003 2:59 pm
Posts: 2884
Location: Minneapolis, MN
I'd start by studying what the Playstation controller does as it's used (like when you indicate 'Right Turn' what 'address' or 'interrupt' is affected how). Figure out a means to end processing using the controller itself (perhaps # players option ?).

Then see what is needed to control the servos, how does the CPU need to indicate in order for the devices to be controlled ?

A simple program checking for Playstation controller activity, should then issue appropiate CPU instruction (perhaps an 'interrupt') to servo controller(s).

Some variables might be nice (and may be best stored to Disk as a 'Profile') to establish sensitivity of controller (much like you can adjust your Mouse speed in Control Panel).

Should be fun to test !

_________________
Better living thru technology...
"Open the Pod Bay Doors, HAL..."
Join Folding team #: 33258


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group