Coder Social home page Coder Social logo

Comments (16)

SukkoPera avatar SukkoPera commented on May 30, 2024 1

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

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

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.

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

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.

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

Any news about this?

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

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

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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?

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

Enable debug and report what you get.

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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)

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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

Ready!
Controller found!
Cannot enter config mode

from psxnewlib.

eadmaster avatar eadmaster commented on May 30, 2024

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)

from psxnewlib.

SukkoPera avatar SukkoPera commented on May 30, 2024

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.

from psxnewlib.

sonik-br avatar sonik-br commented on May 30, 2024

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.

from psxnewlib.

DevDavisNunez avatar DevDavisNunez commented on May 30, 2024

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.

from psxnewlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.