@chbla, I'm quite puzzled.
As it works on the breadboard, of course, I would chase for bad soldering. For instance, the mosfet gate controled by pin 7.
Any picture of the arduino pro mini ?
@chbla well, yes. As the level adapter AND the booster are triggered only when needed (during the measure time), I don't see where it closes the loop.
By maybe I misunderstand something. Where do you loose some current ? The trigger pin from the HC-SR04 ?
From my experience, the transistor (or mosfet) is key to allow enough current to the DC-DC booster. Otherwise, it will not provide the appropriate voltage because max current getting out of a digital pin from Arduino is around 40 mA.
@Nca78, actually, I did not want to touch the existing cables to avoid any claim from the maintenance guy And as I could not access one single wire, I had to find another way. Interesting enough, using the existing connecting screws was easier.
@zboblamont: the picture is quite not clear but the motor is very well protected to avoid any mechanical injury. And, probably as a consequence, there is not detectable magnetic field coming out of it.
@bjacobse: I have considered this as well (as well as some kind of a gauge based on pressure or anything else in the tank). But, unfortunatly, as this is a 7 tons / 11 m3 pellet tank, it is filled by a truck blowing pellets into it....making the life of the ultrasonic sensor really not long
Furthermore, ultrasonic sensor would be good to measure a level with a very large error margin. With my sensor, I will be close to a 1-gram quantum...measuring the current consumption very accurately.
For the story of it, I already have a way to measure pellet consumption in a rough approximation: but weighting the ashes
I'm following-up on this thread Sensor for pellet burner.
On my side, I have started to monitor my pellet burner about 1-year ago.
I'm measuring global power consumption of the boiler as well as departure and return temperature of the heating circuit.
Even though, I do that since one year only, I've been thinking about how to monitor pellet consumption for at least 5 years (yeah, failure is an option ).
What I have tested:
Now, I'm about to test something quite simple: mains presence at the convoying motor. This one is quite easy (I will show you how) to design and relates quite easily to the pellet consumption: 1 second equals x grams of pellet.
How do I know the time mains are activating the motor ? Well, a zero-crossing detector.
Beware, main resistance values are key: they depend on mains value, optocoupler characteristics and ..their power. Using the displayed value (56k) will keep the power under 1/4W. The optocoupler is a LTV-814 (cheap and efficient !).
Here is a quick schema of such a detector. I will keep you posted with the results.
Hope my experience will help others.
Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.