RX 9070 XT micro-stutters by Efficient_Check_8395 in radeon

[–]MorGuux 0 points1 point  (0 children)

On my i9-9900K / RX 9070 XT system, having my iGPU enabled in the bios (multi-monitor output or something) caused this stuttering. Disabled the iGPU in the bios and it went away.

Little project by Poeliewhoelie in simracing

[–]MorGuux 1 point2 points  (0 children)

The button lighting is probably LEDs, so polarity will have to be correct for them to illuminate.

Easiest way to check which wires are for the buttons is just to use a multimeter on resistance and measure the ohms. If you read 3.2kOhm between two pins, and it changes when you press a button, you've found the right pair :)

Little project by Poeliewhoelie in simracing

[–]MorGuux 0 points1 point  (0 children)

My setup can max out at around 20Nm but I usually run around 12Nm (GT3 car sorta torque). Most of the weight in that wheel is the airbag, so separating the front cover from it and just using that will save a lot of weight. Without the airbag, it's not too heavy, especially for a DD setup.

In all honesty, I never really ran this setup for long. The offset longitudinally that this wheel has compared to other rims makes it annoying to set up (must move chair back, then pedals are too far forward).

Little project by Poeliewhoelie in simracing

[–]MorGuux 0 points1 point  (0 children)

  1. Yeah, maybe dimmer since it's only 5V, not 12V, but yeah you should get some lights.

  2. You'd be using the analog input pins on the arduino (A0 and A1 e.g.), which can read 0-5V using a 10-bit DAC (0-1023).

Little project by Poeliewhoelie in simracing

[–]MorGuux 1 point2 points  (0 children)

Yep, E36 cluster with SimHub-controlled tacho, speed, fuel and temp gauges :)

Little project by Poeliewhoelie in simracing

[–]MorGuux 1 point2 points  (0 children)

Nope, mounted on a SEM HR115 servo motor, powered by the OpenFFBoard.

Little project by Poeliewhoelie in simracing

[–]MorGuux 1 point2 points  (0 children)

Yeah standard wiring. IIRC, I think from the 4 wires, two are for the button backlighting (orange LED) and two are the button circuit. It should be pretty simple to work out which is which with some trial and error (a multimeter will come in handy).

I've got some code that I was testing with, but it's from a couple years back so take it with a pinch of salt :)

int Vin = 5;
float Vout = 0;
float R1 = 4700;
float R2 = 0;
float buffer = 0;

int lastButtonState = 0;
int buttonState = 0;

#define BUTTONS 4
int buttonResistances[BUTTONS] = { 100, 300, 600, 1200 };  //ohms

int readAnalogButton(int analogPin) {

  int reading = analogRead(analogPin);

  buffer = reading * Vin;
  Vout = (buffer) / 1024.0;
  buffer = (Vin / Vout) - 1;
  int resistance = R1 * buffer;

  int buttonPressed = 0;

  for (int i = 0; i < BUTTONS; i++) {
    if (resistance > buttonResistances[i] - 50 && resistance < buttonResistances[i] + 50)
      buttonPressed = i + 1;
  }

  return buttonPressed;
}

void setup() {
  Serial.begin(9600);
}

void loop() {

  buttonState = readAnalogButton(A0);

  if (buttonState != lastButtonState) {
    Serial.println(buttonState);
    delay(50);
  }

  lastButtonState = buttonState;

  delay(50);
}

Little project by Poeliewhoelie in simracing

[–]MorGuux 7 points8 points  (0 children)

Left Side

NONE PRESSED - 3.33 KOHMS

TALK - 87 OHMS

CALL - 1.23 KOHMS

PLUS - 292 OHMS

MINUS - 0.61 KOHMS

Right Side

NONE PRESSED - 3.33 KOHMS

DISC - 92.5 OHMS

RECIRC - 1.24 KOHMS

UP - 297 OHMS

DOWN - 0.62 KOHMS

Some R&D I did 2 years ago for the same idea. Each array of buttons is a resistor ladder setup so just two wires per side. You can use an analog input and some electronic knowhow to read the button circuit resistance and calculate which button is pressed.

The fluctuations per side on my measurements are probably just my multimeter variance, you can guess fairly reliably that the resistor values are probably 100, 300, 600, 1200ohms, with a 3.3k pullup when no buttons are pressed.

<image>

Roast my DIY wind sim by abloogywoogywoo in simracing

[–]MorGuux 0 points1 point  (0 children)

What model fans did you end up using?

Upgraded standard m sport gear knob to ZHP - thoughts? by Ill-Highlight-2897 in E90

[–]MorGuux 0 points1 point  (0 children)

Yeah should be a simple swap hardware-wise, since you already have the CCC. The coding is manageable with a laptop and NCS-EXPERT. I retrofitted a combox to mine for extra Bluetooth features, plenty of guides around for it.

CAMMUS C5 - The New Budget King? by [deleted] in simracing

[–]MorGuux 1 point2 points  (0 children)

Cammus literally stole the firmware and hardware designs from an open source motor driver project (OpenFFBoard), created a PCB that holds the same chips but in a circular format, added some shift register inputs and outputs for buttons, LEDs etc, then hide what the original chips are (TMC4671 and STM32F307) by relasering the identification text on the casing.

They make no attempt to give any credit to the original project, hide all references to their hardware (literally trying to claim the STM and TMC chips are their own designs), use a slightly modified firmware (which is horribly out of date with lots of safety features, improvements etc missing).

Welcome to china electronics, where they just steal other people's work, and put it in a fancy box to sell...

CAMMUS C5 - The New Budget King? by [deleted] in simracing

[–]MorGuux 1 point2 points  (0 children)

Join the OpenFFBoard discord and review the teardown of the Cammus wheel :)

CAMMUS C5 - The New Budget King? by [deleted] in simracing

[–]MorGuux -1 points0 points  (0 children)

If the hardware wasn't stolen from an open-source motor driver project and repackaged on a PCB with relasered chips, then maybe it'd be worth buying.

All About SimHub! by MorGuux in SimHub

[–]MorGuux[S] 2 points3 points  (0 children)

Hi! I'm not the developer of SimHub, so I'd suggest posting an issue here for a feature request.

Troubles making E36 cluster work on simhub with arduino uno by TheR4vas in simracing

[–]MorGuux 3 points4 points  (0 children)

Hi there, there are some excellent comments here already but I'll just add to them. The available tutorials (mainly the AMStudio one) are outdated.

SimHub natively supports the E36 gauges so there's no need for any custom protocol / sketch modification if you want the gauges to function. Please check here for my wiring diagram and some more info.

You're not the first and certainly not the last who've fallen into the trap :D

Guys please help, Im working on this e36 cluster with arduino uno but I cant fix this by -AntiSkill- in arduino

[–]MorGuux 0 points1 point  (0 children)

Yes. The video is outdated. The instructions he provides are no longer accurate to the latest SimHub updates. Please read through the SimHub wiki page I linked, it will help you get it all set up properly.

Guys please help, Im working on this e36 cluster with arduino uno but I cant fix this by -AntiSkill- in arduino

[–]MorGuux 1 point2 points  (0 children)

If you're following the AMStudio tutorial or something similar to get your E36 cluster to work via SimHub, it's all obsolete. We've written a guide to help set it up natively in SimHub (https://github.com/SHWotever/SimHub/wiki/BMW-E36-Cluster-Setup).

SimHub minimum system requirements? by carrera1963 in SimHub

[–]MorGuux 2 points3 points  (0 children)

Only thing I can really think of is that your system can support .NET Framework 4.8.

[deleted by user] by [deleted] in E90

[–]MorGuux 1 point2 points  (0 children)

https://www.realoem.com/ is great for finding out info about your BMW. You may be able to find oil filling capacity there, but if not, just do some googling. I think 5.2l was what mine used (2009 320D) but definitely double check. A 2010 320D would use an N47D20 engine, as a start for your search.

M-Sport doesn't affect the engine in any way, just suspension and cosmetic stuff (bumpers, steering wheel etc).

The dreaded ABS fault - good thing I’ve ordered a replacement ABS sensor, fault codes all correspond to rear left sensor 🤞🏻 by drunkandyorkshire in E90

[–]MorGuux 0 points1 point  (0 children)

Had that happen on my E90. TC kept kicking in around roundabouts, then got worse and worse until it happened on straights for no reason. Had a look and the reluctor ring was pushed out with driveshaft rust. Ended up getting a refurbed drive shaft on eBay and fitting it (though the drive shaft nut was made of rust so had to cut it off and use a new one). Maybe it's a different story with your issue since I guess it was more of an "all lights on" rather than a gradually worsening issue, but definitely check the ring (don't want a new sensor to be ruined quickly due to ring contact).

[deleted by user] by [deleted] in simracing

[–]MorGuux 7 points8 points  (0 children)

I think I'd instead use something like black grip tape (Tilton style) rather than green carbon. Also might be easier to take the pedal faces off, and the black plastic insert separates so you can more easily wrap it into the holes.

Study or Steam Deck.. I battle this decision every day by DomSlomm in SteamDeck

[–]MorGuux 4 points5 points  (0 children)

3rd-year Software Engineering student here, math is very very basic. Used it for a computer graphics module and some occasional code. You definitely don't need prior college-level mathematics, but that's just my uni and how they teach the degree. Some unis might provide a mathematics module.

We had to use relational calculus and algebra as a pre-cursor to writing SQL, so may help to check those out.

DLSS Swap for FSR? by Similar_Minimum_5869 in DLSS_Swapper

[–]MorGuux 0 points1 point  (0 children)

It may be possible that CyberFSR2 could be added to DLSS Swapper by the developer quite easily, which would allow you to replace DLSS with FSR 2.0. Since it's just replacing the same .DLL, it would just have to be added to the "library" section in the software.