Software Development
In week 3, I am doing my coding for my motor driver. motor driver are use to control the dc motor movement at the prototype. To move this automatic whiteboard cleaner, motor driver L298N are use with the DC motor. The motor driver are connected with the Arduino Nano in this project.
Figure show the motor driver are connected to the arduino board. The first two line is to define port at arduino board for motor 1 and the other two line is to define pins for motor 2.
From figure above, the motor was define as the output because for this automatic whiteboard cleaner the motor was declared as the output so that it can easily move around the whiteboard.
No comments:
Post a Comment