Skip to content
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

Adapting to ESP32 #5

Open
matt0hait opened this issue Dec 21, 2019 · 9 comments
Open

Adapting to ESP32 #5

matt0hait opened this issue Dec 21, 2019 · 9 comments

Comments

@matt0hait
Copy link

I'm working on adapting this to my Clubsport V2.5 using an ESP32. I'm a little stumped on the pinout. It seems different from the one provided in the repository. I thought that the Fanatec rims were compatible between the bases. I'm limited in my options since I don't have a Fanatec rim yet. This is what I found so far by probing the base's PCB:

image

Anyone else take a crack at this yet?

@MagnusThome
Copy link

MagnusThome commented Dec 22, 2019

I'm a bit confused with your pinout numbering. This is the original connector numbering in Isachars picture?

The five uncommented pins are 5V, GND, +D, -D and NC I think.

schamtics arduino nano-level shifter-fanatec round plug PIN DESCR

EDITED BY @lshachar : please note that this diagram is old, and there have been important changes to it.

@MagnusThome
Copy link

This pinout works on a CSL Elite + I have here and it defintely works with the same steering wheels as with your Clubsport V2.5

@matt0hait
Copy link
Author

Just re-probed with my oscilloscope, (using the pin map you provided) I have 5V on pin 11 &13. Pin 4 definitely connects to ground for me. I was able to continuity check it to a Vss pin. Is it possible that the rims provide 5V to the base through pin 4?

I'll have some level converters later this week. Saw some diagnostic pins on the inside of the base. Gonna see if they can spill the beans.

@matt0hait
Copy link
Author

(Using your pin map again) Pin 3 does output 3.3V, but once it is pulled to ground the signals become alive. I'm still not receiving any signals on MISO or MOSI. Using the serial interface on the arduino doesn't create any signals either. Think I'm going to need to try another arduino.
SDS00017

@lshachar
Copy link
Owner

lshachar commented Dec 26, 2019

When I initially tried to implement this I wanted to go the ESP32 route, but as far as I can remember - nobody was able to put the ESP32 in ISP Slave mode. Even though some documentations were referring to that.
I advise you to try getting your ESP to receive data as an ISP slave, between two devices of your liking, before attempting to use this code.
(Actually, I would advise you to get this code fully working on an arduino first... would probably make your life much easier!)

@lshachar lshachar changed the title Adapting to Clubsport V2.5 Adapting to ESP32 Dec 28, 2019
@lshachar
Copy link
Owner

Pin 4 definitely connects to ground for me. I was able to continuity check it to a Vss pin. Is it possible that the rims provide 5V to the base through pin 4?
Pin 3 does output 3.3V, but once it is pulled to ground the signals become alive.

I'm pretty sure you're reading the connector mirrored. the picture I gave is the side on the rim, wheres the side you're probing is the connector side in the wheelbase.

Is it possible that the rims provide 5V to the base through pin 4?

The rim gets 5V from the wheelbase, not the other way around.

@matt0hait
Copy link
Author

That picture of the oscilloscope is with an Arduino Leonardo.Still no dice. Going to pick up another Arduino soon and see if that fixes the issue.

@danieleibarra
Copy link

Ok I have the sketch for adolescence 3.2 I just don't know where they would go, help me

@lshachar
Copy link
Owner

lshachar commented Jan 8, 2020

Please open a new issue related to the problem you're having.

Repository owner deleted a comment from danieleibarra Jan 8, 2020
Repository owner deleted a comment from danieleibarra Jan 8, 2020
Repository owner deleted a comment from danieleibarra Jan 8, 2020
Repository owner deleted a comment from danieleibarra Jan 8, 2020
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

4 participants