[NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Various user-contributed guides for hardware-related things
User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: Sota's 14 buttons + 2 analog sticks guide for a (Sparkfun) Leonardo Pro Micro (Cheap teensy alternative)

Post by sotasystems » Fri Nov 25, 2016 1:24 am

JujuPi wrote:Sota I would like to thank you very much for making this publically available. We all should! I bought my Leonardo from Aliexpress for $4 because I am trying to make this project as cheap as possible. Guess what! It worked on first go and all I did was short out a random pin to ground and bingo it showed up on the calibration menu through Windows!

For all those wondering where I got mine - https://www.aliexpress.com/item/ATmega3 ... 75582.html

THANKS AGAIN SOTA! :) Much love from JujuPi

:D :D
I'm very glad I could be of great service. :)
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

User avatar
JujuPi
Posts: 51
Joined: Mon Nov 21, 2016 2:08 am
Has thanked: 8 times
Been thanked: 16 times

Re: Sota's 14 buttons + 2 analog sticks guide for a (Sparkfun) Leonardo Pro Micro (Cheap teensy alternative)

Post by JujuPi » Sun Nov 27, 2016 4:35 am

sotasystems wrote:
JujuPi wrote:Sota I would like to thank you very much for making this publically available. We all should! I bought my Leonardo from Aliexpress for $4 because I am trying to make this project as cheap as possible. Guess what! It worked on first go and all I did was short out a random pin to ground and bingo it showed up on the calibration menu through Windows!

For all those wondering where I got mine - https://www.aliexpress.com/item/ATmega3 ... 75582.html

THANKS AGAIN SOTA! :) Much love from JujuPi

:D :D
I'm very glad I could be of great service. :)

Yes! Could you do me a favor and show me a photo of your pro micro, I feel like they have put the silkscreen on mine incorrectly. It is not numbered correctly.

User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: Sota's 14 buttons + 2 analog sticks guide for a (Sparkfun) Leonardo Pro Micro (Cheap teensy alternative)

Post by sotasystems » Sun Nov 27, 2016 5:16 am

JujuPi wrote:Yes! Could you do me a favor and show me a photo of your pro micro, I feel like they have put the silkscreen on mine incorrectly. It is not numbered correctly.
Mine literaly looks like this:
Image

By the way, TXO is equivalent to Pin 1 and RXI is equvalent to pin 0. So from upper left down it goes

1, 0, 2, 3, 4, 5, 6, 7, 8, 9

then from lower right to upper right it goes as it says:

10, 16, 14, 15, A0, A1, A2, A3.
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

User avatar
JujuPi
Posts: 51
Joined: Mon Nov 21, 2016 2:08 am
Has thanked: 8 times
Been thanked: 16 times

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by JujuPi » Thu Dec 01, 2016 1:58 am

2 places where to get the PSP buttons:

1. Adafruit - https://www.adafruit.com/product/444 - $3.50 for 1
2. Aliexpress - https://www.aliexpress.com/item/5pcs-lo ... 63573.html - $11.60 for 5 which is good if you want to make 2 gameboy zeros :)

- JujuPi

User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by sotasystems » Thu Dec 01, 2016 7:19 am

JujuPi wrote:2 places where to get the PSP buttons:

1. Adafruit - https://www.adafruit.com/product/444 - $3.50 for 1
2. Aliexpress - https://www.aliexpress.com/item/5pcs-lo ... 63573.html - $11.60 for 5 which is good if you want to make 2 gameboy zeros :)

- JujuPi
Here is where I got mine from:

http://www.ebay.de/itm/361351958328?_tr ... EBIDX%3AIT
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

nonameboy
Posts: 6
Joined: Sat Nov 12, 2016 12:17 am
Has thanked: 3 times
Been thanked: 1 time

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by nonameboy » Sun Dec 04, 2016 3:12 pm

thanks sota for this wonderfull guide ;-)

is it possible to map the buttons for a wii u gamepad? Like Banjokazooie did with a teensy 2.0 http://sudomod.com/forum/viewtopic.php?f=13&t=1607

User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by sotasystems » Sun Dec 04, 2016 3:55 pm

nonameboy wrote:thanks sota for this wonderfull guide ;-)

is it possible to map the buttons for a wii u gamepad? Like Banjokazooie did with a teensy 2.0 http://sudomod.com/forum/viewtopic.php?f=13&t=1607
Yes it possible with a slight modification, but it's peanuts :)
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

nonameboy
Posts: 6
Joined: Sat Nov 12, 2016 12:17 am
Has thanked: 3 times
Been thanked: 1 time

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by nonameboy » Sun Dec 04, 2016 4:15 pm

sotasystems wrote:
nonameboy wrote:thanks sota for this wonderfull guide ;-)

is it possible to map the buttons for a wii u gamepad? Like Banjokazooie did with a teensy 2.0 http://sudomod.com/forum/viewtopic.php?f=13&t=1607
Yes it possible with a slight modification, but it's peanuts :)
ok thanks. have to take a look. I'm not a pro coder but I think I can do it. If not, can I send you the modified version of your code so you can take a look? Of course if you have time ;-)

User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by sotasystems » Sun Dec 04, 2016 4:30 pm

nonameboy wrote:ok thanks. have to take a look. I'm not a pro coder but I think I can do it. If not, can I send you the modified version of your code so you can take a look? Of course if you have time ;-)

If you wait a little bit, I can make you a little wiring diagram. You actualy do not need to modify the code at all
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

User avatar
sotasystems
Posts: 160
Joined: Sun Oct 09, 2016 4:56 am
Location: Germany, 127.0.0.1
Has thanked: 95 times
Been thanked: 93 times
Contact:

Re: [NEW VERSION] Sota's 14 buttons + optional up to 2 analog sticks guide for a Leonardo Pro Micro (Teensy alternative)

Post by sotasystems » Sun Dec 04, 2016 4:52 pm

nonameboy wrote:
sotasystems wrote:
nonameboy wrote:thanks sota for this wonderfull guide ;-)

is it possible to map the buttons for a wii u gamepad? Like Banjokazooie did with a teensy 2.0 http://sudomod.com/forum/viewtopic.php?f=13&t=1607
Yes it possible with a slight modification, but it's peanuts :)
ok thanks. have to take a look. I'm not a pro coder but I think I can do it. If not, can I send you the modified version of your code so you can take a look? Of course if you have time ;-)
I just noticed that it unfortunately is not possible. :?

If we take a look at [mention]banjokazooie[/mention]'s Teensy diagram here:

Image

We can see that he uses 21 Pins. The Leonardo only offers 18 maximum. So if you plan on using all of them, you can't. If you are okay with leaving specific ones out, it will work.

An alternative: If I were to use a Wii U gamepad with a Leonardo I would leave out these inputs:

- Analog stick Thumbclicks (2x)
- TV
- Home

That would leave you with 14 buttons and 2 analog sticks, which would work out.
Ladies and gentlemen, I would like to inform you that I am currently moving very far away, and therefore I am very busy.

UPDATE: I am still alive! My ISP is setting up my internet on the 19th of January at my new place, explaining my offline-ness.

If you write me a PM, I will very likely take some time to respond.

Also, my 2nd build will soon go on, so if you've been following it, please stay tuned! :)

Many thanks for your understanding!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest