Cdm324 24Ghz Microwave Human Body Motion Sensor Module Radar Induction Switch Sensor
Rs. 452.00 Rs. 556.00
- Product Code: SEN-MICROWAVE
- SKU -
- Availability: In Stock
- Price in reward points: 4
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
Transmitting Frequency | min : 24.125GHz max: 24.25GHz |
Output Power | 16dbm (tpy) |
Operating Temperature | -20--60℃ |
Operating Current | tpy:30MA, max: 40MA |
Operating Voltage | tpy: 5.5V |
Pulse Width | tpy:10US |
IF Output | -300--300MV |
OVERVIEW: | |
Transmitting Frequency | min : 24.125GHz max: 24.25GHz |
Output Power | 16dbm (tpy) |
Operating Temperature | -20--60℃ |
Operating Current | tpy:30MA, max: 40MA |
Operating Voltage | tpy: 5.5V |
Pulse Width | tpy:10US |
IF Output | -300--300MV |
PACKAGE INCLUDES:
1 PCS x Cdm324 24Ghz Microwave Human Body Motion Sensor Module Radar Induction Switch Sensor
//SOURCE CODE TAKEN FROM BELOW LINK
//https://forum.arduino.cc/index.php?topic=91793.0
// These are the counts needed for 250 msec interrupt
// using the timer prescaler settings set to 128.
const uint16_t TICK_CNT = 34286; // 65536-(16MHz/128/4Hz)
static uint16_t freq = 0;
double sped = 0; //"speed" seems to be a reserved term
void setup() {
pinMode(13, OUTPUT);
digitalWrite(13, HIGH);
Serial.begin(115200);
noInterrupts(); // disable all interrupts while we configure
// init Timer1 - 16-bit timer/counter
TCNT1 = 0; // start count at zero.
TCCR1B |= _BV(CS12) | _BV(CS11) | _BV(CS10); // Increment T1 input on each positive edge
// using an external source. Table 16-5, pg 139.
// init Timer2 - 8-bit timer/counter
TCNT2 = TICK_CNT; // preload Timer2 to interrupt every 250 msec
TIMSK2 = _BV(TOIE2); // enable the Timer2 overflow interrupt
TCCR2B |= _BV(CS22) | _BV(CS20); // init clock prescaler to 128. Table 18-9, page 164.
interrupts(); // enable all interrupts
Serial.println("Ready...");
}
ISR(TIMER1_OVF_vect) {
// do nothing. this is just a dummy ISR in case it actually overflows.
Serial.println("Inside Timer1 Overflow Interrupt.");
}
ISR(TIMER2_OVF_vect) {
//Serial.print("TCNT1: ");
//Serial.println(TCNT1);
freq = TCNT1;
//Serial.println(freq);
TCNT1 = 0;
TCNT2 = TICK_CNT;
}
void loop() {
if (freq != 0) {
freq = freq << 2; // multiple the frequency * 4 (using leftshift 2 places). 250ms*4 = 1 sec.
sped = freq * .03225; // multiplying freq * 0.0325 will give speed in mph. 31Hz == 1 mph.
// see: http://www.microwave-solutions.com/contents/en-uk/d13_System_Design.html
Serial.print("Freq: ");
Serial.print(freq, DEC);
Serial.print(" Hz, Speed: ");
Serial.print(sped, 3);
Serial.println(" mph");
}
}
15 days