laca75tn
(My Home)
October 26, 2020, 9:29pm
1
I am trying to have a thermocouple and a ssd1306 display on the same Esphome Node. Is this possible? I am using a D1 min pro
spi:
miso_pin: D6
clk_pin: D7
i2c:
sda: D1
scl: D2
scan: false
time:
- platform: homeassistant
id: esptime
font:
- file: "amiko-regular.ttf"
id: font1
size: 10
- file: "amiko-regular.ttf"
id: font2
size: 30
- file: "amiko-regular.ttf"
id: font3
size: 14
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64" #SSD1306 SH1106
reset_pin: D0
address: 0x3C
nickrout
(Nick Rout)
October 26, 2020, 10:34pm
2
How is the thermocouple connected?
laca75tn
(My Home)
October 26, 2020, 11:40pm
3
I am using the info found below. The only difference is that I am using the pins specified on my code (D6, D7, and D8) instead of D0, D1, and D2 because I am using those with the ssd1306 display. Thanks for you interest in helping.
laca75tn
(My Home)
October 27, 2020, 12:24am
4
I changed my configuration as follows and now both components are working. although temperature is not correct.
spi:
miso_pin: D6
clk_pin: D5
i2c:
sda: D1
scl: D2
scan: false
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
reset_pin: D0
address: 0x3C
sensor:
- platform: max6675
name: "Temperature"
cs_pin: D8
update_interval: 30s
id: 'temperature'
1 Like
mortenx
(Mortenx)
December 12, 2023, 10:05pm
5
I have same problem, when i2c and spi enabled then can’t see the thermocouples, only the i2c sensor. if i2c disabled then thermocouples are ok
mortenx
(Mortenx)
December 13, 2023, 9:17am
7
seems like fix is:
i2c:
scan: false
nickrout
(Nick Rout)
December 13, 2023, 9:19am
8
Dunno, you’ll have to compare his settings.