L298 PWM Motor Control

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-10 | updated: 2013-04-10

The L298 chip is used for direction and PWM motor speed control. The objects have been tested using two motors. A dedicated cog is used to maintain the PWM stream. Speed and direction changes are ramped to maintain smooth operation. If a change in direction is called for while the motor is running the motor speed will ramp down to zero before the direction change is carried out.

 

Original File Upload
AttachmentSize
Package icon L298-Motors.zip596.62 KB