Society of Robots
     | Robot Forum | Robot Tutorials | Robot FAQ |
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2009, 09:59:45 PM

Login with username, password and session length
Search:     Advanced search
SoR Robot Chat every friday night. Join us!
http://www.societyofrobots.com/robotforum/chat/

Robot Forum
72,667 Posts in 9,267 Topics by 5,292 Members
Latest Member: lepomis
* Home Help Help Login Register
0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Axon PS2 Controller Interface Library  (Read 146 times)
JadeKnightTopic starter
Beginner
*

Helpful? 0
Offline Offline

Posts: 8


View Profile
« on: September 28, 2009, 08:34:40 AM »

I uploaded a library (.h and .c file) to interface with a PS2 controller using an Axon MCU. It should work with any AVR based MCU, though, with some minor modifications.

The low level PS2 communication code was adapted from 'Dunk's tutorial.
http://www.societyofrobots.com/member_tutorials/node/200

Features:

    * Configurable pin assignments (uses 4 or 5 I/O pins, and 5v regulated power).
    * Supports connecting/disconnecting the controller at any time.
    * Detecting analog vs. digital mode.
    * Forcing analog mode on controller.
    * Easy access to all buttons and axes (axes can be raw, or with a simple deadzone).
    * Currently tested to work with a genuine Sony PS2 wired controller (any other brands/types *may* require some tweaking of the low-level communication code).


Download Link:
    http://forums.trossenrobotics.com/datacenter/drivers-libraries-firmware-7/axon-ps2-controller-interface-library-144/
Logged
Pages: [1] Print 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Robotis Dynamixel interface to Axon
Misc
Admin 3 826 Last post April 06, 2009, 06:04:46 PM
by Webbot
N64 controller interface???
Misc
Truckstop 4 234 Last post August 17, 2009, 06:51:33 AM
by Truckstop
Axon I2C Interface with DS1307 Real Time Clock
Software
airman00 10 398 Last post August 30, 2009, 06:37:16 AM
by Admin
Axon interface Linux
Software
taba93 2 80 Last post November 15, 2009, 09:13:30 PM
by awally88
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!


Advertise on this Forum