Tasmota: i2c LCD display for weather data

Created on 1 Apr 2017  路  12Comments  路  Source: arendst/Tasmota

I added a function to display the temperature (humidity and pressure depending on the connected sensors) using the display i2c LCD 16x2 characters.

All add-ons to the code are labeled USE_I2CLCD
I used the library: LiquidCrystal_I2C.h

I2c display address: #define I2CLCDADDR 0x3f

Maybe someone will use it, and maybe Theo will add to the project 馃槈

Source code Sonoff-Tasmota-master-4.1.1-I2CLCD.zip

In the configure module, please specify the pins to which the buses are connected: SDA and SLC.

Tasmota-master-4.1.1-I2CLCD

Tasmota-master-4.1.1-I2CLCD

Tasmota-master-4.1.1-I2CLCD

enhancement

Most helpful comment

I'll look into it...

All 12 comments

how much does enabling this add to the flash/ram size of the image?

@davidelang
RAM ~1KB

Program: <2KB

Now I have:

Program size 433kB

Free program space 504kB

Free memory 27kB

@davidelang
Exactly: 430809 - 429161 = 1648

Maybe @arendst added this function optionally "quoted by default"? 馃槈
// #define USE_I2CLCD

I'll look into it...

If you are thinking about it, Theo, it would be good if the code was flexible enough to support other displays. Little OLEDS like this are very useful and small enough to fit in the top of a Sonoff case. There again, I realise how tight space is...
image

@smadds 馃檪
I have scheduled for delivery TODAY by DHL this 馃槈 128x64 i2c, but with this display is more to do. Ex. character set (fonts) and pictograms.
I try this by weekend 馃槈

It's a good idea to extent this nice tool with a small display but make it universal to implement only a driver and let the main controller, openHAB etc, format the information to display. Then it is possible to display information of different sources. Also using of 2 or 4 lines is possible.

@smadds @decologne
I spend lot of time for oled and other oled library. Don't good work with Tasmota. Always I have some problems with glitches on display. Displays work good with other code.
For Tasmota only char LCD works good 馃槈

Oled I implemented remotely on other device. I collect data via MQTT from Tasmota and displaying this. Work in progress 馃槈

@MacWyznawca Have you made any progress on the OLED support? Or is it best to go with a second controller, picking up MQTT? Thanks

??

Hi,

Now available the experimental display branch. Closing this issue. Please reopen if needed. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

esp32x picture esp32x  路  3Comments

abzman picture abzman  路  3Comments

jensuffhaus picture jensuffhaus  路  3Comments

JoergZ2 picture JoergZ2  路  3Comments

ximonline picture ximonline  路  3Comments