dekuNukem / Nintendo_Switch_Reverse_Engineering

A look at inner workings of Joycon and Nintendo Switch
3.38k stars 187 forks source link

Can the Joycon joystick work with 5v? #124

Open HellSingCoder opened 2 years ago

HellSingCoder commented 2 years ago

I am aware of the standard pinout with the 3.3v input but, would it be possible to make it work with 5v instead? will it cause any damage to the internal components of the joystick itself?

To clarify, this would be for a separate pcb.

superpotato9 commented 2 years ago

If you simply want to run 5v through it then you should be fine

EuphoricPenguin commented 2 years ago

Is there a guide anywhere for this? I'm struggling to find information on the acceptable voltage/current range.

HellSingCoder commented 2 years ago

I can confirm it works with 5V. I have been running it for about a month now, multiple hours a day.

EuphoricPenguin commented 2 years ago

I can confirm it works with 5V. I have been running it for about a month now, multiple hours a day.

That's nice to hear. Was there ever a document to suggest otherwise? I've combed over the issue threads here several times, and I've never found the pinout (with 3.3v) you were talking about. I found an image where someone had added 3.3V to the silkscreen, but that was it.

Since several common Arduino-compatible boards run on 3.3v, I assumed it was simply an off-the-cuff design choice.

Aezore commented 2 years ago

I haven’t done any work on this but I do work with electronics and while it’s advised to stick to specs it’s possible to overdrive inputs as devices tend to be protected as long as you don’t go crazy with both current and voltages. One of the main reasons portable electronics do work with 3.3v nowadays is because lithium batteries are fully charged at 3.5/3.7v and that gives room to operate safely without extra regulation circuitry. Also temperatures and trace widths and all sort of noise stuff.

If you’re worried you could try to build a voltage clamp with a pair of schotky diodes to the supply rail. It’s basically two diodes together in parallel with the rail and ground and the diodes junction being the node for the signal wire. That sinks any voltage above the supply rail and protects the device. It’s usually a protection measure instead of a “feature” but should do the job. Also there are cheap level shifters in the market for that matter.

El El mié, 24 nov 2021 a las 21:25, EuphoricPenguin < @.***> escribió:

I can confirm it works with 5V. I have been running it for about a month now, multiple hours a day.

That's nice to hear. Was there ever a document to suggest otherwise? I've combed over the issue threads here several times, and I've never found the pinout (with 3.3v) you were talking about. I found an image where someone had added 3.3V to the silkscreen, but that was it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/issues/124#issuecomment-978196335, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACICGHKDSCY22BCVKC3WXXTUNVC4TANCNFSM5APTWUQQ .

--


Jose Rodriguez Bas (Silverdisc) Email: @.***