Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for Read Engine RPM With an Arduino | OBD-II, CAN and an OLED

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

Read Engine RPM With an Arduino | OBD-II, CAN and an OLED

An Arduino can request the engine-speed parameter through OBD-II over a compatible CAN connection. The returned data bytes encode RPM and need decoding before display.

Understand the concept

The key idea

OBD-II defines the meaning of the engine-speed request while CAN transports the exchange in this example. For a standard engine-speed response, combine the two data bytes as a big-endian value and divide by four.

What to remember

  • CAN transports the frames and OBD-II assigns meaning to the parameter.
  • The engine-speed value uses quarter-RPM units.
Pause & think

Check your understanding

What is the reported speed if the two RPM bytes represent the integer 3,200?

Show the explanation

800 RPM, because the encoded integer is divided by four.