element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino + Xbox/PS controllers
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 392 subscribers
  • Views 165 views
  • Users 0 members are here
Related

Arduino + Xbox/PS controllers

Former Member
Former Member over 11 years ago

Hi everyone!

 

I am new to arduino but have a project that I'm working in involving arduino and console controllers. Currently I do a bunch of simple mods to these controllers like adding switches to the bottom of the controller so you can use your other fingers while you're playing without having to take your thumb off of the stick. What I'd really love to do is put arduino (or some other controller) inside the controller so that I could map the buttons I install to any other button on the fly.

 

What I'm wondering is if there is any way I can use the arduino to close the circuit on the console controller PCB?

 

I'm going to use the console controller's common ground and power (5v) to run the nano that I have, and essentially just need to get the arduino to close a circuit (like the little tactile switches I'm using now).

 

  • I've read that I could use an optocoupler, but also that they're really better for isolating circuit that could potentially harm eachother.
  • I've also read that I could use a transistor.

 

I have both of those, so no big deal - but was also curious if I could go without either since I'll be using the console controller to power the nano and they'd be sharing ground as well.

 

Thanks in advance!

  • Sign in to reply
  • Cancel
Parents
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago

    So some things to find out

     

    Are the buttons all working by connecting a wire to ground, this can be discovered by testng with a meter to see if there is one common connection between all the buttons. If there is then there is a good chance you will not need an opto isolator

     

    if the buttons are wired in a matrix then an opto isolator will allow you to still close the switch as it would not have a common ground to worry about

     

    An optoisolator still has a transistor as its output so there is no difference there, the difference is a common ground or a matrix switch array, if common ground then no isolator needed, if a matrix then you will need one

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Robert Peter Oakes

    Yes, you essentially just close the circuit by connecting it to a common ground on the board.

     

    so I've only messed with the pins by setting them high or low...how would I make it "close the loop" so to speak?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to Former Member

    If there simply shorting the pin to the ground plane then you can use a NPN transistor (Collector to the high side of the switch, emitter to the gnd side, drive the transistor base through say a 1K resistor or something

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to Former Member

    If there simply shorting the pin to the ground plane then you can use a NPN transistor (Collector to the high side of the switch, emitter to the gnd side, drive the transistor base through say a 1K resistor or something

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube