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 11 matches
CCS Forum Index
Author Message
  Topic: USB CDC Device in ANDROID
victorcastro89

Replies: 0
Views: 4301

PostForum: General CCS C Discussion   Posted: Sun Mar 03, 2013 11:52 pm   Subject: USB CDC Device in ANDROID
Hello guys!
Can an smartphone/tablet with android host a pic18f4550 as USB device?

This site says android can host ft232 and arduino, but and CDC ACM provided by ccs?
https://code.google.com/p/us ...
  Topic: Helpful tip for input capture
victorcastro89

Replies: 0
Views: 5729

PostForum: General CCS C Discussion   Posted: Sat Aug 11, 2012 11:18 pm   Subject: Helpful tip for input capture
Hello guys, i'm working with the input capture to measure frequency from 2 Hz to thousand Hz.

I was using dsPIC33, 80Mz, 40 MIPS, with 16bit timer 2.

If prescaler = 64 theoretically I can measu ...
  Topic: Control of four motors with PIC or DSPIC
victorcastro89

Replies: 13
Views: 14928

PostForum: General CCS C Discussion   Posted: Sat Jul 14, 2012 5:30 pm   Subject: Control of four motors with PIC or DSPIC
In an application this small and fast I wouldn't bother with CRCs or checksums. Just refresh the motor control commands every 10ms or 25ms and if one occasionally gets corrupted the trajectory will n ...
  Topic: Control of four motors with PIC or DSPIC
victorcastro89

Replies: 13
Views: 14928

PostForum: General CCS C Discussion   Posted: Sat Jul 14, 2012 3:22 pm   Subject: Control of four motors with PIC or DSPIC
I can see both sides here, one PIC versus 5 PICs, having done both methods.

Using only one PIC you save on the R&D time to cut code to send/rcv data to the other 4 PICs which should(_must_) hav ...
  Topic: Control of four motors with PIC or DSPIC
victorcastro89

Replies: 13
Views: 14928

PostForum: General CCS C Discussion   Posted: Sat Jul 14, 2012 2:31 pm   Subject: Control of four motors with PIC or DSPIC
why so many pics?

cant you do all in one?

For ease of development and flexibility the One_PIC_for_each_major_function method is good. You write one set of code for the motor controller and put ...
  Topic: Control of four motors with PIC or DSPIC
victorcastro89

Replies: 13
Views: 14928

PostForum: General CCS C Discussion   Posted: Sat Jul 14, 2012 10:49 am   Subject: Control of four motors with PIC or DSPIC
Thank you all!
The first pic has a very robust control that has high processing costs, I tried using just two dsPIC, one to control the robot and another to control the motors.

But my dspic33fj128 ...
  Topic: Control of four motors with PIC or DSPIC
victorcastro89

Replies: 13
Views: 14928

PostForum: General CCS C Discussion   Posted: Sat Jul 14, 2012 7:21 am   Subject: Control of four motors with PIC or DSPIC
I'm building a four-wheeled robot, where a Pic receives information wirelessly, sends other information for four other pic that controls the wheels, but the four pics that make the control wheel shou ...
  Topic: Crystal oscillator in dsPic33fj256gp710
victorcastro89

Replies: 3
Views: 5921

PostForum: General CCS C Discussion   Posted: Tue Feb 07, 2012 4:50 pm   Subject: Crystal oscillator in dsPic33fj256gp710
And it works?
can you post you complete code to help me?
  Topic: HELP Speed Measuring for Brushless with sensor hall effect
victorcastro89

Replies: 2
Views: 4790

PostForum: General CCS C Discussion   Posted: Tue Nov 15, 2011 7:33 pm   Subject: HELP Speed Measuring for Brushless with sensor hall effect
I'm trying to do a speed meter, using three Hall-effect sensors 60 degrees out phase.

To do this just need to know the time between two edges of ascent or descent of the sensors.

The curves are ...
  Topic: SPI #use spi()
victorcastro89

Replies: 17
Views: 45066

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 9:27 am   Subject: SPI #use spi()
Not sure if this will help, but this is the code I use to change spi settings between calls to my flash and my gyro. This is all on a PIC24FJ256GA110, but it should be similar to yours:


ReturnEr ...
  Topic: SPI #use spi()
victorcastro89

Replies: 17
Views: 45066

PostForum: General CCS C Discussion   Posted: Thu Nov 03, 2011 1:26 pm   Subject: How to setup Slave mode?!
I'm new in hardcode, i'm reading datasheets many times and can't configure SPI slave and mode=1 with SS.
Anyone can help me?

Thanks guys, after some experimenting I've learned the best solution is ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group