Sensor pins
-
Is there any reason that i cannot seem to use pins D5 and D6. when i try and use these pins i seem to get very random results, if i use D7 and D8 it all works fine. I noticed that there is a white circle around the D5 and D6 pinds on the connecting diagram, does this have any meaning ??
https://www.mysensors.org/build/connect_radio
Thanks in advance.
Lee
-
@Lee-Groom - what are you trying to connect, what do you plan to do and what board do you use?. It should not be any major difference, search for pinout for your board and see if there is any differnece. If you are using a pro mini 5 and 6 has PWM as extra - but it should be able to do a normal on/off just like 7 and 8.
-
Its on a nano........ Basically I have 2 relays and 2 buttons on the following pins.
D3 - Realy1
D4 Button1
D5 Relay2
D6 Button2on startup D5-6 seem to go high/low a couple of times. and it randomly thinks I am pressing the button on D6. it I move to use D7/8 it all works perfectly....It could be a dodgy board but I don't have an extra spare at the moment.
-
@Lee-Groom - could also be the relay drawing to much current...
-
Have a look at MyConfig.h. If you have "#define WITH_LEDS_BLINKING" then D4, D5 and D6 are used for blinking the status led's. Could maybe explain your problem.
-
@HarryDutch OMG your a genius, I do have LEDs on....I thought that only applied to gateways for some reason...
Don't know why I didn't think of that
Lee