Gpio Pins GreyedOut
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 6
- Joined: 10 Nov 2016, 14:41
Gpio Pins GreyedOut
Hi People,
I have successfully installed easyesp 120 build on NodeMCU Dev kit 1.0, based on ESP-12e.
However few pins are greyed out when trying to add a switch input device and while selecting the 1st GPIO pin.
The pins which are greyed in the dropdown are 1,3,4,5.
Can anyone suggest why these pins are greyed out?
The second question is which pin is suitable to be used as a switch input, basically to run a relay. The reason i ask is, i need a pin that does not momentarily boot as high when the ESP restarts.
A screen shot of the same has been attached/below. Regards
Srihari
I have successfully installed easyesp 120 build on NodeMCU Dev kit 1.0, based on ESP-12e.
However few pins are greyed out when trying to add a switch input device and while selecting the 1st GPIO pin.
The pins which are greyed in the dropdown are 1,3,4,5.
Can anyone suggest why these pins are greyed out?
The second question is which pin is suitable to be used as a switch input, basically to run a relay. The reason i ask is, i need a pin that does not momentarily boot as high when the ESP restarts.
A screen shot of the same has been attached/below. Regards
Srihari
Re: Gpio Pins GreyedOut
Pins are greyed out because something else is using them, for example, 4 & 5 are usually set to i2c in the hardware tab. I have not paid much attention to the switch posts but there are a lot of them. You will probably want something more recent than 120, they are working on a new stable release but building with the arduino ide is really easy, once you figure it out.
-
- New user
- Posts: 6
- Joined: 10 Nov 2016, 14:41
Re: Gpio Pins GreyedOut
Thanks for the Suggestion Drum.
I was able to free up 4 and 5 using the Hardware tab. However 1 and 3 are not available in the Hardware tab, Is it because they have been marked for TXD0 and RXD0 as per the NodeMCU pin out architecture?
Regards
Srihari
I was able to free up 4 and 5 using the Hardware tab. However 1 and 3 are not available in the Hardware tab, Is it because they have been marked for TXD0 and RXD0 as per the NodeMCU pin out architecture?
Regards
Srihari
Re: Gpio Pins GreyedOut
Used for serial. If you really need them for generic IO, you can disable serial in the tools/advanced settings.srihari154 wrote:Thanks for the Suggestion Drum.
I was able to free up 4 and 5 using the Hardware tab. However 1 and 3 are not available in the Hardware tab, Is it because they have been marked for TXD0 and RXD0 as per the NodeMCU pin out architecture?
Regards
Srihari
-
- New user
- Posts: 6
- Joined: 10 Nov 2016, 14:41
Re: Gpio Pins GreyedOut
Thanks for the Suggestion Martinus.
Would you be able to suggest pins that don't momentarily boot up as high during reboots?
This was causing issues in ESP-01, where pin 0 and 2 used to boot up as high during reboot and used to switch on the relay momentarily, Hence i switched to ESP-12e used with nodemcu devkit.
Any suggestions on the pins in ESP-12e that don't trigger the relay just for about 1 second during reboots.
Regards
Srihari
Would you be able to suggest pins that don't momentarily boot up as high during reboots?
This was causing issues in ESP-01, where pin 0 and 2 used to boot up as high during reboot and used to switch on the relay momentarily, Hence i switched to ESP-12e used with nodemcu devkit.
Any suggestions on the pins in ESP-12e that don't trigger the relay just for about 1 second during reboots.
Regards
Srihari
-
- New user
- Posts: 3
- Joined: 25 Apr 2018, 10:33
Re: Gpio Pins GreyedOut
The DS18B20 Temperature Sensor Module voor Wemos D1 has hard-wiring for GPIO4, pin D2. You won't see its serial number until you free the port. In ESPEasy Mega software, hardware tab, put the 12C interface GPIO ports to: -None-. The sensor is quite accurate so you can use a decimal setting of 2 in the device Edit, Task Settings page.
Re: Gpio Pins GreyedOut
What makes you think that? I haven't seen this behavior anywhere, except when you connect a sensor to a port already used/configured for something else, of course.StevenHoogslag wrote: ↑02 May 2020, 16:48 The DS18B20 Temperature Sensor Module voor Wemos D1 has hard-wiring for GPIO4, pin D2.
Usually a Wemos has enough free ports so you can easily connect to another GPIO port, and use D2 for I2C if you need that.
/Ton (PayPal.me)
-
- New user
- Posts: 3
- Joined: 25 Apr 2018, 10:33
Re: Gpio Pins GreyedOut
Hello Ath,
"What makes you think that? I haven't seen this behavior anywhere,"
You can see the copper going to D2. There is no way of intervention unless you modify the print yourself.
The 12C OLED screen module can be combined when you first disable 12C, install the Wemos DS18B20 module and then re-enable 12C.
Both modules co-operate on my Wemos triple-base.
Two pictures enclosed, I hope they show up and clarify.
Regards, Steven.
"What makes you think that? I haven't seen this behavior anywhere,"
You can see the copper going to D2. There is no way of intervention unless you modify the print yourself.
The 12C OLED screen module can be combined when you first disable 12C, install the Wemos DS18B20 module and then re-enable 12C.
Both modules co-operate on my Wemos triple-base.
Two pictures enclosed, I hope they show up and clarify.
Regards, Steven.
- Attachments
-
- Wemos D1 Triple Base DS18 Oled shield.jpg (192.79 KiB) Viewed 7212 times
-
- Wemos D1 DS18B20 module.jpg (14.56 KiB) Viewed 7212 times
Re: Gpio Pins GreyedOut
Ah, that's a very inconvenient shield, I've used loose components only, so I can connect them to any GPIO.
You could cut the connection to D2, and rewire to another GPIO to avoid this issue, but it will require a bit of soldering handyness
You could cut the connection to D2, and rewire to another GPIO to avoid this issue, but it will require a bit of soldering handyness
/Ton (PayPal.me)
Re: Gpio Pins GreyedOut
Strictly speaking, it may be possible to use I2C pins along with other sensors.
But there is only a handful of those that will not interfere with the I2C bus.
So that's why I marked it as being occupied for selection.
You could change the I2C pins, add the sensor using that pin and the switch back the I2C pins in the configuration.
But be aware that it has not been tested.
But there is only a handful of those that will not interfere with the I2C bus.
So that's why I marked it as being occupied for selection.
You could change the I2C pins, add the sensor using that pin and the switch back the I2C pins in the configuration.
But be aware that it has not been tested.
-
- New user
- Posts: 3
- Joined: 25 Apr 2018, 10:33
Re: Gpio Pins GreyedOut
Time will tell but the two Wemos modules work together well for now. The Domoticz screen shot is a module with DHT11 shield. That shield is less accurate.
I'm very pleased with ESPEasy and Domoticz.
I'm very pleased with ESPEasy and Domoticz.
- Attachments
-
- 2020-05 ESP Triple kastje-07.jpeg (75.47 KiB) Viewed 7168 times
-
- 2020-05 ESP Triple kastje-06.jpeg (43.72 KiB) Viewed 7168 times
-
- 2020-05 ESP Triple kastje-02.png (290.83 KiB) Viewed 7168 times
-
- 2020-05 ESP Triple kastje-00.png (148.83 KiB) Viewed 7168 times
-
- 2020-05 ESP Triple kastje-01.jpeg (91.81 KiB) Viewed 7168 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Gpio Pins GreyedOut
Looks good! Thanks for sharing!
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 3 guests