Pages: [1]   Go Down
Author Topic: Hygrosens Doppler effect sensor for velocity measurment  (Read 1029 times)
0 Members and 1 Guest are viewing this topic.
Amsterdam
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Xn=rX(1-X)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Most of the topics I found (dating before 2011) about this one sensor start of like this:

Hey, I have this sensor from Hygrosens:
http://shop.hygrosens.com/out/media/radar_dbe.pdf

Does anyone have any experience with this module...

So hereby.

I have it hooked up to the arduino (nothing to difficult), open-collector works fine with an interrupt.

I've also did some arduino-oscilloscoping and found that the line-in of the pot gives out some more data if used raw in an analog pin (did some multimetering to, all neatly within arduino capabilities). It gives a frequency and a voltage. The frequency should provide some velocity measurment and the voltage the amount of waves returned (e.g. size of object). None what so-ever documented in exact details (Hygrosens is enquired).

I've tried sampling the analog pin with pulseIn() but got the same result every sample. I would agree that it means I should only have to sample one time but, I'd like to know if anyone else tried hooking it up like this...

I've also not tested the velocity yet, "whacking" at it didn't deliver anything beyond 23Km/h (wouldnt know if thats correct  smiley-confuse ). Knowing
Quote
"...signal originating at the mixer output is proportional to the speed: 44 Hz corresponding to a movement speed of approx. 1 km/h."

With no more interesting code:

Code:
//lowest F 5Hz
unsigned long f = pulseIn(A0, HIGH, 200000);

//44Hz == 1Km/h
f = (1000000/f);
float kmh = f/44.0;

If I find a way of more precisly measuring the outcomes, I will let it know in this thread. For now, anyone, experiences...?
« Last Edit: January 25, 2012, 12:38:24 pm by Aduen » Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 170
Posts: 12456
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

(no experience with this sensor, but it sounds interesting)

Quote
If I find a way of more precisly measuring the outcomes
You could drive in a car and measure the raw data (scope?) and create a lookup table?

wrt code:
- PulseIn() is meant for digital signals not for analog ones, that will introduce trouble I expect.

Can you post a picture of the signal on the scope?

Can you post your complete sketch? minimal version?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: