Welcome to PhantomPilots.com

Sign up for a weekly email of the latest drone news & information

PS3 DualShock Controls... ADDED ... SCREENSHOT FUNCTION !!!

Discussion in 'Phantom 2 Vision + Discussion' started by DBS, Sep 19, 2014.

  1. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    FIRST THINGS FIRST

    Parts List:
    Rooted Android Samsung Galaxy Tab Pro 8.4 -------------- http://forum.xda-developers.com/showthread.php?t=2661198
    PS3 Dual Shock controller ----------------------------------- http://www.engadget.com/2007/05/01/how-to-make-a-ps360-controller/
    Sixaxis Controller app from the PlayStore ----------------- https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller
    Six momentary micro push button switches --------------- http://www.radioshack.com/product/index.jsp?productId=2062546
    Two 4.7k/ohm resistors ----------------------------------------http://www.radioshack.com/product/index.jsp?productId=2994581
    Hot glue ----------------------------------------------------------- http://www.walmart.com/msharbor/ip/Ad-tech-Hi-Temp-Mini-Size-Glue-Gun/17404361
    Solder and lead wire --------------------------------------------- http://www.radioshack.com/product/index.jsp?productId=21982276





    UPDATE:

    Video is up and running
    [youtube]http://www.youtube.com/watch?v=V2sRmXg9z3E[/youtube]




    UPDATE:

    Status light mod shows connectivity of PS3 board to tablet... charging... etc...

    [youtube]http://www.youtube.com/watch?v=YUAT8t8lKV8[/youtube]

    X marks the spot!!!
    [​IMG]




    UPDATE:

    ADDED SCREENSHOT FUNCTION AND DETAILS HERE... http://www.phantompilots.com/viewtopic.php?f=27&t=25939&start=70#p245273

    [​IMG]




    OK ... So the point of all this...

    Controlling on screen functions without taking your hands off the controls to touch the screen... that's the name of the game here...
    You could easily just use the PS3 controller and figure a way to attach it to the back of your DJI transmitter where the buttons would be accessible...

    Basically what i was shooting for was something small enough to fit inside the Phantom tx so it is hidden away from view... :ugeek:


    And so it began 3 days ago


    Started off with your basic PS3 controller... When you open it up you're presented with a mess of crap you don't need for this mod.
    [​IMG]

    So if you break it down in layers, you only really need the controller PCB (mother board)... but even that has the analog stick boxes mounted to it... Those gotta go too.
    [​IMG]

    I ripped everything apart... Tore off everything i could while maintaining the functionality of the controller... Ended up with this nice little compact board.
    [​IMG]

    And this big 'ol pile of crap on my desk when i was done.... :mrgreen:
    [​IMG]


    Moving on... got it basically laid out where i think it will fit and snap the controller back together to check that it clears the back of the control sticks etc....

    This spot works nice for the USB port to charge the DualShock battery :D

    [​IMG]

    Next thing was button layout... spent some time just holding the remote and figuring where is easy to access but out of the way... where my index fingers normally rest and some spots close to that position for ergonomic function...

    Then... which onscreen functions i want access to and how to lay that out...

    Ended up with this... Note the PS3 charger port in the battery compartment and the power button recessed inside the speaker hole :ugeek:

    [​IMG]

    Flipped everything back over and used 3M double sided sticky tape to hold down the mother board... hot glue for the battery and some extra around the mother board for good measure...
    [​IMG]



    Wired up and fired up!!!

    Everything all wired and hot glued for strength and longevity... Tested and all buttons firing as they should be... Bluetooth pairing with tablet working like a boss... All i need now is a length of fiber optic filament to bring the PS3 controller LED light to the front panel for power and pairing confirmation... :ugeek:

    [​IMG]

    And a decent idea of how it is all wired to the switches and resistors... resistors must be included or ALL the buttons are firing ALL the time
    [​IMG]



    Next step was mapping out the appropriate buttons to their corresponding screen locations in the DJI Vision app...

    I used:
    R1: Camera tilt up
    R2: Camera tilt down
    Cross: Radar open/close
    Square: Snapshot
    Circle: Video start/stop

    Easily done with the Sixaxis app...

    [​IMG]


    So the one thing my buddy brought up was "why put the USB port inside the battery compartment? ... That means you have to take out the batteries every time you charge the PS3 controller?" ... GOOD POINT ... BUT ... Battery run time on a PS3 controller is rated at 30 hours... and the Sixaxis app has a nifty little feature ... every time you open the app to pair the controller... it gives you battery level ... (Not to mention, making the hole for the USB port the right shape, the right size, AND look good? ... wasn't gonna happen... so now it's hidden) ...

    So yeah ... you don't need to charge very often and the app tells you when you need to do it... :ugeek:
    Shown here... last line in the connection dialogue on the left

    [​IMG]

    So there it is... all buttoned up... tested and confirmed and ready to fly tomorrow... can't wait!!! :ugeek:
    [​IMG]
    [​IMG]


    Links and stuff:

    How to make a PS360 controller: http://www.engadget.com/2007/05/01/how-to-make-a-ps360-controller/
    Gave me the knowledge and confidence to take that controller apart and rip it to shreds... great button wiring diagram... (and the mandatory 4.7k resistor that nobody else talked about)

    Sixaxis Controller app tutorial and info: http://www.youtube.com/watch?v=slz2kJnH0fs
    http://www.phonearena.com/news/How-...ith-your-Android-smartphone-or-tablet_id31933
    For rooted android devices... (your mileage may vary)

    Soldering 101: http://www.youtube.com/results?search_query=soldering+for+dummies
    Always helps to brush up on the skills before doing this microscopic solders (took me a magnifying glass and number 3 reading glasses to do the board)

    Aaaaannnddddddd that's about it... Thanks for letting me share

    I know.... I went a little nuts with the whole deal :ugeek:

    [​IMG]

    and thanks again to kickthefences for inspiring this whole mess :ugeek:
     
  2. planedr

    Joined:
    Jul 22, 2014
    Messages:
    220
    Likes Received:
    13
    Location:
    GroƟbissendorf Germany
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    You lost me at "List:" :?
    How much would it cost me if I sent you a controller? :D
     
  3. tizzl10

    Joined:
    Feb 4, 2014
    Messages:
    882
    Likes Received:
    1
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode


    lol I was going to say "you lost me at ____" ..
     
  4. Morgon

    Joined:
    Aug 15, 2014
    Messages:
    453
    Likes Received:
    64
    Location:
    Glen Burnie, MD
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    That's pretty amazing, excellent work. These are times I wish I were an Android guy.

    Sucks that the battery only outputs 3.7v (though apparently most replacement packs are 4.2v); I was going to suggest trying to get the TX to run completely off of the battery pack, but I'm guessing that would be too weak to work.
     
  5. rrmccabe

    Joined:
    Jul 2, 2014
    Messages:
    1,647
    Likes Received:
    358
    Location:
    Ankeny, Iowa
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    Well done Chuck. Well done !
     
  6. sbarton

    Joined:
    Jul 28, 2014
    Messages:
    338
    Likes Received:
    10
    Location:
    NJ
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    Neat, but yeah, needs a LOT more explaining. How did this actually work? Tell us what Sixaxis does.
     
  7. Morgon

    Joined:
    Aug 15, 2014
    Messages:
    453
    Likes Received:
    64
    Location:
    Glen Burnie, MD
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    The Sixaxis app (which is also the actual name of the PS3 Controller) just maps button presses to simulated taps on the screen. You can see in his screenshot the little circles, which are the activation points when the corresponding buttons are pressed. The controller is connected via Bluetooth to the Android device.

    Very similar to PC apps where a button on an external device will trigger a key press in whatever program you're using.
     
  8. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    Jeezzzz bro... that **** took many hours... if i quoted a price , you'd be pissed cuzz it's too much and i'd be pissed cuzz it ain't enough :lol:


    3.7 is nominal... 4.2 is fully charged... same battery

    Yeah would be too weak to work... could use something to step up the voltage... or go with a bigger battery and step down the voltage for the controller... but nahhh... this is just fine the way it worked out... the PS3 battery lasts 30-ish hours... the Phantom tx batteries last 40 to 50 flights... not enough problem to sweat the details :ugeek:


    Thaanks Rich!!!


    I did... i left links at the bottom of my post that cover all the details... I "used" the app... but i didn't wanna waste half a page explaining something i can link to that's been around for 5 years :? ... morgon gave a brief view of what it does but there's a lot more to it.
     
  9. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    Re: DBS MODs "Game Changer Plus" PS3 stealth mode

    ****!! Frickin rain :cry:

    The one day i have the morning off and this weather takes a dump on the whole plan... i wanted to get some decent video using all my new buttons :evil:

    this is gonna be a long day :ugeek:
     
  10. Luap

    Joined:
    Jan 4, 2014
    Messages:
    430
    Likes Received:
    70
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    Wow thats smart!!!
    Big thanks to kickthefences and you to bring it out.

    What buttons are you using? Could you post a link?
    So you just solder them to the controllers motherboard where all the pushbuttons were?
    Could you do a close up picture of that area?

    Is the tilt any smoother?

    Cool have a new project! Thanks guys :D
     
  11. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    Thanks Luap :D

    Questions answered


    What buttons are you using? Could you post a link? ---- http://www.radioshack.com/product/index.jsp?productId=2062546


    So you just solder them to the controllers motherboard where all the pushbuttons were? ---- yes , that is correct :mrgreen:


    Could you do a close up picture of that area? --- how bout a diagram? (my unit is already put back together and waiting for a flight as soon as the rain clears up.)
    [​IMG]

    Is the tilt any smoother? ----- no it is not... it is exactly the same... this mod just pushes the buttons on the screen for you so it doesn't change the way that functions at all. :ugeek:
     
  12. mede8er

    Joined:
    May 26, 2014
    Messages:
    307
    Likes Received:
    4
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    Excellent work as usual Big Chuck...yeah this freakin rain sucks..... :x
     
  13. DBeard

    Joined:
    Aug 13, 2014
    Messages:
    137
    Likes Received:
    1
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    You are a very capable man! So impressive.
     
  14. jasonb777

    Joined:
    Jul 26, 2014
    Messages:
    411
    Likes Received:
    47
    Location:
    Jacksonville n.c.
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    hEY DBS thats an awesome idea :!: :idea: :!: I am currently an apple user and I have already upgraded to IOS 8 so right now there is no way to jailbreak and use a comparable controller mod, so I was wondering if this mod will interface properly using the moverio bt-200s, and if thats the case doesn't the ps4 controller have a mouse pad :?: so we moverio users could modify the ps4 controller and use the swipe pad for ground station :idea: :geek:
     
  15. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    Not to familiar with the Moverio ... Although it is an Android device... can it be Rooted? Will it be compatible with the Sixaxis app? Does it have bluetooth to connect with the controller? And then if all that works out... Sixaxis app is not compatible with PS4 controller and the DJI Vision app doesn't have native game pad support... :-/
     
  16. DBS

    DBS

    Joined:
    Apr 6, 2014
    Messages:
    1,187
    Likes Received:
    163
    Location:
    Ft. Pierce, Florida
    Re: Game Changer Plus - PS3 DualShock controls {camera tilt

    Made a quick video to show that it is working... couldn't get out to fly at all cuzz it's been raining all **** day over here... but I did a bench run just to show the function... The rest of the video is pretty much the same as the Original Post here... no biggie...

    [youtube]http://www.youtube.com/watch?v=V2sRmXg9z3E[/youtube]
     
  17. mede8er

    Joined:
    May 26, 2014
    Messages:
    307
    Likes Received:
    4
    Re: Game Changer Plus - PS3 DualShock controls {VIDEO IS UP}

    The question is: What will Da Brain Surgeon come up with next.......... :mrgreen:
     
  18. dpdpkpcom

    Joined:
    Sep 11, 2014
    Messages:
    55
    Likes Received:
    0
    Re: Game Changer Plus - PS3 DualShock controls {VIDEO IS UP}

    Great work DBS. Not only in the professional look of the final solution, but also the documentation. Looks quite extensive.

    I couldn't work out a way to get the ps3 controlled mounted on the back. Never occurred to me to strip it down and mount it inside.

    Props to you !!!
     
  19. planedr

    Joined:
    Jul 22, 2014
    Messages:
    220
    Likes Received:
    13
    Location:
    GroƟbissendorf Germany
    Re: Game Changer Plus - PS3 DualShock controls {VIDEO IS UP}

    That is impressive. Well done.
     
  20. M.Tigelaar

    Joined:
    May 27, 2014
    Messages:
    449
    Likes Received:
    3
    Location:
    The Netherlands
    Re: Game Changer Plus - PS3 DualShock controls {VIDEO IS UP}

    Nice work DBS :D
    Is it not difficult to connect every time with the ps3 controller now?