Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Sega Monaco GP 1979/1980 - My Remake  (Read 279806 times)

0 Members and 10 Guests are viewing this topic.

GPForverer2024

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:Today at 04:36:07 am
  • I want to build my own arcade controls!
Re: Sega Monaco GP 1979/1980 - My Remake
« Reply #600 on: Yesterday at 03:28:33 am »
Hi Geecab!

 I changed the damping to 75 and the rpm_stall to 0 in the Arduino_rev.sim.ino file.

And strangely, the needle goes all a over the place.

What if there were throttle inputs from 1 to 6 very quickly?
 Nothing's consistent anymore.

 Then I modified the file by changing oar tone(OUTPUT _Pin,1); And the needle doesn't go to zero; it increases and then drops to 2 rpm.
Nothing's consistent either. So I tried changing the damping to 75 and rpm_stall to 500 in the file, leaving the tone(OUTPUT _Pin,1);

The rev counter responds better, but doesn't go down to 0 rpm at all; it only goes down and freezes at 500 rpm.
Finally, I went back to the file as I did yesterday with the damping at 95, the rpm_stall at 500, and the noTone(OUTPUT _Pin); This is the best result I have, except that the needle doesn't go directly to 0; it stops at 500 rpm for 1 second, then goes down to 0 rpm. I noticed that as soon as I go below 500 with the rpm_stall, the needle goes crazy.

 I hope this helps, thanks.
 :)

GPForverer2024

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:Today at 04:36:07 am
  • I want to build my own arcade controls!
Re: Sega Monaco GP 1979/1980 - My Remake
« Reply #601 on: Yesterday at 08:52:28 am »
Hi Geecab!

This morning it was impossible to post on the site, I don't know why.

I changed the damping to 75 and the rpm_stall to 0 in the Arduino_rev.sim.ino file. And strangely, the needle goes all over the place.

What if there were throttle inputs from 1 to 6 very quickly?

Nothing's consistent anymore.

Then I modified the file by changing oar tone(OUTPUT _Pin,1); And the needle doesn't go to zero; it increases and then drops to 2 rpm. Nothing's consistent either.

 So I tried changing the damping to 75 and rpm_stall to 500 in the file, leaving the tone(OUTPUT _Pin,1);

The rev counter responds better, but doesn't go down to 0 rpm at all; it only goes down and freezes at 500 rpm.

Finally, I went back to the file as I did yesterday with the damping at 95, the rpm_stall at 500, and the noTone(OUTPUT _Pin);

 This is the best result I have, except that the needle doesn't go directly to 0; it stops at 500 rpm for 1 second, then goes down to 0 rpm.

 I noticed that as soon as I go below 500 with the rpm_stall, the needle goes crazy.

I hope this helps, thanks.
 :)

geecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:Today at 05:44:44 am
Re: Sega Monaco GP 1979/1980 - My Remake
« Reply #602 on: Yesterday at 10:04:55 am »
Hi GPForverer2024!

>>I'm writing you a private message because I can't post anymore, I don't know why.

This forum is a bit strange sometimes. I'll post this response on the main thread too in case you don't receive it.

Thanks for running those tests. The point of them was to see what your revcounter did when you try to display low RPMs (lower than 500RPM). My revcounter's needle also goes crazy when I send it low RPMs. I was hoping your revcounter might be able to handle low RPMs better than mine (and your needle would drop to zero better, avoiding that 1 second freeze thing you are seeing), but clearly this is not the case. Anyways, good to know.


>>Finally, I went back to the file as I did yesterday with the damping at 95, the rpm_stall at 500, and the noTone(OUTPUT _Pin); This is the best result I have, except that the needle doesn't go directly to 0; it stops at 500 rpm for 1 second, then goes down to 0 rpm.

OK, so with this configuration when the game's RPM is 500 or lower, the Arduino will completely stop sending pulses to the revcounter. The Arduino will only send pulses to the revcounter when the game's RPM is greater than 500RPM. That's what the RPM_STALL thing does.

Regarding the "It stops at 500 rpm for 1 second, then goes down to 0 rpm", I can't say for sure, but I suspect this is just the way your particular revcounter was designed (So might be something we just have to live with). The occasions when the Arduino completely stops sending pulses, its like your revcounter freezes for 1 second at the last 'good' RPM its needle pointed at. Then if its still receiving no pulses after 1 second,  it decides the engine really has been switched off and its needle drops to zero. Does that make sense?

I have another arduino_rev_sim.ino that I'd like you to try please. I've improved the damping code (You shouldn't need to set it so high, and you shouldn't need to increase the rpm_range to 8300 anymore). I've also renamed the "RPM_STALL" option to "LOWEST_RPM", and added a "LOWEST_RPM_NEEDLE_ACTION" option which can be set to "DROP_TO_ZERO_RPM" or "POINT_TO_LOWEST_RPM". Hopefully this will make more sense when you read the descriptions of these options in the file.

The new version of arduino_rev_sim.ino can be downloaded HERE.

Hope this helps :)