my umbrella should be protected against destroy
what can destroy umbrella ... of course strong wind !
so I am start developing wind sensor (anemometer)
below is real foto of anemometer elements (additionally is mounted gps module):
up this time
1. I bought all needed elements ( turbine, encoder, wires )
2. I wrote frequency measure algorithm (timer in capture mode)
now I must make :
1. write software incoming data filter
2. create hardware LF RC filter
3. make tests,
P.S.
when I will be in home I will share code
"frequency measured software"
it is fixed version of project timer_cc from SDK
b.r.
Lukasz, Poland
update 01
frequency measure - code (timer_cc.zip)
- TimerA2 in capture mode - pin P04
- TimerA0 in continous mode - signal on pin P61
connect together P61and P04
results ( measured frequency value) are displayed on terminal ( 115200 8N1 )
update 02
frequency measure + software filter - code (timer_cc1.zip)
- TimerA2 in caputer mode - pin P04
- TimerA0 in continuous mode
connect together P61and captured signal
results ( measured frequency value) are displayed on terminal ( 115200 8N1 )
update 03
hardware LF 200Hz Fc filter
created by: http://sim.okawa-denshi.jp/en/CRtool.php
update 04
compleate schematic
- encoder ED1212s
- pull up rezistor
- lf 200Hz filter
update 04
anemometer is done
and video
( camera operator my wife )
measured frequency 100Hz, after calibration anemometer will be working perfectly
best regards
Lukasz, Poland