Arduino Robot Service Oriented Architecture - In this article we'll create a Service to control a HC-SR04 Distance Sensor.
Project tutorial by Nahuel Taibo
A Service Oriented Architecture to keep your robots source code organized and scalable as they grow, iteration after iteration.
Project in progress by Nahuel Taibo
Arduino Robot Service Oriented Architecture - In this article we'll create a Service to control the L298N motor driver module.
A programmable and highly maneuverable robotic cat for STEM education and AI-enhanced services.
Project in progress by Team Petoi
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
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:
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?
Or connect with your social account:
New here? Create an account