Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
M

Martin Harizanov

@Martin Harizanov
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..
    M Martin Harizanov

    Folks,

    I'd like to share a project I've been working on recently, an ESP32 based IoT gateway/control hub with TFT, touch and more:

    Features
    Powered by the popular ESP32 SoC
    ILI9341 based 2.4″ TFT with resistive touch, PWM dimming control
    Light sensor (LDR)
    433Mhz RFM69 ISM radio
    One WS2812B RGB LED (Neopixel)
    Piezo buzzer for audible feedback
    HTU21D/SHT21 temperature/humidity sensor
    DS1338 real-time clock with battery backup
    Four multi-purpose buttons
    Option for ATSHA204 crypto authentication device

    Front:
    alt text

    Back:
    alt text

    3D printable enclosure:
    alt text

    The project was designed to be compatible with LittlevGL, the free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects, and low memory footprint.

    As an example, I have created a MQTT Christmas lights controller, Arduino example code available on Github
    alt text

    More details, schematic and code: TFT32

    My Project

  • ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..
    M Martin Harizanov

    @nca78 I am loving LittlevGL; it makes touch enable GUI development so much easier..

    My Project

  • ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..
    M Martin Harizanov

    @nca78 said in ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..:

    XPT2046

    I don't use the XPT2046 or any external ICs , the ESP32 handles it. This approach "costs" 4 pins, but I wanted to keep the BOM smaller. Also, I had concerns about sharing the HSPI with XPT2046, as I use DMA and double video buffer in my projects, I wasn't sure that would work well. The VSPI is dedicated for RFM69, maybe it can be shared with XPT2046 without issues. I guess this is something to experiment with in the following PCB revision

    My Project

  • ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..
    M Martin Harizanov

    @nca78 said in ESP32 based IoT gateway/control hub with TFT, touch, RFM69 and more..:

    Bodmer TFT eSPI

    Bodmer TFT eSPI is just a normal SPI driver, well maybe optimized a bit. The key to speed (IMHO) is to use double frame buffer and DMA for the SPI, that leaves the CPU free to process the next frame while the hardware does the SPI transfer. I am not aware of such TFT library for Arduino.

    My Project
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular