Author |
Message |
Topic: Initial CVD library for PIC 12LF1552 |
acm45
Replies: 7
Views: 55383
|
Forum: Code Library Posted: Tue Oct 04, 2016 4:33 am Subject: Initial CVD library for PIC 12LF1552 |
Thank you Ttelmah,
your answers are always clear, I will study and implement an adapatative threshold as you suggested me.
Best Regards |
Topic: Initial CVD library for PIC 12LF1552 |
acm45
Replies: 7
Views: 55383
|
Forum: Code Library Posted: Mon Oct 03, 2016 5:06 am Subject: Initial CVD library for PIC 12LF1552 |
Hi all,
I'm using the CVD library and it works nicely, as the reading is a little bit noisy I used an exponential moving average that solved the problem.
Now I'm facing another issue related to th ... |
Topic: PWM and interrupts |
acm45
Replies: 3
Views: 5711
|
Forum: General CCS C Discussion Posted: Sun Jun 02, 2013 1:10 pm Subject: PWM and interrupts |
Hi all,
thank you for your fast answer, with the new fuses configuration it's working!
Thank you again
Regards |
Topic: PWM and interrupts |
acm45
Replies: 3
Views: 5711
|
Forum: General CCS C Discussion Posted: Sun Jun 02, 2013 10:48 am Subject: PWM and interrupts |
Hi,
I'm using the 18F4550, tring to use the CCP2 on PWM mode but
I'm having some troubles with the following simple code: the code configure CCP2 in PWM mode with the frequency and duty cycle ... |
Topic: 16F1825 Compare Module |
acm45
Replies: 2
Views: 6781
|
Forum: General CCS C Discussion Posted: Fri Dec 09, 2011 1:47 am Subject: 16F1825 Compare Module |
Hi Ttelmah,
Thank you for your fast answer!
I posted the last code I wrote, if I disable all interrupts I obtain the same behaviour, the timer1 never increases!
I saw all the configuration regi ... |
Topic: 16F1825 Compare Module |
acm45
Replies: 2
Views: 6781
|
Forum: General CCS C Discussion Posted: Thu Dec 08, 2011 1:10 pm Subject: 16F1825 Compare Module |
Hi all!
I'm having some trouble using the compare module of a 16F1825.
From the datasheet I know that the compare module uses the timer1, so I want to count the Timer0 overflows, I tried lots of c ... |
Topic: Pwm duty cycle strange behaviour! |
acm45
Replies: 4
Views: 5975
|
Forum: General CCS C Discussion Posted: Sun Sep 11, 2011 2:39 am Subject: SOLVED |
sorry for the parameter RTCC_16_BIT, I defined it into my 18F4550.h file as a 0x00. Anyway, I find the problem in my own code, setting the pwm duty cycle I was setting also the reverse bridge control. ... |
Topic: Pwm duty cycle strange behaviour! |
acm45
Replies: 4
Views: 5975
|
Forum: General CCS C Discussion Posted: Fri Sep 09, 2011 1:51 pm Subject: Pwm duty cycle strange behaviour! |
The compiler version is: 4.114 |
Topic: Pwm duty cycle strange behaviour! |
acm45
Replies: 4
Views: 5975
|
Forum: General CCS C Discussion Posted: Fri Sep 09, 2011 1:34 pm Subject: Pwm duty cycle strange behaviour! |
Hi there!
I'm doing a small motor control with the classic H bridge controlled by a 18F4550 pic (with 20MHz and HSPLL active).
It works really well but, I noticed a strange behaviour, here's the c ... |
Topic: H4 vs HS |
acm45
Replies: 17
Views: 13612
|
Forum: General CCS C Discussion Posted: Mon Dec 21, 2009 2:02 am Subject: H4 vs HS |
No, change the crystal is not a problem for the LCD if you configure
#use delay(...)
The only solution I can't test is the one from Ttelmah. I can't add a resistor in my pcb.
Thank you all guys ... |
Topic: H4 vs HS |
acm45
Replies: 17
Views: 13612
|
Forum: General CCS C Discussion Posted: Sat Dec 19, 2009 4:35 am Subject: H4 vs HS |
I will check the hardware but, in both cases HS and H4, the crystal is working at 10MHz, only with HS the PIC works fine.
I've also replaced the PIC but no difference.
Moreover I don't know if is ... |
Topic: H4 vs HS |
acm45
Replies: 17
Views: 13612
|
Forum: General CCS C Discussion Posted: Fri Dec 18, 2009 3:45 pm Subject: H4 vs HS |
Thank you for the idea but...
The code you posted don't work!
Work as expected if I change H4 to HS
and clock 40M to 10M |
Topic: H4 vs HS |
acm45
Replies: 17
Views: 13612
|
Forum: General CCS C Discussion Posted: Fri Dec 18, 2009 1:58 pm Subject: H4 vs HS |
The PIC is connected to a 2x16 LCD display, after the change I've the first row of the display full (all black) and no answer to other inputs.
I think (but I'm not sure) the problem comes from the ti ... |
Topic: H4 vs HS |
acm45
Replies: 17
Views: 13612
|
Forum: General CCS C Discussion Posted: Fri Dec 18, 2009 1:08 pm Subject: H4 vs HS |
I'm using a 18F4431 and I've some problems with the oscillator configuration, when I use HS with a 10MHz crystal all works fine.
Now I need to increase the MIPS, so I decided to use the PLL to have 1 ... |
Topic: 16F88 PWM-serial compatibility |
acm45
Replies: 6
Views: 6692
|
Forum: General CCS C Discussion Posted: Mon Dec 29, 2008 8:48 am Subject: 16F88 PWM-serial compatibility |
FvM you find the problem!!!
I removed the line and now all is ok!!!
Also with the bootloader, all ok!
Thank you very much!!!
|
|