Author |
Message |
Topic: Reading cycles |
ilker07
Replies: 6
Views: 571
|
Forum: General CCS C Discussion Posted: Fri Dec 27, 2024 10:20 am Subject: Reading cycles |
Hello friends, I am trying to read the number of areas in a signal like the one below. I want to find these areas by reading adc with cccs c, how should I proceed? The peak point in the signals here i ... |
Topic: hb100 doppler |
ilker07
Replies: 5
Views: 602
|
Forum: General CCS C Discussion Posted: Wed Dec 25, 2024 6:46 am Subject: hb100 doppler |
How can I measure the frequency and magnitude of this signal? |
Topic: hb100 doppler |
ilker07
Replies: 5
Views: 602
|
Forum: General CCS C Discussion Posted: Wed Dec 25, 2024 6:39 am Subject: hb100 doppler |
https://i.hizliresim.com/gq5u427.PNG[/b]
if there is nothing it gives aprrox 2-3 volt. if there is any movement it gives between 0 and 4 volt depends on movement.if there is a lot of movement ... |
Topic: hb100 doppler |
ilker07
Replies: 5
Views: 602
|
Forum: General CCS C Discussion Posted: Wed Dec 25, 2024 6:31 am Subject: hb100 doppler |
Hi everyone I wanna use hb 100 with ccs c but Idon 't know how to get frequency through HB100.Please help.
The code :
#include <18F67K22.h>
#device ADC=12
#use delay(internal=16000000)
... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Thu Sep 05, 2024 7:13 am Subject: Capture Mode Input Frequency Measurement |
I think overclocking the chip and why not to do it was discussed in great length here. For the reliability of such a setup the answer you'd get from a crystal ball is as good as any. It's unknowable. ... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Wed Sep 04, 2024 5:34 am Subject: Capture Mode Input Frequency Measurement |
'time' ?
What are you referring to ?
Mr. T's reply was about overclocking a microcontroller.
BTW guessing is NOT a good thing when dealing with any computer.
I am aware of that.He mentioned (l ... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Wed Sep 04, 2024 2:05 am Subject: Capture Mode Input Frequency Measurement |
You are overclocking the chip by 25%. It will not be reliable long term or
if the weather gets hot.
Think again.
You will almost certainly find that several of the peripherals will not work
prop ... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 7:02 am Subject: Capture Mode Input Frequency Measurement |
unsigned int16 passedTime=0;
float f;
int1 show=0;
#INT_CCP3
void func1()
{
counter++;
if(counter==1) set_timer3(0); //start the timer in the first rising edge.
else if(counter==2){
... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 6:46 am Subject: Capture Mode Input Frequency Measurement |
OK then let s edit this way and get back to main topic
#include <18F67K22.h>
#use delay(internal=16MHz,clock=64MHz)
#INT_CCP3
void func1()
{
}
void main()
{
setup_ccp ... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 5:48 am Subject: Capture Mode Input Frequency Measurement |
You are overclocking the chip by 25%. It will not be reliable long term or
if the weather gets hot.
Think again.
You will almost certainly find that several of the peripherals will not work
prop ... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 5:02 am Subject: Capture Mode Input Frequency Measurement |
#include <18F67K22.h>
#use delay(xtal=20MHz,clock=80MHz)
#FUSES NOWDT
#FUSES WDT128
#FUSES NOXINST
#FUSES NOBROWNOUT
... |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 4:42 am Subject: Capture Mode Input Frequency Measurement |
#use delay(xtal=20MHz, clock=80MHz) I think this way I generated 20mhz clock speed and I think this part(clock=80MHz) is nonsense. |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 4:39 am Subject: Capture Mode Input Frequency Measurement |
#use delay(xtal=20MHz, clock=64MHz) how can I use this?It is not allowed this way because it is not x4.How can I make it 64mhz by using 20 mhz ext.crystal? |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 4:16 am Subject: Capture Mode Input Frequency Measurement |
By thw way how can I make it 64 mhz by using 20mhz external osc? |
Topic: Capture Mode Input Frequency Measurement |
ilker07
Replies: 28
Views: 10146
|
Forum: General CCS C Discussion Posted: Tue Sep 03, 2024 2:04 am Subject: Capture Mode Input Frequency Measurement |
The point is the maximum speed that chip supports is 64MHz.
With a 20MHz crystal, you can run at 20MHz (not 80MHz). With a 16MHz
crystal you can run at 16MHz,, or 64MHz (using the 4* PLL).
You ca ... |
|