lesthegrngo Posted May 22, 2019 Share Posted May 22, 2019 (edited) Guys, looking at the nice gauge panels that Craig has done on his mysimpit site, the connection from the Arduino to the easydriver is via pins D11 and D10. Is there anything stopping me from re-assigning it to any pin between D2 to D13? Are some pins reserved for set functions? Also, for a cockpit warning light panel, can I connect up to 12 warning lights to one Arduino by using pins D2 to D13 and including all the LED assignments in one sketch? A knock on question is should that be possible, whether it is better to put a resistor in series with a common ground pin, or one resistor in series with each LED supply pin Cheers Les Edited May 22, 2019 by lesthegrngo Link to comment Share on other sites More sharing options...
JG14_Smil Posted May 22, 2019 Share Posted May 22, 2019 (edited) Hello Les, I am doing 52 LED's with my Mega. All grounds are wired together, no resistors needed as I use LED's that don't require them. I buy my LED's and surplus parts from All Electroncs. Whoops, you aren't in the USA. Please note I use my Arduino's for outputs only and I have only done LED's so far. Edited May 22, 2019 by JG14_Smil Link to comment Share on other sites More sharing options...
lesthegrngo Posted May 22, 2019 Author Share Posted May 22, 2019 Thanks for the info. I'll be using Nano boards so they have less pins, but from what you are saying it looks like what I am thinking about is possible. Cheers Les Link to comment Share on other sites More sharing options...
Hansolo Posted May 22, 2019 Share Posted May 22, 2019 For this particular need you should be able to use D2-D13 as well as A0-A5. Yas the analog input A0-A5 may be used as digital output. It doesn't work for A6-A7 though. They can only be analog inputs Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album Link to comment Share on other sites More sharing options...
lesthegrngo Posted May 23, 2019 Author Share Posted May 23, 2019 Great, thanks for the feedback, Hans. It will make it easier to produce a PCB that links the two cards, although I realised after that D2 is used by the RS485 chip Cheers Les Link to comment Share on other sites More sharing options...
Hansolo Posted May 23, 2019 Share Posted May 23, 2019 Great, thanks for the feedback, Hans. It will make it easier to produce a PCB that links the two cards, although I realised after that D2 is used by the RS485 chip Cheers Les You ca just change that to another pin cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album Link to comment Share on other sites More sharing options...
lesthegrngo Posted May 24, 2019 Author Share Posted May 24, 2019 Great, that will help simplify things a lot! Cheers Les Link to comment Share on other sites More sharing options...
Recommended Posts