CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 13 matches
CCS Forum Index
Author Message
  Topic: Using sleep() and so on
Brian S

Replies: 11
Views: 51320

PostForum: General CCS C Discussion   Posted: Thu Feb 23, 2006 3:13 pm   Subject: Using sleep() and so on
If relatively low timing accuracy for your 1 second tick is acceptable,
you might set the WDT for 576mS, then on WDT Wake, run a timer to
wait out the required ~424 mS.

I believe there are still ...
  Topic: Reverse Polarity Protection
Brian S

Replies: 32
Views: 34459

PostForum: General CCS C Discussion   Posted: Tue Feb 07, 2006 8:00 am   Subject: Reverse Polarity Protection
You can use a diode bridge for automatic polarity selection, with a few caveats. Connect the DC input to the "AC - AC" terminals of the bridge, the "+" bridge terminal to your circuit's + input and th ...
  Topic: IGBT Gate dv/dt
Brian S

Replies: 7
Views: 9378

PostForum: General CCS C Discussion   Posted: Sun Feb 05, 2006 1:14 pm   Subject: IGBT Gate dv/dt
Eugeneo,

For normal PWM frequencies of <20KHz, the PWM module of the PIC works well; You can specify PWM duty cycle directly. Or the PIC can output a single pulse by using the "delay" function. ...
  Topic: IGBT Gate dv/dt
Brian S

Replies: 7
Views: 9378

PostForum: General CCS C Discussion   Posted: Sun Feb 05, 2006 8:51 am   Subject: IGBT Gate dv/dt
I just went through the design loop for a 500V 1A high-speed high-side FET switch....similar application. I agree that using an Opto Isolator won't work. Gate drive voltage and current are critical. B ...
  Topic: Problems in CCS C for Servo Control on 16F627 - HELP!
Brian S

Replies: 2
Views: 6190

PostForum: General CCS C Discussion   Posted: Thu Jan 26, 2006 3:56 pm   Subject: Problems in CCS C for Servo Control on 16F627 - HELP!
You're probably running into simple syntax issues....usually
the hardest things to spot with a new compiler.

For instance, to check Port pin B1, you need an explicit input call;
ie, "if ( input( ...
  Topic: ERROR (drives crazy) ---> Expecting a close paren
Brian S

Replies: 6
Views: 18407

PostForum: General CCS C Discussion   Posted: Sun Jan 22, 2006 9:01 am   Subject: ERROR (drives crazy) ---> Expecting a close paren
if ( input(PIN_B4) == 1 ) /*Start Sequencing on B4 hi*/
{
.
.
.
}

Cheers!
  Topic: Crystal Problems - OT
Brian S

Replies: 12
Views: 18270

PostForum: General CCS C Discussion   Posted: Fri Jan 06, 2006 8:21 am   Subject: Crystal Problems - OT
Over the years, we've found a few crystals of all style/manufacturer which were defective, and showed an inability to start oscillating reliably. Others would stop oscillating for no apparent reason. ...
  Topic: play songs on a peizo buzzer?
Brian S

Replies: 17
Views: 33460

PostForum: General CCS C Discussion   Posted: Tue Dec 20, 2005 7:43 am   Subject: play songs on a peizo buzzer?
Yes, use a "piezo transducer", not a "piezo buzzer". Do not drive
with more than about 12V p-p, or it may be damaged. See the
data sheet for maximum voltage; it is usually fairly low.

Try to mou ...
  Topic: PIC 10F sleep, wake on pin change
Brian S

Replies: 6
Views: 14441

PostForum: General CCS C Discussion   Posted: Fri Dec 16, 2005 9:16 am   Subject: Sleep/Wake
Please repost your code using the "Code" button;
it makes it much easier to follow.

Including all code - Includes, Fuses, Devices etc,
as well as variable declarations and non-included isr's.

...
  Topic: problem with int_rda
Brian S

Replies: 8
Views: 10737

PostForum: General CCS C Discussion   Posted: Tue Nov 29, 2005 10:37 pm   Subject: problem with int_rda
If you are using Port B pins, add NOLVP to the "fuses" list.
Otherwise, activity on programming pins will cause trouble.
  Topic: 24V H bridge, pwm Frequency problem
Brian S

Replies: 3
Views: 5682

PostForum: General CCS C Discussion   Posted: Mon Nov 28, 2005 7:25 am   Subject: 24V H bridge, pwm Frequency problem
Many motors show acoustic resonances in the audible range. These are very hard to PWM without whining. A higher PWM frequency can help, as can bad hearing....

As Ttelmah noted, the 4426 series driv ...
  Topic: OT-Noise immune zero crossing (phase angle firing)
Brian S

Replies: 15
Views: 23758

PostForum: General CCS C Discussion   Posted: Sat Nov 26, 2005 8:29 am   Subject: Zero detect
Sorry for not logging in on my last post (Guest, as foothill).

Neil, there's a fairly direct way I've used to sense a reasonably stable zero-crossing reference:

I used a "back-to-back" emitter t ...
  Topic: Sleep in 16F877A
Brian S

Replies: 1
Views: 3911

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 5:55 pm   Subject: Sleep in 16F877A
I'm having trouble "Sleeping". What should be a timer that wakes every 2304ms to produce a 10ms pulse is acting like a free-running mutivibrator. What I see at power-on is an immediate 10ms high foll ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group