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 8 matches
CCS Forum Index
Author Message
  Topic: please help me here...
hhyong99

Replies: 10
Views: 10642

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 11:43 am   Subject: please help me here...
i know what is ADC... but i don't know whether to use ADC or timer interrupt for that...

if i want to set my sampling rate at 10kHz, osilloscope the result of the convertion at the one of my output ...
  Topic: please help me here...
hhyong99

Replies: 10
Views: 10642

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 9:47 am   Subject: please help me here...
Ttelmah, must i have adc interrupt for this?? cos i don't really know how that's work...
thank you...
  Topic: please help me here...
hhyong99

Replies: 10
Views: 10642

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 9:38 am   Subject: please help me here...
haha... Mark, you are right indeed... then what's the best sampling rate for this??
  Topic: please help me here...
hhyong99

Replies: 10
Views: 10642

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 9:24 am   Subject: please help me here...
sorry, i'm using C18 compiler...
how to define sampling rate in programming code?? if i want to sample 1kHz sine wave, at least i need 2kHz sampling rate, right?? but in the code, i'm using 9600 baud ...
  Topic: please help me here...
hhyong99

Replies: 10
Views: 10642

PostForum: General CCS C Discussion   Posted: Tue Sep 06, 2005 8:53 am   Subject: please help me here...
#include <p18f452.h>
#include <adc.h>
#include <delays.h>
#include <stdlib.h>
#include <usart.h>

#pragma romdata CONFIG
_CONFIG_DECL(_CONFIG1H_DEFAULT & _OSC_ ...
  Topic: can P18F452 do voice sampling?
hhyong99

Replies: 5
Views: 6462

PostForum: General CCS C Discussion   Posted: Mon Sep 05, 2005 11:06 am   Subject: can P18F452 do voice sampling?
newguy, say now, if i want to send in a 1kHz sine wave to TRISA0...
what's the maximum voltage and current could that pin accept?
i can set which output for the ADC?
do i need Vref??
what actu ...
  Topic: can P18F452 do voice sampling?
hhyong99

Replies: 5
Views: 6462

PostForum: General CCS C Discussion   Posted: Mon Sep 05, 2005 10:14 am   Subject: can P18F452 do voice sampling?
i'm running my PIC at 20Mhz, is this mean that i can't do the sampling??
  Topic: can P18F452 do voice sampling?
hhyong99

Replies: 5
Views: 6462

PostForum: General CCS C Discussion   Posted: Mon Sep 05, 2005 7:19 am   Subject: can P18F452 do voice sampling?
i'm doing a school project currently.. i need to use P18F452 to do voice sampling and then transfer through IR link to another PIC and decode it... is this possible to be done by ADC in the P18F452??
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group