Question N64 microchip

Pacal

.
Joined
Jul 30, 2016
Messages
158
Likes
340
Location
Seattle W.A
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
39
Likes
37
there are no publicly avaible files for this you'll have to buy a pre-made one/kit or write the code yourself
 

StonedEdge

a.k.a. ClonedEdge
.
.
Joined
Nov 16, 2018
Messages
362
Likes
1,482
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
158
Likes
340
Location
Seattle W.A
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
226
Likes
260
Location
Canada
Portables
3
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
.
.
2021 1st Place Winner
Joined
Jul 16, 2017
Messages
443
Likes
1,608
Location
EU
Portables
5 + 1*π
I used it two times & it's pretty good
 
Top