Page 1 of 1

RFLink GPIO - port 31/33 OK, while 35/37 not working

Posted: Tuesday 13 June 2017 9:48
by japie101
Yesterday I have been busy on getting some GPIO outputs to work, which I am using to switch some relays.

Because of the RFLink fits on my Arduino Mega, I am using the following GPIO ports: 31 - 33 - 35 - 37 (which are all positioned on the outside of Mega).

However:

While 31 and 33 are working fine, 35 and 37 aren't.
It looks like the block of 30-33 is fine, and the ports starting from 34 are not working.

I also upgraded to R46 to make sure its not a version issue, as I was on R45, but still the same behavior.

http://www.nemcon.nl/blog2/faq#GPIO is indicating I should be able to use port 30 - 39 (while I mention this was a shorter range a few months ago?)

Anyone having same behavior/advice on this matter?

This is how it looks like in Domoticz:

Code: Select all

2017-06-13 09:39:18.051 User: Admin initiated a switch command (66/GPIO31/Off)
2017-06-13 09:39:18.053 RFLink Sending: 10;GPIOset;000031;0;OFF
2017-06-13 09:39:18.155 (RFlink) Light/Switch (GPIO31)
2017-06-13 09:39:21.077 User: Admin initiated a switch command (66/GPIO31/On)
2017-06-13 09:39:21.077 RFLink Sending: 10;GPIOset;000031;0;ON
2017-06-13 09:39:21.172 (RFlink) Light/Switch (GPIO31)

2017-06-13 09:39:33.305 User: Admin initiated a switch command (65/GPIO33/Off)
2017-06-13 09:39:33.306 RFLink Sending: 10;GPIOset;000033;0;OFF
2017-06-13 09:39:33.392 (RFlink) Light/Switch (GPIO33)
2017-06-13 09:39:36.271 User: Admin initiated a switch command (65/GPIO33/On)
2017-06-13 09:39:36.272 RFLink Sending: 10;GPIOset;000033;0;ON
2017-06-13 09:39:36.362 (RFlink) Light/Switch (GPIO33)

2017-06-13 09:39:54.560 User: Admin initiated a switch command (67/GPIO35/Off)
2017-06-13 09:39:54.560 RFLink Sending: 10;GPIOset;000035;0;OFF
2017-06-13 09:39:54.649 Error: RFLink: Error/Unknown command received!...
2017-06-13 09:39:54.652 (RFlink) Light/Switch (GPIO35)
2017-06-13 09:39:57.012 User: Admin initiated a switch command (67/GPIO35/On)
2017-06-13 09:39:57.013 RFLink Sending: 10;GPIOset;000035;0;ON
2017-06-13 09:39:57.099 Error: RFLink: Error/Unknown command received!...
2017-06-13 09:39:57.102 (RFlink) Light/Switch (GPIO35)

2017-06-13 09:40:08.364 User: Admin initiated a switch command (68/GPIO37/Off)
2017-06-13 09:40:08.365 RFLink Sending: 10;GPIOset;000037;0;OFF
2017-06-13 09:40:08.449 Error: RFLink: Error/Unknown command received!...
2017-06-13 09:40:08.452 (RFlink) Light/Switch (GPIO37)
2017-06-13 09:40:10.256 User: Admin initiated a switch command (68/GPIO37/On)
2017-06-13 09:40:10.257 RFLink Sending: 10;GPIOset;000037;0;ON
2017-06-13 09:40:10.349 Error: RFLink: Error/Unknown command received!...
2017-06-13 09:40:10.351 (RFlink) Light/Switch (GPIO37)