lshachar / Arduino_Fanatec_Wheel

A do-it-yourself steering wheel to Fanatec's wheel base
86 stars 13 forks source link

Teensy 3.2 #19

Open meggerja opened 2 years ago

meggerja commented 2 years ago

Hello, sorry for maybe stupid question but I would like to ask is this OK to use teensy 3.2 as it's operates at 3.2v instead of arduino with logic shifter?

lshachar commented 2 years ago

I can't give you a straight answer. I tried to read back on this huge issue that has lots of good info, and I searched for info in my github, but didn't get anything concrete. If the teensy works properly as an SPI slave, and can keep up with the base clock of the wheelbase' SPI bus at 500KHz, then in theory it should work. But not all boards are born equal and I never tried working with a teensy. Didn't see anyone mentioning getting my code to work with a teensy thus far.

Sabifa got it to work with a Pro Mini V2. That board can be run at 16MHz at 3.3V and it does work at least to enable FF effects, but I found out that the Pro Mini is not really designed to run at 16MHZ / 3.3V, so I decided not to fully support it here.

Good luck p/s you're confusing teensy Version 3.2 with 3.3 volts :0

meggerja commented 2 years ago

Hello I found this: https://www.thingiverse.com/thing:3673632 Do you think it may work?

lshachar commented 2 years ago

Yes. Not sure how I've missed that. Unfortunately it doesn't support buttons, alphanumeric display, nor sending keypresses through the serial interface. (The interface between your pc and the teensy) So you might get stuck being unable to calibrate your wheel's center point. :/

These features can be reimplemented using my code

meggerja commented 2 years ago

Thank you

meggerja commented 2 years ago

I'm not sure what do you mean with this center point calibration, this is available threw the pc fanatec software, or maybe I'm thinking about something different 🤔 I've got csl dd so might be different

lshachar commented 2 years ago

Yes, some wheels have the center calibration on the PC driver. It's not available on the CSW V2.5 I got.

Kuillemaul commented 9 months ago

Has anyone made code for the teensy 4.0 as the 3.2 is no longer available.?