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 16 matches
CCS Forum Index
Author Message
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Sun Mar 03, 2013 5:14 am   Subject: PWM on CCP1 (RC1) on PIC18F4550
Thanks for the advice Mike! I will get on to it as soon as I can and I will get back to you. Thanks for your time.
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Sat Mar 02, 2013 2:41 pm   Subject: PWM on CCP1 (RC1) on PIC18F4550
There is actually a 1mF capacitor already on the 12v power supply which possibly made the motors run without a 1mf capacitor on-board. When I receive a new ucontroller I will update everyone. Thanks f ...
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Sat Mar 02, 2013 1:01 pm   Subject: PWM on CCP1 (RC1) on PIC18F4550
When I first built the circuit I did not use a 1mF capacitor and the motors were working correctly. Should it be able to work like this? Or will it work but damage components over time? Yesterday I ad ...
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Sat Mar 02, 2013 10:57 am   Subject: PWM on CCP1 (RC1) on PIC18F4550
@Mike Walne

From what I have read from the datasheet nothing else needs to be turned off. Thanks for the advice.

@temtronic

I have checked the LED and it is indeed the PORT C1 that is faulty. ...
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Sat Mar 02, 2013 5:05 am   Subject: PWM on CCP1 (RC1) on PIC18F4550
Hello,

I have just created a simple program that switches 2 LEDs on and off..


output_high(PIN_C1);
output_high(PIN_C2);
delay_ms(1000);
output_high(PIN_C1); ...
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Fri Mar 01, 2013 9:13 pm   Subject: PWM on CCP1 (RC1) on PIC18F4550
Thanks for the replies!

I am using compiler version 4.3.0.225.

I have changed s0 into PIN_A0 and also I have put #fuses after the device. Also the #use FAST_IO have been placed after #use delay. ...
  Topic: PWM on CCP1 (RC1) on PIC18F4550
kidswizz

Replies: 15
Views: 38269

PostForum: General CCS C Discussion   Posted: Fri Mar 01, 2013 4:52 pm   Subject: PWM on CCP1 (RC1) on PIC18F4550
Hi guys, I am trying to run 2 DC motors using a PIC18F4550 and an L298N H-Bridge driver. A few days ago, I was able to successfully run both motors at different speeds. However now none of the motors ...
  Topic: Missing #FUSES !?!
kidswizz

Replies: 12
Views: 14180

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2013 6:08 pm   Subject: Missing #FUSES !?!
Hello John,

It was actually the compiler version that was the problem. Thanks for the reply Smile
  Topic: 16F648A question.
kidswizz

Replies: 5
Views: 6611

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2013 6:07 pm   Subject: 16F648A question.
Thank you very much for your reply, it has helped me very much to understand how the PIC works and also the CCS C Compiler. My motors are now working correctly alongside the sensors and the ucontrolle ...
  Topic: Using LM339
kidswizz

Replies: 3
Views: 4999

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2013 6:06 pm   Subject: Using LM339
Hello, thanks for the reply. I am sorry for posting in the wrong forum and thanks for the link. Actually however it was a "rookie" error that was the problem, I have not programmed the port ...
  Topic: Using LM339
kidswizz

Replies: 3
Views: 4999

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2013 1:07 pm   Subject: Using LM339
Hi, I am a beginner and I am using LM339 to convert an analogue signal to a digital signal. I have used input 1+ and input 1- and have successfully received the correct output. However when I used inp ...
  Topic: PWM on DC Motor using 18F4550?
kidswizz

Replies: 6
Views: 9870

PostForum: General CCS C Discussion   Posted: Sat Feb 23, 2013 10:51 am   Subject: PWM on DC Motor using 18F4550?
Hi, thanks for the reply guys. I am wondering how to find out the best frequency to PWM the DC motors? What are the advantages and disadvantages of higher and lower frequencies? Thank you all for your ...
  Topic: PWM on DC Motor using 18F4550?
kidswizz

Replies: 6
Views: 9870

PostForum: General CCS C Discussion   Posted: Fri Feb 22, 2013 2:38 pm   Subject: PWM on DC Motor using 18F4550?
Hi, I am a beginner and I was wondering if you can guide me in using PWM to control motor shaft rotation speed. I am using the internal osc which is 8MHz. I have got the following code although I am n ...
  Topic: Missing #FUSES !?!
kidswizz

Replies: 12
Views: 14180

PostForum: General CCS C Discussion   Posted: Fri Feb 22, 2013 7:52 am   Subject: Missing #FUSES !?!
Hi I have the same problem. How can I fix this?
  Topic: 16F648A question.
kidswizz

Replies: 5
Views: 6611

PostForum: General CCS C Discussion   Posted: Thu Feb 21, 2013 7:20 am   Subject: 16F648A question.
Thanks! I will check them now Smile
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group