Arduino DC Motor Chat Control

DC motors can be controlled by the L298N DC motor driver IC, which is connected to your microcontroller. L298Ns can control up to 2 DC motors. You can easily add motors through the program code. You can set DC motor speed by changing the duty-cycle of each PWM signal. The PWM is a square-wave signal which has two parameters: frequency and duty-cycle. If a PWM signal's duty-cycle is 100% than the motor spins with maximum rpm. In case of 0% the motor will stop. Motor speed and direction in your Ozeki software can be changed on each motor with the motor's own adjustable slide bar from -100% to 100%. If the slide crosses 0 than the motor will change spin direction.

You can chat with the device at the Ozeki 10 as the video shows below.

Possible commands

  • help - Prints the help
  • on - Turn the motor on
  • off - Turn the motor off
  • -100 to 100 - Speed of both motors
  • -100 to 100, -100 to 100 - Speed of motors


  • More information