-
Notifications
You must be signed in to change notification settings - Fork 12
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
Comments
Hi Uli, |
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. |
Hi Neil,
GPIO2 on ESP8266 is the Pin D4. I did some research and found this documentary. I have
#define INPUTPIN 12 # D6 / GPIO 12 and it seems to work.
https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
Thanks
Von: Neil McKechnie
Gesendet: Donnerstag, 23. März 2023 17:58
An: DCC-EX/DCCInspector-EX
Cc: Uli; Author
Betreff: Re: [DCC-EX/DCCInspector-EX] [Support Request]: (Issue #16)
Hi Uli,
Pin D2 on the ESP8266 D1-Mini appears to be connected to GPIO4, which is by default configured for an OLED display attached to I2C. If you modify the Config.h file and disable the OLED, then pin D2 ought to be OK. Find the line
#define USE_OLED
and comment it out so it looks like
// #define USE_OLED
Recompile and upload, and you should hopefully find that it will boot.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
…--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com
|
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
The text was updated successfully, but these errors were encountered: