Search found 7 matches

by Raxis777
Tuesday 31 August 2021 18:44
Forum: Temperature and Weather
Topic: generic sysfs GPIO temperature sensor
Replies: 5
Views: 801

Re: generic sysfs GPIO temperature sensor

You could do something with python: to read the MCP3008: https://learn.adafruit.com/mcp3008-spi-adc/python-circuitpython Then make a python script and call that in dzVents to update a temperature device. See for example below topic for a battery voltage reading. https://www.domoticz.com/forum ...
by Raxis777
Tuesday 31 August 2021 18:13
Forum: Temperature and Weather
Topic: generic sysfs GPIO temperature sensor
Replies: 5
Views: 801

Re: generic sysfs GPIO temperature sensor

GPIO input can only see open close (binary input). It cannot handle ADC. Be aware that putting a high voltage on your GPIO can damage your RPi! maximum input of voltage i'm gonna put to GPIOs is 100mV so RPi will be fine :D Can i ask you then how i can read signal on domoticz from my ADC adding a ...
by Raxis777
Tuesday 31 August 2021 17:54
Forum: Temperature and Weather
Topic: generic sysfs GPIO temperature sensor
Replies: 5
Views: 801

generic sysfs GPIO temperature sensor

Hello i was trying to add thermocouple sensor by using ADC MCP3008 directly to GPIO of my RPi. I used this code echo 4 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio4/direction and added my GPIO to domoticz hardware. The problem is that i need temperature sensor but when i added my GPIO it ...
by Raxis777
Tuesday 31 August 2021 17:01
Forum: Temperature and Weather
Topic: thermocouple temp measure
Replies: 6
Views: 768

Re: thermocouple temp measure

By the way I would like to ask if I connect the microcontroller to another WIFI network will my configured domoticz work? I'm wondering about this because sometimes on the same network I'm using after switching on the microcontroller domoticz goes offline and I have to reset it from the terminal.
by Raxis777
Tuesday 31 August 2021 16:44
Forum: Temperature and Weather
Topic: thermocouple temp measure
Replies: 6
Views: 768

Re: thermocouple temp measure

Else you can connect it to an esp8266 or similar. Mysensors.org also has a Domoticz integration. I would prefer to not to buy more stuff because it already has cost me pretty much. I want to find a way to read it straight from ADC or something like that. I see that there is many positions in ...
by Raxis777
Tuesday 31 August 2021 16:38
Forum: Temperature and Weather
Topic: thermocouple temp measure
Replies: 6
Views: 768

Re: thermocouple temp measure

Connect the mcp3008 to the GPIO pins of a raspberry Pi running Domoticz. Using the ‘sysgpio’ hardware module you should be able to read the values coming from the mcp3008. I was able to do this, but if i add GPIO with my voltage value it treats it like a lighting source not temperature and shows tha ...
by Raxis777
Monday 30 August 2021 21:39
Forum: Temperature and Weather
Topic: thermocouple temp measure
Replies: 6
Views: 768

thermocouple temp measure

Hello i'm using thermocouple type K in my project to measure temperature of engine. Is there a possibility to add it to domoticz? i'm using op amp and ADC mcp3008 which gives me voltage value? If there isn't any option to do that maybe it can be done with MAX6675 ADC or any different ADC? Thanks for ...