Gamoover

[move]Le staff Gamoover vous souhaite la bienvenue ;)

[BOARD] PWM2M2 et PWM2HAPP

Démarré par Iro, Jeudi 03 Mai 2018, 16:33:09 PM

banjoramen

Is there a way to set the PWM frequency higher to eliminate audible motor whine? Maybe in the Arduino coding?

Aganyte

I have to do some tests but I'm having a little trouble finding free time.

brentg

Hi

I setup my PWM2HAPP this weekend.
Arduino mega 2560 - tx1 and gnd to PWM2HAPP
pwm_dir set
digital pwm ticked
1000000 baud rate
motor calibrated
steering calibrated
24v 10A PSU to PWM2HAPP
Wires to motor good.

I tried in fedit and boomslangs gui and got strange results (incorrect movements or nothing even though the log shows the event completed) plus the wheel always wants to turn straight to right (or left if I have it reversed in the backforcefeeder app).  I tried invert motor and invert torque (yes committing and resetting each time) still same - not going central at rest.

Yet......  I played Dirt 4 and assetto corsa - perfect just how it should be (I did increase the forcefeedback a bit).  Feedback was great - felt all rumbles on road, dirt, hitting walls and the countersteer feeling.

Is there something I missed that stops me from just having the wheel going to centre on power up (don't know if its a different type of board but I get no left right movement on power up either - even if disconnected from the Arduino)?


Many thanks
Brent

Aganyte

#435
PWM_CENTERED, not PWM_DIR.

If my memory is correct, Auto-centering at start is only for Sega Driver board.

graeflicher

I have 4 cabinets with PMW2HAPP, all of them used to work properly. I was not using them in a while and now i realized that 2 of them lost FFB. Since other 2 are still operating as always, I switched the PWM2HAPP boards to see if it was a software or hardware issue. Seems my boards are dead. FFB works with one board, but not the other. LEDs look identical, but there is no current on the motor terminals.
Is there anything i can do to narrow down the problem? Are there any fuses on the board that could have burned ? Any measurements I could do to find an replace the broken parts?

Thank you for your help!

brentg

Sorry - my bad - it was PWM_centered.

It's just the constant pull right in rest position.  I can hear the motor buzzing.




Aganyte

Citation de: graeflicher le Dimanche 14 Juillet 2024, 23:01:33 PMI have 4 cabinets with PMW2HAPP, all of them used to work properly. I was not using them in a while and now i realized that 2 of them lost FFB. Since other 2 are still operating as always, I switched the PWM2HAPP boards to see if it was a software or hardware issue. Seems my boards are dead. FFB works with one board, but not the other. LEDs look identical, but there is no current on the motor terminals.
Is there anything i can do to narrow down the problem? Are there any fuses on the board that could have burned ? Any measurements I could do to find an replace the broken parts?

Thank you for your help!

The best thing to do would be to send the cards back to me for repair and updating.

graeflicher

The boards were made in May 2023, where there any updates since then? Should I send all 4 boards to get the updates or just the 2 dead ones?
Thank you!

Aganyte


graeflicher


Aganyte

Yes it is perfect. This is indeed the very latest version. It's strange that they are broken, I can pass the module under warranty without problem.

If you want I can also give you an Amazon link for the module and you replace it yourself, it will be less than the return shipping costs.

graeflicher

Great, lets try it with the arduino from amazon. I think I should be able to do the soldering and flashing. It is a Mega328PB-U, correct? I acutally still have a Mega328PU-KR lying around but it has a different pinout and size. If you can provide the firmware and maybe some help with flashing, I would order the modules. Would  be awsome!

So does this mean something is wrong with the arduino? Is there any way to check if it is the module or the high power part of the circuit board?

Since 2 of the boards failed I was thinking that maybe there was a problem with the power supply. I run 2 of them with this power supply:
https://www.amazon.de/gp/product/B01LAVDD8S/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
The other pair uses old laptop PSUs with 19V. Those with the laptop PSUs are the dead ones. Could this be a coincidence?

Thanks for helping me out!

Aganyte

I was thinking more of a problem with the BTS7960.

https://www.amazon.com/HiLetgo-BTS7960-Driver-Arduino-Current/dp/B00WSN98DC/

For the Arduino, if you want to test it, you can connect an USB FTDI module to the Arduino TX, you must have the word "Boot" at 38400 bauds at PWM2HAPP startup which appears (in a serial terminal).

graeflicher

Ahh, I see. Looks like its easy to change. Can I order any bts7960? The link you provided is from amazon.com, I would order from amazon.de, tough. They have plenty of bts7960 but I am not sure which one to take. Some products are described as bts7960:

https://www.amazon.de/BTS7960-Driver-Dealikee-Arduino-Current/dp/B09FLB44TV
while others are BTS7960B, with the B in the end:

https://www.amazon.de/JZK-BTS7960B-Double-Stepper-H-Bridge/dp/B09HGBM5D2
 Does ist matter, which one I take?

This one looks like the one from the link you provided:
https://www.amazon.de/BTS7960-H-Bridge-Stepper-Strombegrenzung-Halbleiterk%C3%BChlung/dp/B07Y4TTK3Z/

Aganyte


graeflicher

Today the new BTS7960 was delivered. Unfortunately, the board is still not working. Since many reviews on amazon report defect devlieries I plan to test the BTS7960 with a different Arduino. Is there anything i can debug on the PWM2HAPP, except the serial command from your last reply? Both Leds are on and the mosfet is getting quite warm/hot.