PsxNewLib icon indicating copy to clipboard operation
PsxNewLib copied to clipboard

Namco Volume Controller SLPH-00015 and 3.3V Arduinos support

Open eadmaster opened this issue 4 years ago • 16 comments

is it supported?

white Jap version green Eur version (i have one of these)

Reportedly it is using the Negcon analog protocol.

side question: will this sketch also work with an 3.3V Pro Micro board (instead of using a level shifter)?

eadmaster avatar Jun 14 '21 11:06 eadmaster

I don't have that one and no one has reported about it, so I can't say for sure, but if it uses the neGcon protocol, it should work.

Interesting question about 3.3V boards. I think they will work but you might need a strong external pull-up (1k) on the DAT line.

SukkoPera avatar Jun 14 '21 11:06 SukkoPera

ok, i will give a try when i have some free time and all the components required and report back here.

eadmaster avatar Jun 14 '21 12:06 eadmaster

forgot to ask: do you have some time-sensitive code in the lib that won’t work correctly @ 8MHz?

eadmaster avatar Jun 14 '21 15:06 eadmaster

I don't think so but I have never tested the lib at 8 MHz. I'd suggest using the hardware SPI pins for improved reliability.

SukkoPera avatar Jun 14 '21 16:06 SukkoPera

Any news about this?

SukkoPera avatar Jun 21 '21 20:06 SukkoPera

still haven't received all the needed parts, i suggest to leave this issue opened until it is verified.

eadmaster avatar Jun 21 '21 21:06 eadmaster

Ok, no problem! Just make sure to report back :).

SukkoPera avatar Jun 22 '21 05:06 SukkoPera

UPDATE: just built the adapter with a diymore Arduino USB @ 3.3V: tested with a DS2 controller first and it IS working fine!

Btw it is NOT working with the Namco Volume Controller, anything i could try?

eadmaster avatar Sep 05 '21 16:09 eadmaster

Enable debug and report what you get.

SukkoPera avatar Sep 05 '21 16:09 SukkoPera

EDIT2: after a few tries, with the Volume Controller now i get this in the serial monitor:

Ready!
Controller found!
Cannot enter config mode
Controller lost :(
Controller found!
Cannot enter config mode
Controller lost :(
Controller found!
Cannot enter config mode
Controller lost :(
Controller found!
Cannot enter config mode
Controller lost :(
(loops)

eadmaster avatar Sep 05 '21 16:09 eadmaster

Another try after re-checking the wires, now it stops here:

Ready!
Controller found!
Cannot enter config mode

eadmaster avatar Sep 05 '21 17:09 eadmaster

Try to uncomment the DUMP_COMMS #define in PsxNewLib.h, I need more info.

SukkoPera avatar Sep 06 '21 14:09 SukkoPera

there you go: log1.txt

(If it does not make any sense i may still have some loose wire on my prototype build i need to fix again)

eadmaster avatar Sep 06 '21 18:09 eadmaster

It doesn't make much sense, but I cannot make a useful analysis if I cannot trust the data you provide. Please make sure your wiring is solid and that you have 1k pull-ups on all lines, then produce a log and I will analyze that.

SukkoPera avatar Sep 07 '21 09:09 SukkoPera

Just got a Volume Controller and I can confirm that it uses the same protocol as the neGcon and is supported by PsxNewLib. No idea about a 3.3v arduino as I'm using a Leonardo with voltage regulator and level shift for 3.3v.

sonik-br avatar Apr 01 '22 19:04 sonik-br

Hello, I am using this library in an atmega8 at 8mhz, everything works, but there is a problem, it seems that it takes time to read the values of the control, something like a delay, I press, and release the control and in the code it takes a few seconds to detect that I release or press, what can I change to improve the speed? I even removed the delay from the loop of the program, but it's still the same bad.

DevDavisNunez avatar Jul 10 '22 23:07 DevDavisNunez