Search found 83 matches

by ajocius
Mon Mar 22, 2021 2:50 pm
Forum: ESP32 boards
Topic: turning on and off ESPHOME Sonoff
Replies: 2
Views: 155

turning on and off ESPHOME Sonoff

I have ESP32 based temp measuring device in my greenhouse. Data is sent via mqtt protocol. Node-Red is capturing mqtt message and saves data to influxDB. I measure temp in several locations, but here important are temp at the top of greenhouse and soil temp. I would like to have solution where I can...
by ajocius
Sun Feb 07, 2021 11:45 am
Forum: ESP32 boards
Topic: Data connection to switch
Replies: 1
Views: 185

Data connection to switch

i have 12V power line running via switch controlled by ESP32. Data is connected to let's say Pin13. Project is set that movement detection sensor registers movement and ESP32 sends signal to switch via Pin13, which turns LED lamp on. I would like to add Alexa command to turn LET on, that will shoot ...
by ajocius
Thu Apr 16, 2020 9:27 am
Forum: General Discussion and Questions
Topic: Multiple Onewire bus connections
Replies: 4
Views: 824

Re: Multiple Onewire bus connections

Had 1,8K and 1,2K. Tried with 1,8K and it reads them all! Thank you. Would be great to understand the logic behind.

Also, would be great to understand if two Onewire objects can be running within the code.

One step closer to moving sensors to greenhouse, just in time :)
by ajocius
Thu Apr 16, 2020 5:48 am
Forum: General Discussion and Questions
Topic: Multiple Onewire bus connections
Replies: 4
Views: 824

Multiple Onewire bus connections

I had working code for several DS18B20 sensors connected on one bus. However, once number of devices increased to 11 I started to get no readings from several sensors. Tried all sensors individually, all work fine, but once all 11 were connected, I got same issue. So I thought to try to split sensor...
by ajocius
Mon Mar 30, 2020 4:30 pm
Forum: ESP32 boards
Topic: DS18B20 readings are wrong
Replies: 10
Views: 1822

Re: DS18B20 readings are wrong

Not sure how to post picture on this forum, tried with [img] and url from Google Photos, but picture does not show. After following graph for a day I see that lines are not always parallel. Need more testing...
by ajocius
Mon Mar 30, 2020 2:43 pm
Forum: ESP32 boards
Topic: DS18B20 readings are wrong
Replies: 10
Views: 1822

Re: DS18B20 readings are wrong

I did find some suggestions to reduce pull up resistor value when sensor is connected to 3.3V, not 5V. Suggestion was to use 2,7 KOhm instead of 4.7 Ohm. Haven't tested yet, but then again, this parallel graphs indicates there is offset issue most likely, how you pointed out. Ordered some from trust...
by ajocius
Mon Mar 30, 2020 2:32 pm
Forum: ESP32 boards
Topic: DS18B20 readings are wrong
Replies: 10
Views: 1822

Re: DS18B20 readings are wrong

great to find someone with similar use of devices and micropython. Is your pH meter and EC/PPM meter integrated into HA as well? If yes, what devices do you use?
by ajocius
Mon Mar 30, 2020 1:13 pm
Forum: ESP32 boards
Topic: DS18B20 readings are wrong
Replies: 10
Views: 1822

Re: DS18B20 readings are wrong

Thx for quick response. Does that mean that you calculated individual offset per sensor and used simple procedure , like : 1. Reading temp 2. adding offset (can be positive or negative) 3. Using result temp? Besides constant offset, did you see any other malfunctions? I intend to use it in greenhous...
by ajocius
Mon Mar 30, 2020 11:36 am
Forum: ESP32 boards
Topic: DS18B20 readings are wrong
Replies: 10
Views: 1822

DS18B20 readings are wrong

I have 5 DS18B20 temperature sensors connected via one wire non parasite to ESP32 running micropython. I do get readings that I post to influxdb and monitor over time. I noticed that all 5 sensors are reacting to temperature (increasing, decreasing), but seem to give me different readings. So graph ...
by ajocius
Mon Mar 23, 2020 7:53 pm
Forum: General Discussion and Questions
Topic: VCC pins usage for several sensors
Replies: 1
Views: 492

VCC pins usage for several sensors

I am using ESP32 with micropython code to read sensors data (mainly DHT22 and DS18B20 for temp and humidity). Both sensors that I mentioned use pull up resistor between data and VCC pins. Let say I want to connect 10 sensors (combo of above) to one ESP32. Can I use same VCC pin and 10 pull up resist...