Author |
Message |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Mon Jun 04, 2012 11:15 am Subject: 16F684 DC motor control help |
I don't have time to finish it till i have to give the project, this is why i asked some help . Anyway i will continue to finish it afterwards. Thanks for the help. |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Mon Jun 04, 2012 4:39 am Subject: 16F684 DC motor control help |
Is a good idea to decelerate. The problem is i don't have the hardware built so i can`t figure out how it will work in real. Its a project for school and didn't had that much time to built it. Anyway ... |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Mon Jun 04, 2012 1:59 am Subject: 16F684 DC motor control help |
Some updates on the code.
To release the energy stored on the motor. PWM and EN must be on 1. so i set up on intrerupt to set the PWM to full duty cycle and EN 1 for 0.5 second. After that to put EN ... |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Sun Jun 03, 2012 10:56 am Subject: 16F684 DC motor control help |
The FET that I'm using is IRFR4104. |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Sun Jun 03, 2012 9:09 am Subject: 16F684 DC motor control help |
Oh. Thank for the reply.
I modified and selected one oscilator.
The schematic i made is inspired from this kind of circuit . The motor driver(L9904) is a full bridged one. It suports PWM freq up to ... |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Sun Jun 03, 2012 1:59 am Subject: 16F684 DC motor control help |
Yes it's correct. A1 is for the button and C1 is for control of the direction.
The motor driver is an appropriate one (L9904). It has 1 input for PWM, 1 for Enable and 1 for direction.
The directi ... |
Topic: 16F684 DC motor control help |
ciudatelul
Replies: 13
Views: 19835
|
Forum: General CCS C Discussion Posted: Sat Jun 02, 2012 11:42 am Subject: 16F684 DC motor control help |
Hello
Hardware: 16F684
I have 2 buttons and I would like to give PWM, EN (Enable) and DIR(direction) to a motor driver to control the direction of my DC motor. What I want to do is from the butt ... |
|