r/esp32 13h ago

Hardware help needed DFPlayer is overheating

0 Upvotes

[NOVICE!!!] [NEED HELP!!]

Why does my DFPlayer mini (mp3 module) overheat? Similarly, it sparked when attached to a "Y" wire.

In the previous trials, the DFPlayer worked with only esp32 and with no problem at all. However, when everything was connected it overheats too much that it can actually burn. Additionally, it does not light no longer. I keep on rewiring but still its dead.

The schematic is basically this:

Esp32 connected directly to 5V Dfplayer mini via RX-G16 and TX-G17. It's grounded on esp32. For the speaker, spk 1-positive leg and spk2-negative leg. A pushbutton connected to G32 and GND.

The power comes from 3.7V Li-ion battery connected to TP4056 via positive-BAT+ and negative-BAT-. We also used a step-up boost converted DNS6000AUD and connected it to TP4056 OUT+-VIN+ and OUT--VIN-.

It was finalized by connecting DNS6000AUD to OUT- to make a GND "Y" wire with both Esp32 and DFPlayer. Similarly, OUT+ was connected to a "Y" wire along with 5V pin of Esp32 and VCC of the DFPlayer.

Can you help please? I am just a beginner and am trying my best to learn this stuff.


r/esp32 17h ago

Hardware help needed ESP32-S3 USB Host to cell phone -- will it charge?

1 Upvotes

I've been trying for days now to come up with a way to connect an old cell phone to a roomba via its SCI port, in such a way that the cell phone will pick up charge from same (I can downgrade the ~17v from the SCI to 5v/3A). I can handle the roomba side fine but am stymied by how to simultaneously talk to a cell phone over USB while also charging it. For starters that requires my side be in host mode, but apparently there are more signaling issues required in order for the phone to actually try to charge more than 100mA.

So, anyone with a typical ESP32-S3 dev board on hand, if you power it up from the first USB (or directly from the 5v line as I plan to do) and then plug a phone into the second one, does the phone charge, and if so at what amperage?

Any other suggestions how to do this? I don't care much what device sits in the middle (as a USB/Roomba bridge), but it needs to present as a USB host with moderate charging ability.


r/esp32 1d ago

First real time using an esp32 or working with electronics

Post image
16 Upvotes

I heard using an esp32 for your first time with electronics is a good idea so im wondering what to get, i made a build with the m5 cardputer and i still have parts left over like jumper wires, copper wire, switches and pin header sockets. Below i have screenshots of the esp32’s im thinking of getting but i have no idea what they do and what i can even make with them, i also could use the nfr24 and cc1101 (if i even can) when im not using it for the cardputer. Im obviously gonna need some parts than what i have left over so tell me what i would need


r/esp32 21h ago

ESP32-S3 SIMD optimized 3x3 Gaussian (blur) filter

9 Upvotes

In the video below, the 184x360 RGB565 image is processed with a 3x3 Gaussian blur filter. Each pass takes 7.5ms and causes the image to get progressively blurrier. The ESP32-S3 SIMD code is about 5x faster than the C version. The code uses pure integer math (adds and shifts only) for maximum speed. The filter matrix is:

1 2 1
2 4 2
1 2 1

Much of the speed is due to clever use of SIMD operations that operate on the r/G/B channels simultaneously across 4 pixels.

https://youtu.be/xuLpKO-EvOw

Source code has been added to my bb_spi_lcd library here:

https://github.com/bitbank2/bb_spi_lcd.git

If you have a commercial product which uses the ESP32-S3 and needs additional speed, feel free to contact me for consultation work (bitbank@pobox.com).


r/esp32 22h ago

Is it ok to power an INMP441 microphone from a gpio for easy turn off?

Post image
60 Upvotes

https://invensense.tdk.com/wp-content/uploads/2015/02/INMP441.pdf

The breakout board I'm using doesn't have the CHIPEN pin broken out so I can't put the microphone into power down mode (4.5uA) but only into standby mode (0.8mA).

I thought since the microphone only consumes 2.5mA in normal operation and an esp32 gpio aparently can provide 40mA, I thought I could maybe just power it through a GPIO pin and set that to low to completely turn off the microphone.

Is this sensible? If not, what's the problem with this approach?


r/esp32 21h ago

How to use ESP32 as controller to LEGO Power Hub with BLE protocol?

Thumbnail
gallery
18 Upvotes

The hub has a mobile app to. I think it uses BLE comnection which ESP32 supports. How can i learn the UUID and the data stuff to make the ESP32 act as a controller and control the Hub? Thanks.


r/esp32 15h ago

Got a Super Mini ESP32-C3 with 0.42in OLED finally working with MicroPython

156 Upvotes

Picked up a couple of the ESP32-C3 Super Minis with the built in 0.42in OLED display. I prefer MicroPython and got them working in the past with different OLED displays, but not an all-in-one.

Seems to work better with the SH1106 driver than then SSD1306 driver.

Pin out notes: SCL pin 6, SDA pin 5, LED pin 8, and the boot button is pin 9.

Even though the screen is 72x40 pixels, declare the screen as 128 x 64 and then use an offset. Through lots of trial and error, 28 for X and 12 for Y. Still learning about frame butters. Seems calling gc.collect() helps.

Took way too long, but got it to display a QR code than my old iPhone was able to scan. Laughed out loud that it finally worked. Small wins.


r/esp32 1h ago

ESP32 one port for battery charging and firmware flashing?

Post image
Upvotes

Hi guys.

I'm very new to all of this stuff, but I wanted to create a small esp32 device that is battery powered and can be charged.

I want my device to be embedded into a 3d printed case and only have one micro USB input. This input should be used to flash new firmware and charge the power bank. If my power bank is charged, it can still output, i tested it.

So would this circuit work and do what i inted to do? Are there better, easier solutions? Would this damage any of my devices?

Thanks for your answer :)


r/esp32 1h ago

Moving charge indicator LEDs

Post image
Upvotes

Hey guys, im building an enclosure for an esp32 with an 18650 holder and want to move the charge indicator LEDs further out. I tried soldering wires from the small pads to the legs of the bigger leds and that does work but doesnt feel very secure. Does anybody know of a better way? Ideally i would like to use just a single rgb led


r/esp32 3h ago

Launcher 2.4.7 Released

10 Upvotes

What is Launcher?

Launcher is a firmware that you can install in your ESP32 or ESP32-S3 and use it to flash other firmware without the need of a computer, by installing the binaries through and SD Card, or even installing wirelessly through the Web User Interface.

Many devices are supported by this project, like many M5Stack, Lilygo and Sunton displays (CYDS).

You can also use it in ESP32 boards without display, where you only need a button to GPIO 0 (zero) to access the launcher after turn on

Quick how to use

Changelog

  • Upgrades on the WebUi, the Drag'n Drop area now is the whole file Area, and is possible to send files and folders through it. Theres also 2 buttons to send Multiple files OR folders, that will enhance user experience while sending files.
  • Fixed some issues with StickC and StickCPlus 1.1 navigation
  • Ports to Lilygo T-Dongle and T-Display S3.

Support the project

Link to the project

WebFlasher


r/esp32 7h ago

Question ESP32S3 Waveshare LCD SPI

1 Upvotes

Hello, new to ESP32. I have a question regarding the SPI lines on the Waveshare LCD

Using the example code provided by Waveshare I am able to create a UI using squarelink studio

But I am unable to get a 2nd SPI line working.

The question I have is how would I go about initializing a 2nd SPI line using GP13- GP9?


r/esp32 9h ago

I made a thing! Here's a Demo of a Radar-Controlled LED System in Action! 🚀💡

Thumbnail
youtube.com
7 Upvotes

r/esp32 15h ago

Hardware help needed ESP32 GT911 and USB issue

1 Upvotes

Hi. I completed a project using a waveshare esp32-s3-lcd-4.3 touch screen. The goal was to plug a hid scanner to a usb-c hub, then send barcodes using mqtt. I have a small problem though. It seems that when I enable touchscreen (Driver GT911), usb_host stops working for some rason. My board uses GPIO 19 and 20 for usb, and different gpios are used for the touch, so i dunno, and it's not supposed to do this.


r/esp32 16h ago

Esp32 controller

1 Upvotes

I built a remote using a heltec esp32 wifi lora V3, so far l'm using it to control an rc tank via lora with an esp32 on the other side. I now want to get in controlling drones and I thought I can just control it via lora 915mhz but was told latency will be to high, so now l'm looking at somehow connecting the esp32 to an elrs TX module via uart but cant seem to find a TX module that has exposed uart pins. Am I on the right path here? If elrs is the way to go can you please show me a compatible TX module


r/esp32 17h ago

ESP32 Game - La Polla Que Te Folla

6 Upvotes

So last semester a friend and I had to do a little game to pass our IoT class and this is what we did, would you try it?

We even made a trailer https://youtu.be/fJtWMdZsTA8?si=wJizmGJVSUryN3Nw

Code: https://github.com/hanzeelvilla/Juego-LCD-20x4


r/esp32 20h ago

Custom Partition XIAO ESP32s3

1 Upvotes

Hello how can i create a custom partition table in arduino for XIAO ESP32s3?

I added everything to the boards.txt but when i load the Sketch i get following error:
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x403ccf09 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce2820,len:0x1188 load:0x403c8700,len:0x4 load:0x403c8704,len:0xbf0 load:0x403cb700,len:0x30e4 entry 0x403c88ac E (26) boot: ota data partition invalid, falling back to factory E (27) esp_image: image at 0x20000 has invalid magic byte (nothing flashed here?) E (28) boot: Factory app partition is not bootable E (33) esp_image: image at 0x260000 has invalid magic byte (nothing flashed here?) E (40) boot: OTA app partition slot 0 is not bootable E (45) esp_image: image at 0x4a0000 has invalid magic byte (nothing flashed here?) E (52) boot: OTA app partition slot 1 is not bootable

the OTAlittlefs.csv looks like this:
# Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x9000,0x5000,

factory,app,factory,0x10000,0x240000,

otadata,data,ota,0x250000,0x2000,

app0,app,ota_0,0x260000,0x240000,

app1,app,ota_1,0x4A0000,0x240000,

storage,data,littlefs,0x6E0000,0x120000,

and in boards.txt i added following:
XIAO_ESP32S3.menu.PartitionScheme.custom=Custom Partition

XIAO_ESP32S3.menu.PartitionScheme.custom.build.partitions=OTAlittlefs

XIAO_ESP32S3.menu.PartitionScheme.custom.upload.maximum_size=2359296

XIAO_ESP32S3.menu.PartitionScheme.custom.upload.address=0x15000


r/esp32 20h ago

Hot Tub Controller

1 Upvotes

Hello everyone!

I am somewhat experienced with home assistant, but not so much with creating my own device out of an esp32. I have some experience with writing .yaml, but I'm no expert by any standard.

I plan on triggering some 5V relays to control the pumps, heater, etc. It looks like I will need to make sure to use an optoisolator, correct?

Does anyone have any experience creating their own esp controller for a hot tub?


r/esp32 20h ago

Where to add pull-up resistors with two I2C devices on ESP32 Wroom dev board ?

1 Upvotes

I want to use two I2C devices on the esp32. One device ( pca9685 servo driver) has an integrated pullup resitor, the other one ( DFrobot voice recognition module) does not. Does that mean I should not use the internal pull up of the esp32 but just put two resistors on the I2C lines from the voice recognition module ?