Main > Driving & Racing Cabinets

Sega Monaco GP 1979/1980 - My Remake

<< < (118/127) > >>

geecab:
Hi GPForverer2024!

I seem to have problems on this site with some of my PMs not being delivered, so I've responded here...

What type of Arduino board do you have? I've got a really old Arduino UNO which has a CPU running at 16MHz, you might be using a newer board which is running a faster CPU speed (Which would explain why its outputting pulses faster than mine)? I'd need to modify the code a bit to cater for different Arduino boards if that is the case.

For the time being, may I suggest trying the following parms when running scoreboard_to_revcounter and seeing what happens (Basically, reduce the value of the rpm_range parm to 6000):

    scoreboard_to_revcounter .exe 10 game 8 6000 250


>>Quick question: what's the purpose of the last number in the rev counter file (150, 600, etc.) for the configuration?

It is a bit confusing I must admit. Have a look in the release_note.txt for the description of "rpm_stall". Basically, most revcounters won't be able to read low RPMs beyond a certain point. Once you go lower than that RPM, the needle may jump around strangely (mine does lol!). For my revcounter, when switched to 2 cylinder the strangeness begins at 600RPM or less. When switched to 8 cylinder, the strangeness begins at 250RPM or less. So it seems 'better' to have the cylinder switched to the highest value possible, to give you the best range.

The rpm_stall value is the lowest RPM your revcounter can handle before the needle starts acting strange. When the game attempts to set an RPM lower than the rpm_stall value, this will cause the arduino to output no pulses (So the needle will just drop to 0 RPM, like the engine has been switched off, avoiding any needle jumping strangeness).

Now it may be the case that your revcounter it better than mine, and won't do silly things at low RPMs. You could try setting the rpm_stall value to 0, so you can see what happens at these low RPMs.

:)

GPForverer2024:

Hi Geecab!

For your information, my Arduino Uno SMD 16 MHz board is new.

I just tried your setup:

scoreboard_to_revcounter .exe 10 game 8 6000 250


And it's actually better, but not quite there yet.

Let me explain:

When I drive the car in first gear, it's smooth, with the graphic rev counter sync on my second PC screen.

 As soon as I shift into second gear, I noticed a lag between the graphic rev counter on the second PC screen and my physical rev counter.

That is, the needle syncs up to 3 and 30 on the graphic, then after that, there's a lag of 0.5, that is, 4 on the rev counter and 3.5 on the graphic rev counter, etc., up to 8.

I also noticed that the needle on the physical rev counter jerks from 5 up to 8.

I hope I've been as clear as possible and that this can help you.

See you soon.

 Thanks
 :)

geecab:
Hi GPForverer2024!

>>my Arduino Uno SMD 16 MHz board is new.

OK, thanks for this. Its a mystery as to why your revcounter is reading more revs than I expect...

Can you let me know how do you set the cylinder value on your revcounter (Is there a switch at the back)? Also, what cylinder values are you able to switch it to?

When you get the chance, please can you do the following test (You don't need to have MGPr running for this). Run scoreboard_to_revcounter like this (Note. the 'set' command will output a continuous RPM):

    scoreboard_to_revcounter.exe 10 set 8 3000 250

While that's running, switch your revcounter to 4-cylinder, 6-cylinder and 8-cylinder and let me know what RPMs are shown for each of those (FYI. My revcounter shows exactly
6000RPM (4-cylinder), 4000RPM (6-cylinder), 3000RPM (8-cylinder)).

Many thanks,

:)

GPForverer2024:
Hi Geecab!

 The cylinders are adjusted on the front of the speedometer with a dial.

You can choose two, three, four, five, six, seven, eight.

Then, if I run the command:

scoreboard_to_revcounter.exe 10 set 8 3000 250

 And I just change the cylinder value on the rev counter, it displays the same value of 4.45 on the rev counter for cylinders 4, 6, and 8.

Then, if I run the command:

scoreboard_to_revcounter.exe 10 set 8 3000 250

cylinder 8 = 4.5 rev counter

 Then, if I run the command:

scoreboard_to_revcounter.exe 10 set 6 3000 250

cylinder 6 = 3.3 rev counter

 Then, if I run the command:

 cylinder 4 = 4.2 rev counter

 I hope I've been clear enough to help you.

Thank you very much, Geecab.

GPForverer2024:
scoreboard_to_revcounter.exe 10 set 4 3000 250

Cylindre 4=4,2 rev counter

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version