I purchased 4 Waveshare 2.9inch e-Paper Modules V2.
I have tested all 4 screens and I can not get any of them to display any information.
I first tried the pin setup on the esphome website. After reading posts in the forum I changed the pin out on a wemos d1 mini as follows.
What am I missing
#Pins Setup
# CLK D0
# RST D5
# DC D6
# BUSY D7
# VCC 3V3
# DIN D1
# CS D2
# GND G
This is the yaml code in esphome.
esphome:
name: test2
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret esphome_wifi_ssid
password: !secret esphome_wifi_pass
manual_ip:
static_ip: 192.168.20.109
gateway: 192.168.20.1
subnet: 255.255.255.0
dns1: 192.168.1.1
# Enable logging
logger:
level: debug
# Enable Home Assistant API
api:
reboot_timeout: 60min
ota:
password: !secret esphome_ota_pass
time:
- platform: sntp
id: esptime
captive_portal:
font:
- file: 'ComicNeue-Regular.ttf'
id: comic
size: 20
spi:
clk_pin: D0
mosi_pin: D1
display:
- platform: waveshare_epaper
cs_pin: D2
dc_pin: D6
busy_pin: D7
reset_pin: D5
model: 2.90in
full_update_every: 30
rotation: 90
lambda: |-
it.print(0, 0, id(comic), "Hello World!");
it.print(10, 0, id(comic), "New String!");
esphome log in partial is…
[14:02:45][C][spi:081]: SPI bus:
[14:02:45][C][spi:082]: CLK Pin: GPIO16 (Mode: OUTPUT)
[14:02:45][C][spi:084]: MOSI Pin: GPIO5 (Mode: OUTPUT)
[14:02:45][C][spi:085]: Using HW SPI: NO
[14:02:45][C][logger:193]: Logger:
[14:02:45][C][logger:194]: Level: DEBUG
[14:02:45][C][logger:195]: Log Baud Rate: 115200
[14:02:45][C][logger:196]: Hardware UART: UART0
[14:02:45][C][waveshare_epaper:220]: Waveshare E-Paper
[14:02:45][C][waveshare_epaper:220]: Rotations: 90 °
[14:02:45][C][waveshare_epaper:220]: Dimensions: 296px x 128px
[14:02:45][C][waveshare_epaper:244]: Model: 2.9in
[14:02:45][C][waveshare_epaper:250]: Full Update Every: 30
[14:02:45][C][waveshare_epaper:251]: Reset Pin: GPIO14 (Mode: OUTPUT)
[14:02:45][C][waveshare_epaper:252]: DC Pin: GPIO12 (Mode: OUTPUT)
[14:02:45][C][waveshare_epaper:253]: Busy Pin: GPIO13 (Mode: INPUT)
[14:02:45][C][waveshare_epaper:254]: Update Interval: 1.0s
[14:02:45][C][captive_portal:148]: Captive Portal:
[14:02:45][C][ota:029]: Over-The-Air Updates:
[14:02:45][C][ota:030]: Address: 192.168.20.109:8266
[14:02:45][C][ota:032]: Using Password.
[14:02:45][C][api:135]: API Server:
[14:02:45][C][api:136]: Address: 192.168.20.109:6053
[14:02:45][C][api:140]: Using noise encryption: NO
[14:02:45][C][sntp:044]: SNTP Time:
[14:02:45][C][sntp:045]: Server 1: '0.pool.ntp.org'
[14:02:45][C][sntp:046]: Server 2: '1.pool.ntp.org'
[14:02:45][C][sntp:047]: Server 3: '2.pool.ntp.org'
[14:02:45][C][sntp:048]: Timezone: 'MST7'