I use CUBLOC CB280 (Atmega128) microcontroller. I connect the PWM pin to DC motor (one pin of motor to PWM pin, another to ground) but the motor donot run. I think I lost something, maybe DC motor cannot connect to microcontroller directly.
One more thing, PWM just change from 0V to 5V but I want to use 12V DC motor.
Thank you for your help.
One more thing, PWM just change from 0V to 5V but I want to use 12V DC motor.
Thank you for your help.
Last edited: