Author |
Message |
Topic: Problem in PWM dimming |
Spradecom
Replies: 2
Views: 5008
|
Forum: General CCS C Discussion Posted: Thu Nov 01, 2012 1:59 am Subject: Problem in PWM dimming |
Hi, I had tried to write program for pulse reading and generate PWM according to input pulse width. AC triac dimmer used. Optocoupler gives square wave input with variable pulse width. I am facing pro ... |
Topic: Help for Timer0 interrupt |
Spradecom
Replies: 4
Views: 6826
|
Forum: General CCS C Discussion Posted: Fri Sep 14, 2012 1:42 am Subject: Help for Timer0 interrupt |
got a SCHEMATIC??
and your FULL CODE ??
a faulty zero cross detector can make your whole thing bad -
but ???
drive MOC3001 using PWM.
How do you SYNC to line rate zero-cross -
?? PWM ... |
Topic: Help for Timer0 interrupt |
Spradecom
Replies: 4
Views: 6826
|
Forum: General CCS C Discussion Posted: Thu Sep 13, 2012 3:29 am Subject: Help for Timer0 interrupt |
I want to control AC phase angle controlling TRIAC gate signal. I am using timer0 interrupt with
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_4);
and check adc value from trimpot.
I am using ... |
Topic: Help to read pulse width on PIC 16F684 pin |
Spradecom
Replies: 4
Views: 7762
|
Forum: General CCS C Discussion Posted: Thu Jul 26, 2012 1:58 am Subject: Re: Help to read pulse width on PIC 16F684 pin |
I am using PIC 16F684 to read pulse from optocoupler that outputs a square wave on INT pin. I am trying to write code with input frequency 100Hz.
16F684 uses crystal frequency 4MHz internal oscillato ... |
Topic: Help to read pulse width on PIC 16F684 pin |
Spradecom
Replies: 4
Views: 7762
|
Forum: General CCS C Discussion Posted: Wed Jul 25, 2012 6:14 am Subject: Help to read pulse width on PIC 16F684 pin |
I am using PIC 16F684 to read pulse from optocoupler that outputs a square wave on INT pin. I am trying to write code with input frequency 100Hz.
16F684 uses crystal frequency 4MHz internal oscillato ... |
Topic: Help for Serial communication with LED driver |
Spradecom
Replies: 2
Views: 5208
|
Forum: General CCS C Discussion Posted: Fri Dec 23, 2011 1:18 am Subject: Help for Serial communication with LED driver |
I am using PIC 16F887 as master and MY9221 as slave. Communication with MY9221 is 16 bit communication and data is written in MY9221 on both edges of clock cycle. I had tried but get no proper commun ... |
Topic: How to drive PIC at 2KHz frequency? |
Spradecom
Replies: 3
Views: 7069
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2011 10:46 pm Subject: How to drive PIC at 2KHz frequency? |
Thanks sir for your valuable response. If I want to use 10bit ADC and 10 Bit PWM with 2KHzs freqency how to use program?
I had worked with 250Hzs it gives proper output but frequency changes from 250 ... |
Topic: How to drive PIC at 2KHz frequency? |
Spradecom
Replies: 3
Views: 7069
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2011 5:41 am Subject: How to drive PIC at 2KHz frequency? |
I am using PIC 16F684 for light dimming application. Previously I had used 250Hz frequency. My application is to read ADC and generate PWM according to input of ADC, dimming from 420 count (2.0V ADC) ... |
Topic: HOW TO USE MCLR pin as GPIO pin? |
Spradecom
Replies: 6
Views: 14541
|
Forum: General CCS C Discussion Posted: Sat Oct 08, 2011 4:39 am Subject: HOW TO USE MCLR pin as GPIO pin? |
Thanks sir my for your valuable reply. My Controller handling 1 Analog input, 1 digital input and 3 digital output and 1 PWM output no other pin free. I think this problem solve by replacing controlle ... |
Topic: HOW TO USE MCLR pin as GPIO pin? |
Spradecom
Replies: 6
Views: 14541
|
Forum: General CCS C Discussion Posted: Sat Oct 08, 2011 1:01 am Subject: Problem In Using MCLR PIN as Input |
As posted ealiar I have used MCLR pin of 12F615 as digital input. But i face one problem that after sometime these pin reset the device is it possible? I had go through datasheet but my doubt not be c ... |
Topic: HOW TO USE MCLR pin as GPIO pin? |
Spradecom
Replies: 6
Views: 14541
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2011 3:44 am Subject: HOW TO USE MCLR pin as GPIO pin? |
Thanks
for your reply ya i have toggle successfully another PIN but one of pin is MCLR(RESET) pin how can i toggle that pin. I'm new to CCS compiler I have only know about 8051.
Have you successf ... |
Topic: HOW TO USE MCLR pin as GPIO pin? |
Spradecom
Replies: 6
Views: 14541
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2011 3:13 am Subject: HOW TO USE MCLR pin as GPIO pin? |
I am using 12F615 for my application I want to toggle PIN 4(MCLR) pin.I have used following FUSES but does not work,Can any help me to solve this Problem.
#include <12F615.h>
#device adc=10 ... |
Topic: How to complement Single bit or PIN |
Spradecom
Replies: 1
Views: 3858
|
Forum: General CCS C Discussion Posted: Sun Oct 02, 2011 11:41 pm Subject: How to complement Single bit or PIN |
I am using 12F615. I want to complement one PIN to blink LED using timer 0. How can i write function for that. |
Topic: Can use PWM in Timer0 interrupt |
Spradecom
Replies: 0
Views: 3031
|
Forum: General CCS C Discussion Posted: Tue Aug 02, 2011 12:41 am Subject: Can use PWM in Timer0 interrupt |
I am using 16F684 to read 2 ADC channel and generate PWM according to ADC input. Channel 5 reads input supply and channel 2 reads temp using NTC with preset by making divider. If channel 5 input is i ... |
Topic: Problem In EEPROM writing |
Spradecom
Replies: 0
Views: 3000
|
Forum: General CCS C Discussion Posted: Wed Jun 01, 2011 7:07 am Subject: Problem In EEPROM writing |
I am writing code for internal EEPROM using 16F684 for keypad interface and generate PWM, and store last PWM value in EEPROM, but value is not stored. Can anyone help to solve my problem.
Code for pr ... |
|