Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILTIN_LED Flashing on ESP32DevelopmentBoard.ino #338

Open
ForrestErickson opened this issue Oct 24, 2024 · 2 comments
Open

BUILTIN_LED Flashing on ESP32DevelopmentBoard.ino #338

ForrestErickson opened this issue Oct 24, 2024 · 2 comments

Comments

@ForrestErickson
Copy link

ForrestErickson commented Oct 24, 2024

Problem Description

I have an ESP32 WROOM 32 Dev1 Kit
When I load the ESP32DevelopmentBoard.ino example file (making the necessary SSID and PW changes) I get the built in LED flashing several times a second.
This dev kit is several years old, perhaps as old as 2020.

The code

This is the code with which I started.
https://github.com/256dpi/arduino-mqtt/blob/master/examples/ESP32DevelopmentBoard/ESP32DevelopmentBoard.ino

Oscilloscope on BUILTIN LED

image

Another user does not have this problem but their ESP was purchased probably in 2024.

Photo of ESP32

image

The IDE Set for ESP32 WROOM

image

@ForrestErickson
Copy link
Author

Oscilloscope Waveform For Various Publishing Delays

LED waveform with the publishing delay set for 5000 ( 5 seconds)

image

LED waveform with the publishing delay set for 500 ( 1/2 second)

image

Some Observations

The narrow pulse size is independent of the publishing rate.
The wider pulses are occurring more frequently on the shorter publishing timing.

@ForrestErickson
Copy link
Author

ForrestErickson commented Oct 24, 2024

Long Message Makes No Effect

I replaced the text message with the text of Lincoln's Gettysburg address.

A Processing sketch I made to subscribe to the publication git it all
image

There is no effect on the rate or duration of the blinking LED. It looks just the same as the 500 mS publication rate as with the small payload.
image

Transition to Publishing

I modified the code to publish only when I held down the BOOT button.
When not publishing the narrow pulses were all we saw at about 100 mS. Once I pressed the Boot button to publish then we got pulses of nearly 100 mS duration
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant