Hi
Can the EmonTH have a pluse counter and external temperature sensor (ds18b20) connected at the same time?
Paul
Hi
Can the EmonTH have a pluse counter and external temperature sensor (ds18b20) connected at the same time?
Paul
Paul,
Just checked mine. I have 3 temp sensors and I pulse counter attached to my Emonth
Regards
John
They use different inputs: the temperature sensors are on the 1-wire interface, the pulse is on a digital (interrupt) input.
all sorted thank you. I have wired the pluse counter and temperature sensor at the same time.
What is the value of those spikes - 85°C by any chance? This might indicate that the sensor has been powered but not commanded to measure (āconvertā) the temperature. It might be a symptom of an intermittent power supply to the sensor. The DS18B20 data sheet has more details - itās the power-on reset value of the temperature register, I presume that number was chosen as it is the upper limit of the ±0.5°C tolerance band.
Hi @Robert.Wall
they look like +85. I spose one solution is to skip anything >50 are they any others?
Paul
I would first check your batteries - if thereās a high resistance contact, the high current pulse during transmit could well do funny things, as of course would a dry soldered joint or a not tight terminal screw. (Youāve not ātinnedā the wires, nor clamped onto the insulation?)
The batteries are energiser lithium āAAā voltage is showing as 3.2v its a new EmonTH from the store a few weeks ago and connections look ok/feel ok.
Iām afraid I donāt have a recent (RFM69CW) emonTH, so thereās little point in me trying to run a test.
Iād wonder whether the power saving efforts are too aggressive, what Iād do to start debugging this is to power the TH from a programmer, and firstly check that you are still getting ā85ā values, then bit at a time take out the power-saving code. If you can check for glitches in the power to the DS18B20, so much the better - because Iām guessing thatās the problem, but itās not guaranteed.