Giter VIP home page Giter VIP logo

t-embed's People

Contributors

cydergoth avatar lbuque avatar lewisxhe avatar lilygo avatar mmmicky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

t-embed's Issues

Q: OTG host with power

I'm trying to use the T-Embed with a USB device, using OTG.

In order to power it I have a USB OTG/PD cable which has a Y connector breaking out a USB-C port for power and a USB-A port for OTG.

Unfortunately when using this cable the T-Embed will not power up. Is there a suggested way to make this configuration work? I don't think I can use a battery as the battery voltage is 3.7V and the USB device needs 5v.

The cable is similar to this one: https://www.amazon.com/Adapter-Charging-Compatible-XL%EF%BC%8CGoogle-Chromecast/dp/B08C5FWQND

Is it possible to externally charge battery while connected?

I would like to use the same 3.7V Li-ion battery to power the T-Embed and another microcontroller with its own charging circuit. I want to make sure that when charging the battery from the second microcontroller I will not damage the T-Embed. I imagine this will work okay since typically the charging voltage should be around the max battery voltage (4.2V) but I cannot find any information on the charging IC mentioned in the schematics (TP4065B). Can you confirm that this is possible?

SD dont work.

Hello,
i compiled the factory example. Everything works except for the sd card.
I tested 3 SD with fat32. I tested with PlatfromIO and Arduino IDE.
What am I doing wrong. any solution?

Is there a 'boot' button on the T-Embed board as I need to reset

On the t-display and t-display touch boards there is a boot GPIO-0 button that can be used to reset the board in the event of a fail, by holding the boot button down before plugging the USB cable in, then attach the Usb cable, then release and upload the code etc. This procedure is described in the TIPS section of the relevant GitHub pages.

How does one do this on the T-Embed board please? Mine is currently u/s, I can't use it at all and I cannot get any sketch to upload!

Thanks

Any example code?

Hi,

great design.

are you planning to add example code (like what you show on the promo?

unable to compile firmware

using all recommended methods the firmware file will not compile.
Make Error: Unable to (re)create the private pkgRedirects directory:
please provide a working .bin file for the factory image or a .ino file.

Unable to make microphones work - ES7210

Hallo,

I love the t-embed board and am able to use all the components successfully in my code. However I have been struggling for weeks to make the microphones work. Can you please provide a simple example just outputting the microphones data to a serial plotter/ console.
I am struggling to get the ES7210 properly initialized and using the MCKL in the I2S initialization.
Please help, I spent so much time on it and can't get it to work.
The included mic example only outputs "0".
Thank you.

Best,
Tom

User_Setup_Select.h contents for T-Embed show selected device at a resolution of 240*240

I own three LilyGo boards, a T-Display, a T-Display Touch and a T-Embed and I am having trouble using the TFT_eSPI library when switching to the T-Embed device.

In the User_Setup_Select.h file which is I believe, the file responsible for determining the correct device configuration for the attached board. The one selected in this file in the Xinyuan-LilyGo/T-Embed git hub respiratory is line 52;

#include <User_Setups/Setup24_ST7789.h> // Setup file for DSTIKE/ESP32/ESP8266 configured for ST7789 240 x 240
However, the description in the file refers to a display resolution of 240*240, which of course is not correct for the T-Embed board as this has a resolution of 320 x 170.

So this leads me to ask is this the correct configuration file for this device, can you confirm please and explain why the description resolution states 240 x 240.

ta

Can we get a separate user_select file for T_embed in tft_eSPI

In latest TFT_eSPI library by Bodmer, we got setup206 file for T-Display-S3 and if i am not wrong, i guess @mmMicky contributed on it too. Nevertheless it works great for T-Display-S3 board now. Can we get a separate file for lilygo T-Embed also? This would solve big problem for users who are using both boards. I have tried tft_eSPI library included in this repository and have tried everything what i could do but display of my T-Embed is not working. I was able to run some sketches from Volos Projects on it before but not anymore even if with current repository's tft_eSPI library.

Unable to find correct settings for TFT_eSPI for this T-Embed display (SOLVED)

I have loaded the files into my Library as per this pages instructions (I am using a portable IDE so as to not mess up my other displays that use same library), but the User_Setup.h file appears to be incorrect for this display's SPI interface. I have tried many adjustments but still unable to get anything to display. At most I have only gotten the backlight to turn on.

What is the correct User_Setup.h for this T-Embed display?

Schematics?

Will the schematics for T-Embed get available?

Device is constantly disconnecting from USB

How is it possible to reset the device so it will be possible to upload a program?
on the T-Display S3 you have to press Boot and Reset at the same time and then leave the reset button. How it can be done in this device?

Thanks,

WiFiClientSecure.h and DNS Failed

Hi Lewis, ( or any knowledgeable guy ... )
Ive been trying to send hhtp request to web services for ages, with no success...
The issue boils down to the following
doing

#include <Arduino.h>
#include <WiFi.h>
#include <WiFiClientSecure.h>
void try_connect() {
WiFiClientSecure httpClient;
if (!httpClient.connect("https://www.google.com", 8443)) {
Serial.println("Connection failed");
return;
}_

I systematically get " hostByName(): DNS Failed for https://www.google.com"

what's going on ??
any help appreciated a lot
Thank,
JeanPaul

I am using VsCode/platformIO,
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html
PACKAGES:

  • framework-arduinoespressif32 @ 3.20007.0 (2.0.7)

PS if doing WiFiClient ( not the "secure one "), and http ( not "s" ) to www.google 8080 I get the same error.
of course nothing is wrong with my network or router , since I cam connect with my PC!

Colour rendering backgrounds, text or drawn objects with LilyGo supplied TFT_eSPI library is not correct

OK, I have a strange issue and am wondering if anyone can point me in the right direction please.

I am using the LilyGo T-Embed ESP32S3 device which is working almost as I wish, however when using the supplied TFT_eSPI library (the version of which which LilyGo advise MUST be used), the colors displayed and rendered either as backgrounds, text or drawn objects are all incorrect.

For example, the code:

tft.fillScreen(TFT_RED);

actually fills the screen with blue!! and this code...

tft.setTextColor(TFT_YELLOW, TFT_BLACK);
tft.drawString("testing yellow", 10, 100, 4);

... renders teal coloured text and NOT yellow!!

Now, as both the T-Display and Touch versions each use RGB565 for colours which render fine, does the T-Embed board use a different colour format?

IMG_0948

The .ino file is missing

Inside the example folder for the factory folder sketch, the .ino file is missing and am not able to load the sketch on Arduino IDE to burn it on the T-Embed.

please add firmware folder

my T-Embed does not show any display activitiy. So I need to set it to shipping firmware.bin state, in order to check if there is a display hardware failure. I' dont know what I'm doing wrongly (have correct SPi lib installed) but the display remains black.
Original firmware is only chance to check if system is okay.

Thanks for extending the branch with firmware.bin.
regards, Martin

PS. T-Display 3 and T-HMI work both great, but I failed with T-embed so far.

PWR_ON pin function is not documented

It turns out to be quite critical to know about when trying to write your own application from scratch!

#include "driver/gpio.h"

#define PIN_POWER_ON          46

void app_main(void)
{
    gpio_config_t pw_gpio_config = {
        .mode = GPIO_MODE_OUTPUT,
        .pin_bit_mask = 1ULL << PIN_POWER_ON
    };
    ESP_ERROR_CHECK(gpio_config(&pw_gpio_config));
    gpio_set_level(PIN_POWER_ON, 1);  // <--- LCD won't start without this!

 ....
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.