-
Notifications
You must be signed in to change notification settings - Fork 13
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
CSL DD wheel base connects and discconects with wheel attatched. #26
Comments
It's not a stupid question, but it is lacking information. I'm not sure if your arduino is properly powered from the wheel once the wheel starts. If you followed my diagram, there's a diode so that you're not powering the arduino from USB while also powering it from the 5V pin connected to the wheel. the diode is there so that the power supplies on the wheelbase do not get voltage from the PC's power supply. |
Hey thanks for the speedy reply,The arduino does get power when the wheel is plugged in however the wheel base then disconnects with the wheel in place and powered. When I power the arduino before hand it works just fine. Not sure if I need to change something in the code or my arduino is crappy.
|
Hi. I have the same problem. When my Arduino is plugged in to USB before I plug it into the wheelbase, the steering wheel is detected. Otherwise the wheelbase disconnects. I also found out that when there is no wheel plugged into the wheelbase, I measure voltage across the 5V pin and any of the GND pins, there is no voltage at all. Maybe the wheelbase powers on the 5V pin after SPI comm is established. It might be something else totally. My test scenario is a Nano with level shifters and a bush of wires on a breadboard. |
That's an interesting find! see if the 3.3v line is always supplied once you turn the wheelbase on, and see if the 5v line is off at the same time. then see if the 5v line turns on after spi comms is established. If the wheelbase behaves the way I described, then it means that all of fanatec's wheels must be running from the 3.3v line, with the 5v probably only there for peripherals (or never used). and it would also mean that anyone with a CSL DD wheelbase would either need to add a 3.3v to 5v step up converter (boost converter) to power the arduino nano from, or completely change the nano for a 3.3v board. There's some information about this in other issues and in this pull request |
There are some more crazy things happening in the wheelbase without a wheel connected. I tried connecting the wheel with arduino 5V power only. The wheelbase 5V pin comes alive immediately when I connect the arduino to SPI. |
Could it be that the fanatec wheels are getting power from one of the other pins that are unused? I looked online and it looks like pins 9 and 12 are used as a usb pass through for power and ground. I will try and check those pins when I get the chance
|
Hi again. I have come across a new theory after letting my frustration settle a bit. On the original wheel connectors, one pin is shorter than all the rest. Has anyone wondered why that could be? My theory is that when you connect the wheel to the base, the GND pin on the outer rim is connected a tiny bit later than all the rest of the pins. It is when the 2 GND pins are shorted inside the wheelbase, SPI packets are beginning to be sent to the wheel. By fully plugging in the adapter, that very short timeframe could be required to boot up the adapter to a state that it is ready for SPI communication. I would be interested in how many people have taken care of making that one pin shorter and how does it relate to the success of their project. |
@mbakos82
I did point you in a direction of testing the 3.3v line, see my previous comment, you never said if you tried that. @thomaswang04 everything is possible, I did my work on a different wheelbase in a time where the CSL DD did not exist yet. |
I can confirm this works on a CSL DD GT Pro as well. Succesfully made this project for mounting a truck wheel to my Fanatec base. For some information: I used an Arduino Uno with a level shifter, because that was what I had laying around, except for the level shifter :P . Base powers up as it would with an actual Fanatec wheel. As for there being pins that might behave different: given that there are wheels with OLED screens in them, I suspect that they might act like a small DisplayLink device and need USB communication that way. |
Thank you for confirming. If that's the case, then I suggest people start using my supplied PCB, send it to fabrication (JLPCB or PCBWAY are well known options) and just stop having all sorts of weird wiring issues... btw I'm quite disappointed with how nobody respects the fact this project is a donationware. :/ |
I assume as long as you can program it it will probably work. All you'd have to do is use someone elses matrix code then call the button bit change function. (i also have no idea how this close reopen thing works sorry for spamming it 🙃) |
This made me very happy, thank you! I really appreciate it :)
Yeah as @thomaswang04 said, it's just a matter of programming it, and it should be very straightforward. the only limitation would be the size of the button byte array, which is either 22 or 24 buttons. (as the last comment in arduino_fanatec_wheel.ino says)
Nah, not for me. thanks for the thought though! :) |
Hello everyone, sorry if this is a stupid question but i was able to get the wheel wired up the only way i've been able to get it to work is by having the Arduino powered up before turning the wheel on. Otherwise when the wheel starts up it instantly disconnects after start.
The text was updated successfully, but these errors were encountered: