Arduino to get speed pulse signal and show data on computer

I am making a 2017 Yamaha Wolverine Rspec autonomous. I am tapping into the speed sensor wire that is under the hood. To put simply, I need that signal to go to my Arduino and then to my computer to show the data at different speeds. How would I accomplish this within the Arduino software? Also, is there an easy way to show this data on an oscilloscope display on my pc or even through the Arduino software?

Note - I am an EE student but have not worked with Arduino before. I can learn any code that is needed, I mostly am interested in the process to accomplish this.

Thank you

I would interface your speed signal with something like the below:

  • R5, C4 = filter high frequency noise
  • D2 Clip high spikes to limit Q2 gate to 14 volts or so
  • Q2 Provide a high impedance so to not load down the Sensor signal.
  • U3 and R6 = control opto and limit current to opto
  • U3 to provide a speed signal into the Arduino that does not rely on the speed sensor ground.

Would it not be possible to connect the speed pulse (what I believe to be 0-5V) directly to the Arduino? The reason I ask, is that in other forums, the general consensus is that tapping into a low voltage pulse will not negatively effect the signal. Again, I am new to Arduinos so just let me know if my questions do not make sense.

An EE student will have defined what the "signal" is in terms of voltage and shape of the signal and the frequency of the signal and the relationship between frequency of the signal and speed of the device.
You need all that information in order to be able to design the interface circuit to an Arduino and ultimately to write a program to process that signal.
Paul

Yes / maybe.

I'm looking at your vehicle as I would an automobile. I worked in the automotive industry and know the electrical systems have a lot of electrical noise and voltage spikes.

The speed sensor common (aka ground) is at the ECU. Unless you make the Arduino ground right at the ECU you will an abundance of noise on the speed signal.

You mentioned autonomous so I assume you want a reliable signal.

If you decide to go directly to the Arduino, you will need to filter out the electrical (high frequency noise), ESD and the high voltage spikes before the signal reaches the Arduino DI.

Being an EE, you have and will learn that the nice "clean" waveforms in books have only a basic relationship of the real world. Get used to it, you will find it a major part of any product design.