Public projects 3

HC-SR04 Distance Sensor Service

Project tutorial by Nahuel Taibo

  • 4,903 views
  • 0 comments
  • 7 respects

Arduino Robot - Service Oriented Architecture

Project in progress by Nahuel Taibo

  • 4,671 views
  • 5 comments
  • 30 respects

L298N Motor Module Service

Project tutorial by Nahuel Taibo

  • 5,807 views
  • 1 comment
  • 8 respects


Replicated projects 0

 Nahuel Taibo hasn't replicated any projects yet.

Respected projects 1

OpenCat

Project in progress by Team Petoi

  • 225,319 views
  • 193 comments
  • 1,630 respects

Comments 2

  • Arduino Robot - Service Oriented Architecture 10 months ago

    There is no particular reason, no, you can accommodate the parts as required by your project.
    You don't need to have all that in the picture either if you don't need it

  • Arduino Robot - Service Oriented Architecture about 2 years ago

    Hey Aleksandar,
    Thanks for the comment. It is possible to use PWM to control two motors with the L298N service, creating two service instances, one per motor. Like this:

    L298NMotorService rightMotor(true, true, PIN_L298N_ENA, PIN_L298N_IN1, PIN_L298N_IN2);
    L298NMotorService leftMotor(true, true, PIN_L298N_ENB, PIN_L298N_IN3, PIN_L298N_IN4);

    The, when you set the speed to each, in the background, it also uses PWM. so you can set any speed you want (-255 to 255) to each motor:

    rightMotor.SetSpeed(150);
    leftMotor.SetSpeed(150);

    Is this what you are saying? or you mean something to control a robot in a differential drive (or tank drive) fashion? where you can just say the speed and the angle or rotation, or something like that?

Add projectSign up / Login