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

[Support Request]: #16

Open
uli-2016 opened this issue Mar 13, 2023 · 3 comments
Open

[Support Request]: #16

uli-2016 opened this issue Mar 13, 2023 · 3 comments
Labels
EX-DCCInspector Item relates to EX-DCCInspector Support Request Item is a request for support

Comments

@uli-2016
Copy link

Version

Current v´Version

Issue description

I am using an ESP8266 D1 mini. When the DCC signal is applied to GPIO2 / D4, the ESP does not boot. Is another PIN better suited ?

thanks

Hardware

ESP8266 D1 mini

@uli-2016 uli-2016 added the Support Request Item is a request for support label Mar 13, 2023
@github-actions github-actions bot added the EX-DCCInspector Item relates to EX-DCCInspector label Mar 13, 2023
@Neil-McK
Copy link
Collaborator

Neil-McK commented Mar 23, 2023

Hi Uli,
Pin D4 / GPIO2 (not D2 / GPIO4 as I first read it) is connected to the on-board LED, according to the pinout diagram for the D1-Mini at https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/. It actually says that the device won't boot if this is pulled low. If you're not using a display and you comment out the #define USE_OLED in the Config.h you could use either pin D1/GPIO5 or D2/GPIO4. Otherwise it looks like there aren't any other options, unless you add some clever external circuitry to keep the pin disconnected until the boot process has completed. In that case you may be able to use pin D0, D3 or D4.

@Neil-McK
Copy link
Collaborator

Incidentally, I believe the recommended opto-isolator circuit uses a pull-up, so will be high state if the opto is off. So if the device isn't connected to the track when you power on the D1 Mini, the input should be High, and D4 should work fine. You can then connect the device to the track. A more elaborate solution would be to use the enable input of the 2N617 opto to ensure that the input to the D1 Mini is kept pulled up until the controller has booted.

@uli-2016
Copy link
Author

uli-2016 commented Mar 26, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EX-DCCInspector Item relates to EX-DCCInspector Support Request Item is a request for support
Projects
Status: To Do
Development

No branches or pull requests

2 participants