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 19 matches
CCS Forum Index
Author Message
  Topic: need help on MCP4921 DAC
arawana

Replies: 1
Views: 4328

PostForum: General CCS C Discussion   Posted: Mon Jan 18, 2010 10:40 pm   Subject: need help on MCP4921 DAC
Hi,

I want to use MCP4921 a 10bit DAC. I want to connect it to PIC16F877A.

But I have confuse on PIN CS on MCP4921.. Is it have to connect to pin RC0 or RC1 or RC2 or RE1?

Someone who had us ...
  Topic: Need Help on RC Servo Ramp (speed)
arawana

Replies: 6
Views: 8091

PostForum: General CCS C Discussion   Posted: Thu Jan 14, 2010 3:25 am   Subject: Need Help on RC Servo Ramp (speed)
Hi bungee-

I still don't understand your coding on http://www.ccsinfo.com/forum/viewtopic.php?p=115112#115112. Is it for remote control flight?

1) I have compile and try to simulate in proteus I ...
  Topic: Need Help on RC Servo Ramp (speed)
arawana

Replies: 6
Views: 8091

PostForum: General CCS C Discussion   Posted: Sat Jan 09, 2010 7:53 am   Subject: RC Servo Ramp (speed)
ok Shocked

Because I have more than 2 RC servos, I have to generate PWM manually using loop.

Exp for 1 servo:


int i;

void main()

{
while(1)
{

 ...
  Topic: Need Help on RC Servo Ramp (speed)
arawana

Replies: 6
Views: 8091

PostForum: General CCS C Discussion   Posted: Fri Jan 08, 2010 8:19 pm   Subject: Need Help on RC Servo Ramp (speed)
Hi, all CCS member and Happy new year!!

I am a student at Singapore, I got a project about controlling 16 RCservo motors on PORTB & PORTC. Currently I am using 16F877A & 20MHz. I can contro ...
  Topic: butterfly robot
arawana

Replies: 0
Views: 2333

PostForum: General CCS C Discussion   Posted: Wed Jul 02, 2008 7:12 am   Subject: butterfly robot
hello.. below is my code for my butterfly wings.. i use 2 motors and each motor have 2 limit switches...

the motor do not have same speed.. so my sequence is..

first:
both wings go up

then: ...
  Topic: Servos.c
arawana

Replies: 5
Views: 17337

PostForum: General CCS C Discussion   Posted: Mon Jun 23, 2008 4:04 am   Subject: Servos.c
hi..

i want to ask u a question please...

about servo.c library... which 2 pins i have connect to give signal to my 2 servos and i am using PIC16f877a 20Mhz..

and if i want to control more ...
  Topic: Problem with multiple ADC channels
arawana

Replies: 16
Views: 31802

PostForum: General CCS C Discussion   Posted: Tue May 13, 2008 3:50 am   Subject: Problem with multiple ADC channels
what if i write like this? is it correct?



#include <16F877A.H>
#device adc=10
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock=20000000) //20MHz
#use rs232&# ...
  Topic: Problem with multiple ADC channels
arawana

Replies: 16
Views: 31802

PostForum: General CCS C Discussion   Posted: Tue May 13, 2008 3:13 am   Subject: Problem with multiple ADC channels
i had change some.. but it is correct how i define set_adc_channel(0) to set_adc_channel(7)?

i want to use all the ADC channel at same time.. if there is a change or not at any ADC pins.. i want it ...
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2008 9:10 pm   Subject: problem with variable ADC & RC servo motor
ok its work Thanks~~

it not have many range.. I have to make it more range... so it can become more accurate and smooth.. can i?

actually i want to make a animtronic using potentiometer or flex ...
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Fri Apr 25, 2008 4:21 am   Subject: problem with variable ADC & RC servo motor
still cannot work.. can anyone heLp~~ thanks..
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 10:54 am   Subject: problem with variable ADC & RC servo motor
but still cannot work.. can anyone help me? is there another way?
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 9:25 am   Subject: problem with variable ADC & RC servo motor
Oo ic..
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 9:01 am   Subject: problem with variable ADC & RC servo motor
hehe~ still same.. u just remove the delay..
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 8:35 am   Subject: problem with variable ADC & RC servo motor
result still same.. ADC change but the motor stay at 90deg..


if i put this code it work.. but without ADC.. u just call the function




void servo1_0(void)
{

for (i ...
  Topic: problem with variable ADC & RC servo motor
arawana

Replies: 29
Views: 84686

PostForum: General CCS C Discussion   Posted: Tue Apr 22, 2008 8:13 am   Subject: problem with variable ADC & RC servo motor
yes i have change the code that Matro gave..

The ADC change but the the RC motor stay at 90deg..
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group