I hope this is the correct place to post this. If not, I will move/delete the post.
I have recently bought a Raspberry Pi and a few DS18B20 sensors. I want to monitor their values via Domoticz (which will be running on the Pi).
I should note that I have no background in electronics, so for now I will rely heavily on tutorials and examples available online.
I also want to add energy monitoring to my Domoticz system. I’m okay with assuming a constant voltage, lets say 230 V. I have Googled and came upon the SCT-013 sensors.
The question is how to get the values from the sensor to the Pi. The sensor will not be near the Pi, by the way.
I now have the following options I can think of and would like your help deciding which to use in the end:
- Connect the SCT to the Pi via an ADC (wired?)
- Connect the SCT to an Arduino clone and send from that to Pi
- Connect the SCT to ESP8266 and send from that to Pi
I would like for the chosen option to be as cheap as possible.
I would prefer that the values be sent to the Pi wirelessly, since one of the DS18B20’s will be maybe about 1 meter from there (fish tank). I can also maybe add a room temp+humidity sensor and then send all three values together using the same device? 3 birds with one stone.
From what I’ve found Googling, it seems that if I use an Arduino/ESP8266, I might have to use an ADC, especially if using ESP.
I have read the following writeups:
ADC example: http://www.ebay.com/itm/221980694555
A lot of the information in them are the same, but there are some differences.
From that, I gather that I need two 10kΩ resistors (though in the last tutorial, there is not…)
I also need a 10 μF capacitor (always)
Then, the burden resistor will depend on what I choose to use in the end.
I do not know what the tolerance (that is the ±, right) on the resistor should be. Same goes for wattage