u/JuggernautHappy99

Is it possible to run ESP32 off of one of those phone chargers that plug into 12V out in a vehicle?
▲ 2 r/esp32

Is it possible to run ESP32 off of one of those phone chargers that plug into 12V out in a vehicle?

I'd like to run my digital dashboard without hard wiring it somewhere in the car or messing around with diy buck converters so I'm hoping I can run it off of one of these:

https://preview.redd.it/080qpa5x6ckh1.png?width=481&format=png&auto=webp&s=0d2b2b5bc06d70bfe43939c28c7db03a3f51d6d8

Doesn't have to be this one in particular, this is just a reference image.

reddit.com
u/JuggernautHappy99 — 1 day ago
▲ 0 r/esp32

What is "user_data" in ui_helpers.c and how do I use it?

Is it like an array of user data? Is it more abstract term, as in I can rename it to whatever I want and have 'struct_lv_anim_t' do something somewhere with it? Where do I initiate it? How do I use it? Do I replace it with some sensor readouts or something?

Edit: there's also maybe a dozen other functions using the same thing, down to line 300 or something like that.

u/JuggernautHappy99 — 1 month ago
▲ 2 r/esp32

ESP32-32E and ST7796 - Getting LCD to at least just light up.

Followup to my prevoius post.

Thanks to one of the folks on this sub (I don't know if they want to be named or not), I managed to at least turn on the LCD on Cheap Yellow Display.

Lines I had to change in TFT_eSPI library (2.5.43), User_Setup.h were:

- defining driver as ST7796
- TFT_MISO 12
- TFT_MOSI 13
- TFT_SCLK 14
- TFT_CS 15
- TFT_DC 2
- TFT_RST 4
- TFT_BL 27
- TOUCH_CS 33
- defining SPI_FREQUENCY 10000000

In your code's setup function, after "tft.begin ();" (to get background light to work):
- pinMode(TFT_BL, OUTPUT);
- digitalWrite(TFT_BL, HIGH);

----------------------------------------------------------------------------------------------------

Software setup:
- Arduino IDE 2.3.6
- TFT_eSPI 2.5.43 library
- lvgl 8.3.11 with this lv_conf.h file (to test out lvgl example, kind of crazy lvgl libraries come without lv_conf.h).

I think it should be possible to use more up to date software and lvgl library but I'm working on a project that I started on this software and I want to finish it on same stuff without breaking anything.

I still have A LOT to do when it comes to running any kind of custom UI, but, for now I can at least look at label displaying "Hello Ardino and LVGL!", yes, Arduino is misspelled on the label.

reddit.com
u/JuggernautHappy99 — 1 month ago
▲ 2 r/esp32

Trying here because LVGL sub seems to be dead. Where do certain parts of LVGL code go in Arduino IDE?

Hi guys I'm just toying around with some project and I'm trying to get something to show up on display. So far I'm following tutorial on lvgl site but I have no idea where individual parts in "Initialization" part go. In what functions? Setup? Main? Their own functions? And if they go in their own functions, where would those functions go, before or after setup function?

Where does lv_init go?

How and where do I initialize my drivers?

How and where do I register the display? Where do all the parts of the code go? In setup? In main? I have no idea.

How and where do I call lv_tick_inc()?

How and where do I call lv_timer_handler()?

I made some basic UI in Squareline studio that I just want to show up on display.

Hardware specifications:

ESP32-32E N4

HSD-9190J-C5 (display and chip are on the same board, e-bay link)

Software specifications:

Arduino IDE 2.3.6
Libraries
- TFT_eSPI 2.5.43
- lvgl 9.5.0
Squareline studio 1.5.1.
- lvgl 8.3.11.

What do I do?

Example of my test code in the comments.

reddit.com
u/JuggernautHappy99 — 1 month ago
▲ 1 r/esp32

ESP32-32E N4 digital dashboard for cars.

Hi guys! I'm trying to use ESP32-32E with 4MB of flash to connect to knockoff ELM327 device via classic Bluetooth, and I did that, now I want to add LVGL to it to display on the 4 inch screen. I've made a primitive version with temperature readout only and I just want it to show up on screen for starters, I'll add functionality later, I just want it to display something other than printouts in serial monitor.

I've solved the partitioning issues thanks to this: https://www.reddit.com/r/esp32/comments/1tnhlvy/comment/oo790nf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button comment (apparently the function to hide link behind text doesn't work on this sub) and I have sufficient memory.

Software I'm using is Arduino SDK 2.3.6, (FireBeetle 2 ESP32-E board) and Squareline studio 1.5.1, LVGL 8.3.11.

I've opened one of the examples within SDK and copy pasted everything related to lvgl, serial debugging, display flushing, display initializing, except touch function which I'll add later, I just need it to show something.

Is there a way to somehow upload my code somewhere for review?

reddit.com
u/JuggernautHappy99 — 3 months ago
▲ 1 r/esp32

Hi guys! I'm working on a little bluetooth project and I want to use bluetoothserial.h and classic bluetooth. Right now I'm using VIEWE UEDX80480070E-WB-A V1.1 with ESP32-S3-WROOM-1 chip which only supports BLE and Bluetooth 5.

Makes sense I'm constantly getting "Compilation error: 'BluetoothSerial' does not name a type" error message.

Basically what I need is in the title, I need a 7 inch display with a chip that will support classic bluetooth, not BLE, not bluetooth 5, just classic bluetooth.

I'm connecting it to a knockoff ELM327 (which works, I've connected it to ESP32-WROVER-E before) and using Arduino IDE and Squareline Studio for display design if that matters.

reddit.com
u/JuggernautHappy99 — 4 months ago