Giter Site home page Giter Site logo

Comments (3)

lshachar avatar lshachar commented on June 26, 2024

...and you're also recieving the 'incoming data crc8 mismatch' message on the serial monitor?
sounds like you have a bad connection / wrong connection (less likely) / noise problem.
try twisting another wire around each data wire (mosi, miso, clk) and connecting those wires to ground.
if you can get your hands on an osciloscope, you should be able to see if the lines are noisy.
maybe it's a bad level shifter?
make sure you have a good ground connection between the wheelbase and your circuit.
I sometimes get that issue with buttons being pressed frantically. I'm still using a breadboard here and by inserting the wires better into the breadboard I usually get it sorted.

from arduino_fanatec_wheel.

smollda avatar smollda commented on June 26, 2024

Hi, thanks for the quick response! After some testing today I can say your "noise" theory is probably true. I made second testing circuit with different arduino and different level shifter and after turning on, serial monitor showed about 50% crc8 mismatch messages mixed with what looked like 3 hex numbers (I assume those were correct messages). I was also using laptop running on baterry at that time, which might have helped ... ? No buttons were being pressed randomly. The wheel appeared as a Porsche 918 RSR steering wheel.
Anyway, I'll make a new properly soldered connector and probably even custom PCB to fit arduino and level shifter and try to make some sort of shielding for data wires.
I also have access to an oscilloscope at work, so if the new circuit fails, I'll check what's going on with those data lines.
Good news is, after installing new beta driver and wheel + motor firmware and connecting the new testing circuit, the calibration issue was gone. I just had to calibrate wheel center using the new driver (version 356)

from arduino_fanatec_wheel.

lshachar avatar lshachar commented on June 26, 2024

there should be a lot less CRC8 errors now that I fixed a few SPI communication bugs. don't forget to update your layout.

from arduino_fanatec_wheel.

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.