Search found 9 matches
- Sun Nov 07, 2021 1:35 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
Finally it works! Thanks for your good advice,If I have any problem in the future I know where to find you.
- Thu Oct 28, 2021 2:43 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
As a test I wrote a program that allows me to write the value of the potentiometer on the LCD. In the simulation of FC itself this works perfectly, but when I download this to my Brainbox AVR. The output remains high (255)independent of the position of the potentiometer.
- Sun Oct 24, 2021 6:07 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
I have downloaded all the new updates, but the motor still runs at maximum speed regardless of the position of the potentiometer. What could the problem be?
- Wed Oct 20, 2021 4:59 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
I've checked all connections several times. The jumpers are also set correctly. My engine runs effectively but always at maximum speed. I have also adjusted the prescaler to 8 and 64, but that does not solve the problem. I contacted the manufacturer of the hardware and he says it is due to an update...
- Sat Oct 16, 2021 8:09 am
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
This also makes no difference. I use the Brainbox AVR from Bart Huyskens. He is aware of the problem and I have asked him to list the most important things you need from the hardware in function of this problem. Just wait for his answer.
- Thu Oct 14, 2021 7:47 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
I have set the timer setting to timer1, but this also does not solve the problem.
- Thu Oct 14, 2021 7:41 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
- Thu Oct 14, 2021 7:40 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
Re: PWM Control for elektrical motor with potentiometer.
Hi I'm not that familiar with the chip you are using however it appears to be simulating OK. Do you have access to a scope to check what's actually happening on the pin? How are you interfacing the uC to the motor? Sorry I can't offer further insight. Regards I've hooked up my potentiometer to a sc...
- Wed Sep 29, 2021 1:07 pm
- Forum: General Programming
- Topic: PWM Control for elektrical motor with potentiometer.
- Replies: 18
- Views: 20030
PWM Control for elektrical motor with potentiometer.
I want to control the speed of the motor with a potentiometer, but the motor always runs at maximum speed, regardless of the position of the slider in the potentiometer. Attached you will find the program I wrote. Can you help me?