TTGO ESP32, OLED, & Battery

Anything not related to STM32
Post Reply
User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

TTGO ESP32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 2:51 pm

I bought one of these. It has a label TTGO and has a holder for a 18650 battery on the back and OLED.

Image

However I'm not sure which display chip it uses. Just curious in case someone knows right off? I'm thinking ssd1306 as a possibility. If nothing else I'll load those drivers and see if it works. What others might it be?

Also not sure what board to select. I may have to dig around since I'm new to the WROOM-32 modules.

Michael

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO STM32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 3:25 pm

RIght now I'm looking through Roger's videos and working through that first to get a basic sketch going.

Michael

User avatar
Rick Kimball
Posts: 1014
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: TTGO STM32, OLED, & Battery

Post by Rick Kimball » Wed Sep 06, 2017 3:37 pm

Isn't that an esp32 not a stm32?
-rick

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO STM32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 3:50 pm

My bad. Yes. It's ESP32.

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO ESP32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 5:20 pm

I was able to get it all connected and running a blink sketch on it. Now to try the display drivers.

Michael

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO ESP32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 7:02 pm

This will take some time. Not sure how the display is connected. Poke and hope I guess.

Michael

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO ESP32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 7:38 pm

Well I found a site that had this board. I had to use Google translation. But at least found a pinout diagram that showed what I needed. If this board works out it will be pretty nice since it has a battery holder on the back side. Also a switch to turn off the display if you don't need it.

zmemw16
Posts: 1422
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: TTGO ESP32, OLED, & Battery

Post by zmemw16 » Wed Sep 06, 2017 9:23 pm

a link if you please :)
it could also be spi or i2c as well
ssd1306? isn't there a sh11xx or similar.
browse the adafruit github repository, it got a few display types listed :D
stephen

quick aliexpress - they all seem to use the same photos & blurb, overview link is for esp32 itself.

User avatar
mrmonteith
Posts: 112
Joined: Wed Aug 26, 2015 3:11 pm
Location: Greenville, North Carolina
Contact:

Re: TTGO ESP32, OLED, & Battery

Post by mrmonteith » Wed Sep 06, 2017 9:37 pm

https://de.aliexpress.com/store/product ... 2878neRVWq

It was I2C and using the SSD1306 drivers worked. There is a 1106. When I installed the SSD1306 driver library it contains both.

It showed on pinout diagram which pin was SDA and SCL.

Michael

Spiessa
Posts: 6
Joined: Sat Jul 11, 2015 9:42 pm

Re: TTGO ESP32, OLED, & Battery

Post by Spiessa » Tue Oct 24, 2017 6:00 am

Unfortunately, your link does not work anymore. Which pins were used for SDA and SCL?

Andreas

Post Reply