This is a demo project for the Pmod HB5 motor controller and the Pmod BTN, both made by Digilent. The state of the pushbuttons will be retrieved and a DC motor is controlled according to the recieved commands: one button increses the speed, one decreases it and on changes the motor's direction. The direction and the speed of the motor are displayed in the serial monitor. To control the Pmods, an Arduino UNO is used, which also sends data to the computer. The speed of the motor is controlled with a PWM signal.
Using the Pmod HB5 and Pmod BTN with Arduino Uno
Application notes for Pmod HB5, Pmod BTN and Arduino Uno. In this app, pushbuttons will be used to control a motor.
Thanks to Lextronics.
Comments