Joy stick addon as well?

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
User avatar
LoafSlice
Posts: 67
Joined: Mon May 16, 2016 2:58 pm
Has thanked: 9 times
Been thanked: 3 times

Joy stick addon as well?

Post by LoafSlice » Sat May 21, 2016 6:04 am

This is strange but could I wire a joy stick to the same u/d/l/r solders?

I kind of want to take apart a game boy SP and add a joystick to the game boy, might be cluttered but would be pretty darn sick

petran1420
Posts: 96
Joined: Sun May 08, 2016 8:59 pm
Has thanked: 1 time
Been thanked: 18 times

Re: Joy stick addon as well?

Post by petran1420 » Sat May 21, 2016 9:23 am

I was considering this as well, though i've never wired an analog control before. Would it be as simple as hooking it up to analog ports on the teensy?

User avatar
Popcorn
Trailblazer
Trailblazer
Posts: 354
Joined: Thu May 05, 2016 12:58 am
Location: Berlin
Has thanked: 29 times
Been thanked: 71 times

Re: Joy stick addon as well?

Post by Popcorn » Sun May 22, 2016 10:43 pm


sander
Posts: 34
Joined: Wed May 18, 2016 10:44 am
Been thanked: 3 times

Re: Joy stick addon as well?

Post by sander » Mon May 23, 2016 2:18 am

Or maybe something more compact like this one?

petran1420
Posts: 96
Joined: Sun May 08, 2016 8:59 pm
Has thanked: 1 time
Been thanked: 18 times

Re: Joy stick addon as well?

Post by petran1420 » Mon May 23, 2016 6:29 am

@sander that one looks ideal. Now if it only had a breakout board :D

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: Joy stick addon as well?

Post by wermy » Mon May 23, 2016 7:08 am

@sander I have one just like that, and it's super easy to wire up and use on a Teensy. So yeah you could probably do it pretty easily -- one of the reasons I like using the Teensy for these projects. :)

The only reason I didn't do it, honestly, is that the Pi Zero doesn't play many systems that would benefit from it very much (i.e only a few N64 games are playable). Just something to keep in mind. :)
ImageImageImageImage

petran1420
Posts: 96
Joined: Sun May 08, 2016 8:59 pm
Has thanked: 1 time
Been thanked: 18 times

Re: Joy stick addon as well?

Post by petran1420 » Mon May 23, 2016 9:58 am

@wermy would it just get wired into the analog ports of the teensy? I've never wired an analog control before.

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: Joy stick addon as well?

Post by wermy » Mon May 23, 2016 10:04 am

petran1420 wrote:@wermy would it just get wired into the analog ports of the teensy? I've never wired an analog control before.
Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.
ImageImageImageImage

petran1420
Posts: 96
Joined: Sun May 08, 2016 8:59 pm
Has thanked: 1 time
Been thanked: 18 times

Re: Joy stick addon as well?

Post by petran1420 » Mon May 23, 2016 10:36 am

Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.
Sounds good. I'll try to find a guide online!

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: Joy stick addon as well?

Post by wermy » Mon May 23, 2016 10:39 am

petran1420 wrote:
Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.
Sounds good. I'll try to find a guide online!
I'll try to remember to post some sample code when I get home (as well as how I had it wired).
ImageImageImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest