firmware icon indicating copy to clipboard operation
firmware copied to clipboard

T-Embed front Panel.

Open kosmostrater opened this issue 1 year ago • 11 comments

I saw there was now a T-Embed on the webflash. I gave it a try and it loaded fine.

The issue is its not mounting the SDCARD. log shows

[361404][W][sd_diskio.cpp:174] sdCommand(): no token received [361510][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [361516][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [361522][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work

"CC1101_Pins": { "sck": 38, "miso": 40, "mosi": 41, "cs": 43, "io0": 44, "io2": -1 }, "NRF24_Pins": { "sck": 38, "miso": 40, "mosi": 41, "cs": 43, "io0": 44 }, "SDCard_Pins": { "sck": 38, "miso": 40, "mosi": 41, "cs": 39, "io0": -1

SCK should be 40 MISO should be 38 According to the factor example from there website that does mount the SDcard

T-Embed isn't in the boardlist yet in Bruce-Main or I would change it and recompile and see if it fixed it.

Thx Kosmo

kosmostrater avatar May 05 '25 14:05 kosmostrater

I fixed it in the Beta Version, can you test it?

bmorcelli avatar May 05 '25 14:05 bmorcelli

I should have tried that first , my bad. yes it works. Next step is to connect my NRF24 and CC1101 to it :)

kosmostrater avatar May 05 '25 14:05 kosmostrater

In the boards > lilygo-t-embed-cc1101 pins_ardunio.h

Line 150 #else // pins_arduino.h for T-Embed NON CC1101

Where do you set the variable to compile the NON CC1101 it as apposed to the T-Embed C1101 board?

Kosmo

kosmostrater avatar May 05 '25 14:05 kosmostrater

how about RgB LED?? have you succed to fix it?? coz on lilygo reference RGD_LED_DI 42 LED count 7

igniskarya avatar May 06 '25 19:05 igniskarya

Im still looking on how to compile for the non-cc1101 version. but in the pins in _ardunio.h under NON CC1101 look correct

// RGB LED #define HAS_RGB_LED #define RGB_LED 42 #define RGB_LED_CLK 45 #define LED_TYPE APA102 #define LED_ORDER RGB #define LED_TYPE_IS_RGBW 0 #define LED_COUNT 8

But yea nothing shows on the LED's like when you load the factory test SW from Lilygo

But there isnt really a menu that controls them either , that Ive found.

kosmostrater avatar May 06 '25 19:05 kosmostrater

the difference betwwn lilygo T embed CC1101 using ws2812 RGB....it will use the FastLED library, meanwhile for T embed non CC101 using APA102 RGB LED , refer to T embed, it has to use APA102.h (library)...is it right??

igniskarya avatar May 06 '25 23:05 igniskarya

FastLed can handle this APA102.. and was set to work though.. maybe there's something wrong

https://github.com/pr3y/Bruce/blob/e1fe8c7d6e95ab08989f2bb64aafd01254dfb231/boards/lilygo-t-embed-cc1101/pins_arduino.h#L280

bmorcelli avatar May 07 '25 01:05 bmorcelli

@bmorcelli ..on pin arduino.h for APA102 LED_ORDER RGB, meanwhile from some references :

"Define the color order (usually BGR for APA102): #define COLOR_ORDER BGR. "..

how about this??

igniskarya avatar May 09 '25 10:05 igniskarya

I don't have this device to test, so of you could build it locally and find out if these fixes work.. feel free to show us the solution and open a PR with the fixes 😉

bmorcelli avatar May 09 '25 10:05 bmorcelli

alright then.. I'll try

igniskarya avatar May 09 '25 10:05 igniskarya

duplicated https://github.com/pr3y/Bruce/issues/1132

bmorcelli avatar May 26 '25 11:05 bmorcelli