i have a wind sensor (TX23 from lacrosse) connected to my py, and OFTEN it works. I mean than when raspi boots up, it do not work, if i disconnect and reconnect the cable, it starts working and never stops.
This happens only when i take off the power to the raspi, if i restart it the sensor always works.
It is commonly powered by 2 AAA batteries (3V). I powered it up with 3,3V from Raspi.
Now, since it's an annoyin problem, i powered it with a couple of batteries (common ground with raspi, obviously).
Magically, now it always work.
So i thought that maybe the way power line goes up can create the problem. But what if i'd like to avoid batterie? what can i use?
Or better, what about something like this
Code: Select all
raspi 3,3V
------------
|
|
big resistor, let's say 1M
|
|
Sensor VCC and batteries +
|
|
-------------
common ground
Can this work?
thanks a lot