SukkoPera/PsxNewLib

Namco Volume Controller SLPH-00015 and 3.3V Arduinos support

eadmaster opened this issue · 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)?

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.

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

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

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.

Any news about this?

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

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

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?

Enable debug and report what you get.

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)

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

Ready!
Controller found!
Cannot enter config mode

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

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)

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.

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.

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.