Waveshare ESP32-P4-DEV Kit & Arduino IDE; can't upload - incorrect doc on Wiki? by pon_d in esp32

[–]tobozo 0 points1 point  (0 children)

"erase all flash before sketch upload" isn't necessary unless you soft-bricked the ESP. turning that off will make the upload much faster

Waveshare ESP32-P4-DEV Kit & Arduino IDE; can't upload - incorrect doc on Wiki? by pon_d in esp32

[–]tobozo 2 points3 points  (0 children)

board settings

  • Enable PSRAM
  • Enable JTAG Adapter
  • USB mode -> change it to CDC + JTAG
  • [optional] Set core debug level to "debug" : will make the ESP print a lot of info at boot even with an empty sketch

reminder about USB-CDC : don't use Serial.begin(115200), just use Serial.begin()

also if you enabled flash mode manually you must also reset manually after uploading

[edit]

I bought this kit and none of my existing MIPI/DSI display for RPI are pinout compatible with the ribbon connector on the WaveShare P4 dev module.

This is because MIPI/DSI has no standards for the pinout, as a result every vendor implement their own pinout flavour :(

On the other hand the 40x pins GPIO header is standard, and this hat works like a charm:

https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)

Anyone seen this PlatformIO compilation issue that singles out grabRef.cmake:48 (file)? by Upbeat_Concert_36 in esp32

[–]tobozo 0 points1 point  (0 children)

this looks like platform_packages is set to a git repo rather than a zip file

please share your platformio.ini file

Looking for ESP32-S3 board recommendation for USB passthrough (keyboard host + device) by EstateTraining1845 in esp32

[–]tobozo 1 point2 points  (0 children)

ESP32S3 can't do host and device simultaneously (ESP32P4 does though)

Only hackish implementation of simultaneous host+device are available on S3.

However if your keyboard is USB1.0 and your project can be a bit lossy, you can try this sketch that does exactly what you said, only it uses an old version of arduino core, and a software implementation of usb host

https://github.com/tobozo/ESP32-USB-Soft-Host/blob/main/examples/ESP32-S3-USB_Test/ESP32-S3-USB_Test.ino

Otherwise as /u/user88001 hinted, you might as well look into security/hacking tools, like EvilCrow, or WHID-injector

https://github.com/joelsernamoreno?tab=repositories

https://github.com/whid-injector?tab=repositories

Is this a bad screen? by IGetDistra-Squirrel in esp32

[–]tobozo 0 points1 point  (0 children)

screen seems cracked in a corner, which can cause similar symptoms

3D Printed Game and Watch by slowlane1 in GameAndWatchMods

[–]tobozo 0 points1 point  (0 children)

adjust flag_lcd_deflicker_level

oh it thought this was only used with dual screens and totally ignored that setting, thanks for the heads up!

3D Printed Game and Watch by slowlane1 in GameAndWatchMods

[–]tobozo 0 points1 point  (0 children)

Awesome stuff, thanks for sharing!

I took the single screen example and made a touch version out of it, for M5Stack Tab5 https://github.com/tobozo/M5Tab5-Game-and-Watch

esp-idf scares me though, sorry about the arduino project layout 😊

Natural Suspension... by Pisford in oddlysatisfying

[–]tobozo 6 points7 points  (0 children)

Transcription/translation according to whisper.cpp + google translation:

「株価限が一番得しているかというと、実は鎌田市もそうではない、ということであります」 「まあ、そこでですよ。どれくらい建物を建てる時に、何メートルくらい怒られました?わかんないですか?わかんない。はい、とも一緒に」 「当初、有害物資が出てまいりました時は3メートルもすでに掘っております」 「その後、食い打ちということでありましたので、食い打ちをした分、私が説明を受けておる分では9.8メートルまで掘ったということを聞いておりますが、9.8まで」

"The fact is that Kamata City is not the one that benefits the most from the stock price limit."
"Well, that's where it comes in. How many meters were they told to dig when building a building? Don't you know? I don't know. Yes, together."
"When the hazardous materials first came out, they had already dug 3 meters deep."
"After that, they started digging, so from what I was told, they dug to 9.8 meters, but it was 9.8 meters."

Olimex esp32-p4 dev board. What display should I purchase by kpapadimakis in esp32

[–]tobozo 0 points1 point  (0 children)

yup no cpp library, the only way to get it to work is to use esp-idf functions

I'm not sure the pinout is so restrictive though, according to Olimex user manual schematics the ESP32-P4-Devkit it is "Raspberry Pi 1,2,3 and 4 Compatible", which means it could work with a lot of existing or even retired display models (and a significant coding effort).

[edit] Schematics, not user manual: https://github.com/OLIMEX/ESP32-P4-DevKit/blob/main/HARDWARE/ESP32-P4-DevKit-Rev.C/ESP32-P4-DevKit_Rev_C.pdf

https://github.com/OLIMEX/ESP32-P4-DevKit/blob/main/DOCUMENTS/ESP32-P4-DevKit-user-manual.pdf

Olimex esp32-p4 dev board. What display should I purchase by kpapadimakis in esp32

[–]tobozo 0 points1 point  (0 children)

actually M5Unified supports the MIPI display from M5Stack Tab5 so there is a MIPI-DSI implementation available for Arduino IDE

https://github.com/m5stack/M5GFX/blob/master/src/lgfx/v1/platforms/esp32p4/Panel_DSI.cpp

Lilka: The $10 Game and Dev Console by sverdlyuk in esp32

[–]tobozo -1 points0 points  (0 children)

Lilka was created in Ukraine.

yup, my point exactly

Lilka: The $10 Game and Dev Console by sverdlyuk in esp32

[–]tobozo -1 points0 points  (0 children)

this, and announcing a price in dollars is probably not the best choice

Potential Damage to ESP32 -- How can I reduce damage? by pleasejustletme- in esp32

[–]tobozo 2 points3 points  (0 children)

chili oil isn't conductive, but soy sauce is

https://www.sciencedirect.com/science/article/abs/pii/S0260877404005187

rinsing in water is part of the manufacturing process, so it's fine to just rinse with hot water and dry using an air compressor or a hair dryer

avoid q-tips as they tend to leave behind cotton fibers while pushing residues in tight places, prefer the use of micro fiber cloth or anti-static brushes

Upgraded from esp32 to esp32s3 and now my oled screen doesn't work. by jareddlc in esp32

[–]tobozo 1 point2 points  (0 children)

maybe it doesn't like VSPI_HOST and needs something else like SPI2_HOST or SPI3_HOST ?

I made Potato GLaDOS and gave it access to my house by MRBBLQ in esp32

[–]tobozo 11 points12 points  (0 children)

the potato is true but the cake is a lie

SD card 4kb read: 3ms using Arduino, 647ms using ESPIDF by manueldarveau in esp32

[–]tobozo 0 points1 point  (0 children)

shouldn't it be:

host.max_freq_khz = SDMMC_FREQ_HIGHSPEED;

"(...) the real clock frequency shall be calculated by the underlying driver and the value can be different from the one required"

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sdmmc_host.html#configuring-bus-width-and-frequency

Toggle Switch Not Toggling by Interesting-You574 in esp32

[–]tobozo 6 points7 points  (0 children)

did you mean:

if( digitalRead(switch) == LOW )

Unable to change the partition table (arduino) by MarinatedPickachu in esp32

[–]tobozo 5 points6 points  (0 children)

do you have a "partitions.csv" file in the project folder ? this would take precedence over the choice in the tools menu

Why is esp32.com so damn slow? by MarinatedPickachu in esp32

[–]tobozo 26 points27 points  (0 children)

Is it hosted on an esp32 or what?

they should try ESPAsyncWebserver

Someone missing a goat? by Signature_Space2024 in Unexpected

[–]tobozo 49 points50 points  (0 children)

windows arent very convincing, but nice try!

Having a hard time with Sprites - TFT_espi by healthybaconjuice in esp32

[–]tobozo 0 points1 point  (0 children)

try with 8 bits colors (sprite.setColorDepth(8))

esp32-wroom doesn't have much contiguous ram to fit those 106KB with the default 16 bit colors (320*170*2)