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 45 matches
CCS Forum Index
Author Message
  Topic: is these same?
luckyluke

Replies: 2
Views: 8781

PostForum: General CCS C Discussion   Posted: Sun Feb 17, 2019 6:15 am   Subject: is these same?
It was for fixed 1 ms interval.
I intended to fill 1ms with\
while (!interrupt_active(INT_TIMER1)) ;
Actual program is like:

while(1)
{
while (!interru ...
  Topic: is these same?
luckyluke

Replies: 2
Views: 8781

PostForum: General CCS C Discussion   Posted: Sun Feb 17, 2019 4:34 am   Subject: is these same?
hello
i am controlling two motors with h-bridge controller.
i want to ask a question about frequent update of pwm duty.

#include <18f2520.H>
#fuses XT, NOWDT,NOBROWNOUT,PUT,NOLVP,NOMCLR
...
  Topic: Forum update?
luckyluke

Replies: 11
Views: 21489

PostForum: General CCS C Discussion   Posted: Fri Feb 08, 2019 10:34 am   Subject: Forum update?
For me forum is not easy readable if poster don't like to hit enter. It is designed for 4:3 crt monitors i guess.

Other than i know this is ccs c forum but a section for electronics questions would ...
  Topic: MCLR_FROM_RUN
luckyluke

Replies: 14
Views: 27285

PostForum: General CCS C Discussion   Posted: Mon Apr 02, 2018 6:26 am   Subject: MCLR_FROM_RUN
There was only a 10K pullup resistor on MCLR now there are diode and 10K.
  Topic: MCLR_FROM_RUN
luckyluke

Replies: 14
Views: 27285

PostForum: General CCS C Discussion   Posted: Mon Apr 02, 2018 5:34 am   Subject: MCLR_FROM_RUN
Thanks for opinions.

In case of somebody have same problem i have solved it with a diode between Vpp and 5V.

I was making hobby circuits with lcd,l ed and some sensors. It was easy work with the ...
  Topic: MCLR_FROM_RUN
luckyluke

Replies: 14
Views: 27285

PostForum: General CCS C Discussion   Posted: Wed Mar 28, 2018 10:01 am   Subject: MCLR_FROM_RUN
OK
beside your point what i want to ask is electrically which one is correct

B regulator --> bypass cap --> power pins
A regulator --> power pins --> bypass cap

is there any differ ...
  Topic: MCLR_FROM_RUN
luckyluke

Replies: 14
Views: 27285

PostForum: General CCS C Discussion   Posted: Wed Mar 28, 2018 8:52 am   Subject: MCLR_FROM_RUN
https://i.imgur.com/eBU4ors.jpg

Is there any difference about placing the 100nf or is it best to solder directly to power pins?
  Topic: MCLR_FROM_RUN
luckyluke

Replies: 14
Views: 27285

PostForum: General CCS C Discussion   Posted: Fri Mar 23, 2018 3:27 pm   Subject: MCLR_FROM_RUN
hello
I am working on a robot controller card which have main 18f2520 and 12f629.

Because of robot unfit chassis in some certain maneuvers robot make drifts and this cause 18f2520 have reset MC ...
  Topic: pic 18LF series port a
luckyluke

Replies: 9
Views: 19616

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2018 5:34 pm   Subject: pic 18LF series port a
I have found the problem.
I am using carrier board for sensors and 1.3v caused by indicator led.
Since previous ones did their job i didn't check last party which has bad design.

I removed led n ...
  Topic: pic 18LF series port a
luckyluke

Replies: 9
Views: 19616

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2018 3:13 pm   Subject: pic 18LF series port a
i tried sensor output with b0 and a0 result was same.

i cut sensor cable and directly gave - and + to a2 from circuit it worked and this connection works with a0 and b0 as well.

interestingly th ...
  Topic: pic 18LF series port a
luckyluke

Replies: 9
Views: 19616

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2018 12:18 pm   Subject: pic 18LF series port a
i tried with brackets no difference

same code works ok with 18f2520
  Topic: pic 18LF series port a
luckyluke

Replies: 9
Views: 19616

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2018 11:55 am   Subject: pic 18LF series port a
Hello i am using 18lf252 with 5V.
I have 5 digital sensors on porta.
Regardless of sensor output, reading from pin a2 is "1" so !input(pin_a2)=0 all the time.
All sensors are working. I c ...
  Topic: Electrical Problem ( ReSet Problem)
luckyluke

Replies: 11
Views: 22851

PostForum: General CCS C Discussion   Posted: Wed Dec 20, 2017 4:10 pm   Subject: Electrical Problem ( ReSet Problem)
Thanks Ttelmah for detailed specific informations Shocked

I am following this forum for years sometimes i can't be sure about if you are a single person or a group of people from all electronics b ...
  Topic: Electrical Problem ( ReSet Problem)
luckyluke

Replies: 11
Views: 22851

PostForum: General CCS C Discussion   Posted: Wed Dec 20, 2017 11:46 am   Subject: Electrical Problem ( ReSet Problem)
I will find a space or make one.

Thanks for your replies.
  Topic: Electrical Problem ( ReSet Problem)
luckyluke

Replies: 11
Views: 22851

PostForum: General CCS C Discussion   Posted: Wed Dec 20, 2017 8:40 am   Subject: Electrical Problem ( ReSet Problem)
thank you for lecture like explanations
i am using 3s lipo battery and capacitor for h bridge driver.

problem is i dont have enough space for large capacitors.
i will try 1000 uf 16v firstly, if ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group