Post Created date
Separate Interrupt Handling using ADC
Hello Cliff, Which PWM mode you suggest, I want linear speed increasing or decreasing. Regards, Nilesh
Tuesday, 17 August 2010 - 10:02
Separate Interrupt Handling using ADC
Hello Lennart, Thanks for your reply. I'm using joystick to start motor, reverse or forward so its external interrupt and I want to use ADC to detect that it pressed reverse or...
Tuesday, 17 August 2010 - 09:41
Separate Interrupt Handling using ADC
Hello Cliff, Any pseudo code for my project or any pwm example? Regards, Nilesh
Tuesday, 17 August 2010 - 08:53
Separate Interrupt Handling using ADC
Quote:As I said before - ignore anything that mentions "BLDC" that is far more complex than you require here.Yes Sir I have already ignored and only looking for simple dc motor...
Thursday, 12 August 2010 - 02:43
Separate Interrupt Handling using ADC
Thanks Lennart, it suggets me ATmega32M1 and ATAVRMC320 for BLDC, mine is simple geared dc motor up to 24 volts max, I am using H Bridge 5206 Regards, Nilesh
Wednesday, 11 August 2010 - 15:36
Separate Interrupt Handling using ADC
Hello Cliff, Any good PWM tutorial link? as Dean's yet not complete. Regards, Nilesh
Wednesday, 11 August 2010 - 08:42
Separate Interrupt Handling using ADC
Hello Lee,Quote:What do you mean "constant speed"? It appears you code does fwd/back/stop. How does your code intend to vary motor speed?when I move joystick in A direction motor...
Tuesday, 10 August 2010 - 14:02
Separate Interrupt Handling using ADC
Quote:Work a bit more on this part and you will get our answers faster. You need to keep F_CPU at the right freq(20MHz) and change prescalers to get as close as possible to 13mS.I...
Tuesday, 10 August 2010 - 12:29
Separate Interrupt Handling using ADC
:) Again same think I have changed F_CPU at 20 MHz and without prescale I got exact 10 mSec. at OCR:43104 (without prescale means I need not to set TCCR1B |= (1 << CS10),...
Tuesday, 10 August 2010 - 11:05
Separate Interrupt Handling using ADC
Quote:It seems very coincidental that I just picked the value 13ms completely at random simply to illustrate the use of avrcalc and you are now saying that it's 13ms you want to...
Tuesday, 10 August 2010 - 10:43
Separate Interrupt Handling using ADC
Hello Cliff, I achieved the exact 13mSec at 4 Mhz Crystal, OCR:0xcb20 =(52000 in decimal and we uses CTC so 52000-1=51999?) and above result with no prescaler option so as per...
Tuesday, 10 August 2010 - 10:03
Separate Interrupt Handling using ADC
Thanks for the detailed info Cliff, I'm trying to achieve 13 mSec and update my code according. Nilesh
Tuesday, 10 August 2010 - 09:42

Pages