Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

GPIO problems with wemos D1 mini Pro #761

Closed
iz1kbp opened this issue Apr 19, 2024 · 3 comments
Closed

GPIO problems with wemos D1 mini Pro #761

iz1kbp opened this issue Apr 19, 2024 · 3 comments

Comments

@iz1kbp
Copy link

iz1kbp commented Apr 19, 2024

--------- Instructions --------
Please provide answers directly below each section.
--------- Instructions ---------

ESPixelStick Firmware Version
4.0-ci8301555430

Hardware Version
d1_mini_pro and d1_mini

Binary release or compiled yourself?
Mar 15 2024 - 19:48:24

Operating System (and version)
w10n 64

Web Browser (and version)
FF

Access Point

Describe the bug
Hi Manuel, I'm doing some tests with wemos d1 mini and wemos d1 mini pro (external antenna).

By setting out gpio 16 on d1 mini at high level (for a led on -> enable output relay> enable GPIO 16 >sigend Inverter> threshold 255 >> have the led on), the setting upon reboot, while on wemos d1 pro, when I set the output the led was on, but on reboot ,even if the panel appears correct, the output level is at low level (led off).
Simply I need to set a gpio (d0 or d1 or d2) to a high value as MONITOR to understand that the interface is on and working. Maybe I'm doing something wrong?
thank's in adavance
Mario

@iz1kbp iz1kbp changed the title GPIO problems with wemos D1 mini and Pro GPIO problems with wemos D1 mini Pro Apr 19, 2024
@iz1kbp
Copy link
Author

iz1kbp commented Apr 19, 2024

... basically. I use the same settings on WEMOS d1 mini and Pro. upon reboot, while the MINI maintains the GPIO outputs as programmed (ON), the PRO does not maintain them (OFF)

@MartinMueller2003
Copy link
Collaborator

Not sure what the issue is here. By default the GPIOs on an ESP are "Inputs" after a reset. That means the state high/low is indeterminate (high impedance) and can drift high or low as the outside circuit wants. If you need a GPIO to be in a specific state after a reboot and before the SW initializes the ports then you need to add a pullup/pulldown resistor to keep the GPIO at the desired state until the SW is in control.

@MartinMueller2003
Copy link
Collaborator

FYI, if you pull GPIO0 or GPIO 2 in the wrong direction, your device will not boot.

Repository owner locked and limited conversation to collaborators Jun 30, 2024
@MartinMueller2003 MartinMueller2003 converted this issue into discussion #769 Jun 30, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants