Comments (17)
But WHY are the pins labeled for i2c, if the display only supports SPI ???
from weactstudio.epapermodule.
Thanks for the wiring diagram! By the way what tool do you @MarAlMe use to make this pretty diagram above, it looks amazing?
from weactstudio.epapermodule.
Thank you @OperatorB, its just Gimp 😎
from weactstudio.epapermodule.
Yes, it only support spi
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice.
It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
from weactstudio.epapermodule.
I need it for ESP8266 (sry for hijacking this thread)
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice. It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
Did you get it working?
Im trying to get working with ESPHOME. I tried using SDA as MOSI and SCL as CLK, but no joy.
spi:
clk_pin: GPIO016
mosi_pin: GPIO017
display:
- platform: waveshare_epaper
cs_pin: GPIO018
dc_pin: GPIO021
busy_pin: GPIO034
reset_pin: GPIO033
model: 2.13in-ttgo-b73
full_update_every: 2
lambda: |-
it.print(0, 0, id(roboto), "Hello World!");
from weactstudio.epapermodule.
I think:
SDA = data = MOSI
SCL = clock = SCK
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice. It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
Did you get it working?
Im trying to get working with ESPHOME. I tried using SDA as MOSI and SCL as CLK, but no joy.
spi: clk_pin: GPIO016 mosi_pin: GPIO017 display: - platform: waveshare_epaper cs_pin: GPIO018 dc_pin: GPIO021 busy_pin: GPIO034 reset_pin: GPIO033 model: 2.13in-ttgo-b73 full_update_every: 2 lambda: |- it.print(0, 0, id(roboto), "Hello World!");
I doubt this will work... while the the display I think at base is the same (gooddisplay) things are different... did you get the display working with the esp32 example? I have a similar issue see #2
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice. It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
Did you get it working?
Im trying to get working with ESPHOME. I tried using SDA as MOSI and SCL as CLK, but no joy.
spi: clk_pin: GPIO016 mosi_pin: GPIO017 display: - platform: waveshare_epaper cs_pin: GPIO018 dc_pin: GPIO021 busy_pin: GPIO034 reset_pin: GPIO033 model: 2.13in-ttgo-b73 full_update_every: 2 lambda: |- it.print(0, 0, id(roboto), "Hello World!");
also I suggest to try as model 2.13in-ttgo-dke this seems to match the number that weact is using.
you can check the example folder and the lib for the exact numbers https://github.com/ZinggJM/GxEPD2
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice. It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
Did you get it working?
Im trying to get working with ESPHOME. I tried using SDA as MOSI and SCL as CLK, but no joy.spi: clk_pin: GPIO016 mosi_pin: GPIO017 display: - platform: waveshare_epaper cs_pin: GPIO018 dc_pin: GPIO021 busy_pin: GPIO034 reset_pin: GPIO033 model: 2.13in-ttgo-b73 full_update_every: 2 lambda: |- it.print(0, 0, id(roboto), "Hello World!");
I doubt this will work... while the the display I think at base is the same (gooddisplay) things are different... did you get the display working with the esp32 example? I have a similar issue see #2
No Sorry i didnt. It showed my hello world, but then started flashing and showing heaps of noise. So i guess my pinout is correct, but this model didnt work in ESPHOME
from weactstudio.epapermodule.
Yes, a wiring diagram would be nice. It's easy to find out yourself, but faster if a diagram was provided for both ESP32 and Arduino Uno.
Did you get it working?
Im trying to get working with ESPHOME. I tried using SDA as MOSI and SCL as CLK, but no joy.spi: clk_pin: GPIO016 mosi_pin: GPIO017 display: - platform: waveshare_epaper cs_pin: GPIO018 dc_pin: GPIO021 busy_pin: GPIO034 reset_pin: GPIO033 model: 2.13in-ttgo-b73 full_update_every: 2 lambda: |- it.print(0, 0, id(roboto), "Hello World!");
also I suggest to try as model 2.13in-ttgo-dke this seems to match the number that weact is using.
you can check the example folder and the lib for the exact numbers https://github.com/ZinggJM/GxEPD2
Im tried all the models in ESPhome without any luck. But ill try again.
from weactstudio.epapermodule.
No Sorry i didnt. It showed my hello world, but then started flashing and showing heaps of noise. So i guess my pinout is correct, but this model didnt work in ESPHOME
indeed that indicates the screen is working. a link to the example you tried and the pinout you used will be useful. also to double check you are using bw only model.
i am in the same boat as you but mine does not even turn out
from weactstudio.epapermodule.
the pinout from the esp32 example is
|epd | esp32|
VCC VCC
GND GND
SDA(MOSI) 23
SCL(SCK) 18
CS 5
D/C 0
RES 2
BUSY 15
from weactstudio.epapermodule.
just to update with the above connection and following esphome i got the 2.13 inch bw working
substitutions:
devicename: boron
update: 900s
esphome:
name: $devicename
platform: ESP32
board: nodemcu-32s
wifi:
ssid: !secret wifi
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${devicename} Fallback Hotspot
password: "MLO4IA0MZb10"
captive_portal:
# Enable logging
#logger:
# Enable Home Assistant API
#api:
# password: !secret ota_password
ota:
password: !secret ota_password
text_sensor:
- platform: wifi_info
ip_address:
id: my_ip
name: "ip"
internal: true
sensor:
- platform: wifi_signal
name: "wifi signal"
id: my_rssi
internal: true
update_interval: ${update}
spi:
id: bus_a
clk_pin: GPIO18
mosi_pin: GPIO23
miso_pin: GPIO19
font:
- file: "droid.ttf"
id: my_font
size: 10
display:
- platform: waveshare_epaper
spi_id: bus_a
model: "2.13in-ttgo-dke"
reset_pin: GPIO02
cs_pin: GPIO05
dc_pin: GPIO00
busy_pin: GPIO15
rotation: 90
full_update_every: 60
update_interval: 120s
lambda: |-
it.printf(0, 10, id(my_font), "ip: %s",id(my_ip).state.c_str());
it.printf(0, 25, id(my_font), "rssi: %.2f",id(my_rssi).state);
it.printf(0, 40, id(my_font), "Hello world!");
from weactstudio.epapermodule.
Does it work with raspberry pi? I could not make it work with waveshare 2.13 display python code. Can you please help?
from weactstudio.epapermodule.
I made an wiring diagram for an esp8266 (wemos d1 mini v4) and an esp32-s2 (wemos d1 mini). The VBUS is 5V.
// ESP8266 CS=15,SCL(SCK)=14,SDA(MOSI)=13,BUSY=16,RST=5,DC=4
// ESP32-S2 CS=34,SCL(SCK)=36,SDA(MOSI)=35,BUSY=3,RST=9,DC=38
from weactstudio.epapermodule.
Related Issues (14)
- How to use it in a python project ? HOT 4
- Where are the ESP Source files? Every other board has included source files, exept the ESP Boards?
- Current consumption in hybernate mode HOT 5
- Provide 3D STEP files HOT 1
- Info about working MCUs HOT 3
- failure to run the esp32 example HOT 2
- The dimensions of the board from the front HOT 2
- Example with bitmaps HOT 1
- SPI - 4 lines / 3 lines HOT 1
- Not Working on PI Zero w- Pwnagotchi Project HOT 1
- Partial update for 3 colors displays HOT 1
- WeActStudio 2.13" 3C doesn't refesh when the SDA(MOSI) and SCLSCK) pins are shared with a SD card
- Board Shape documentation lacks mounting hole diameter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weactstudio.epapermodule.