Skip to content

[feature] Block (or override) controls of a specific car #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sduponch opened this issue Jan 30, 2025 · 6 comments
Open

[feature] Block (or override) controls of a specific car #19

sduponch opened this issue Jan 30, 2025 · 6 comments

Comments

@sduponch
Copy link

Hi, there is a way to block the controls of a specific car ?
For example by setting his fuel level or speed to zero.

@tkem
Copy link
Owner

tkem commented Jan 31, 2025

You mean, like disabling the controller? So the car just stands still? I do not think so.

@sduponch
Copy link
Author

Yes that this, so i will have to add some electronics to achieve that.

Do you have some info on how the Wireless controllers works (on the rj11 side) ?
I saw that the wireless module has two supplementary wires on the RJ, for i what i think to be serial data.

@tkem
Copy link
Owner

tkem commented Jan 31, 2025

Frankly, I do not know. The Carrera Wireless protocol itself is proprietary and I'm not aware of any public information on that.

I also haven't found any information on how the multiplexing of controllers is handled on the RJ-11side (which I guess is also how the [speed controller extension](https://www.carrera-toys.com/en/product/20030348-handreglererweiterungsbox works).

I'm only aware of the schematic of a single digital carrera controller [e.g. http://www.wasserstoffe.de/carrera-hacks/parma-regler/index.html] which uses four wires - I guess you already figured that out, though.

So, yes the two additional wires probably are used for multiplexing of multiple controllers through a single RJ-11 connector, but I do not know any details. But I haven't been researching this for quite a while, so if you find some information, please let me know!

@sduponch
Copy link
Author

sduponch commented Feb 1, 2025

Ok, i will do some reasearch on it soon, maybe next week, and i will share the result with you.

Thank for your work on this lib, what you done is incredibly good. Your android app is far better than the legacy one, keep going !

@Antoni-Czaplicki
Copy link

Hi @sduponch, have you managed to go forward with this?

@sduponch
Copy link
Author

sduponch commented Mar 6, 2025

The two extra wires are indeed to send the controllers states, the unit sends somes bits. Then the wireless module sends data bits separated with a constant timings.

I made a quick video :
https://youtube.com/shorts/eoiZPaqh4LU?si=qUR3lq8WySwyko-F

First bits are for controller ID, then the value of the controller and last for the button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants