Can you post the schematic of your speedo?

You surely need to filter your power supply in a better way, but good suggestions need more info from your side.

Cheers

Al.