Question N64 microchip

Pacal

.
.
Joined
Jul 30, 2016
Messages
137
Likes
258
Portables
RDP 64
Hi.
Does anybody knows where I can find the files to program a Pic,i want to use one of those nintendo switch joysticks on a N64 portable that I’m working.
 

Ethan

.
Joined
Apr 20, 2019
Messages
32
Likes
32
there are no publicly avaible files for this you'll have to buy a pre-made one/kit or write the code yourself
 

StonedEdge

Moderator
Staff member
.
.
.
Joined
Nov 16, 2018
Messages
274
Likes
1,154
Location
Japan, Tokyo
Portables
2
Nold has some converter code he’s used with success here you could try:
This one uses an ATtiny microcontroller to convert the X/Y axis ADC reads, which then are converted into quadrature pulses similar to what the N64 stick outputs (which is a type of encoder, not a typical potentiometer stick) to be read by the N64 controller. Gman ported very similar code to a PIC microcontroller to do the same task, maybe he will share with you his code. Keep in mind the switch stick ranges are as we know, terrible, so you’ll have to do some scaling in software to get them to feel good.
 

Pacal

.
.
Joined
Jul 30, 2016
Messages
137
Likes
258
Portables
RDP 64
Nold has some converter code he’s used with success here you could try:
This one uses an ATtiny microcontroller to convert the X/Y axis ADC reads, which then are converted into quadrature pulses similar to what the N64 stick outputs (which is a type of encoder, not a typical potentiometer stick) to be read by the N64 controller. Gman ported very similar code to a PIC microcontroller to do the same task, maybe he will share with you his code. Keep in mind the switch stick ranges are as we know, terrible, so you’ll have to do some scaling in software to get them to feel good
Thanks,I’ll check it out.
 
Joined
Dec 6, 2020
Messages
94
Likes
153
Location
Canada
Portables
2
Nold has some converter code he’s used with success here you could try:
This one uses an ATtiny microcontroller to convert the X/Y axis ADC reads, which then are converted into quadrature pulses similar to what the N64 stick outputs (which is a type of encoder, not a typical potentiometer stick) to be read by the N64 controller. Gman ported very similar code to a PIC microcontroller to do the same task, maybe he will share with you his code. Keep in mind the switch stick ranges are as we know, terrible, so you’ll have to do some scaling in software to get them to feel good.
That's awesome info, do you know how well this was used in any portables?
 

Nold

real emulation, no hardware
Staff member
.
.
.
Joined
Jul 16, 2017
Messages
378
Likes
1,270
Location
EU
Portables
5 + 1*π
I used it two times & it's pretty good
 
Top