Last seen: 2023-10-01 12:42 pm
I had a problem with a previous sketch when I used a voltage divider and inputs to A0 to A5 and when I switched 2 servo's at once went a bit crazy, I ...
I am the same but I am using 16 toggle switches of which 5 are for a 4 Way Crossing polarity Mega which as well as giving control 10 DPDT relays for F...
@dorsay Sorry cant help with servo problem ... yeh I think mine are SG90 not DC90 ... the small blue ones. I have also a big thanks to Eric has he hel...
If it helps this is the sketch I used on Servo's... its very long winded and im sure with using arrays etc could be made more tidy but it does work fo...
Yes the type I am using are DC90 which only have a turning circle of 180 deg, I have an Arduino Mega and a PCA9685 to give me 16 channels but then rea...
Hi, I also went with Toms Trains sketch and modified to operate 16 sets of points on my Model Railway build.. John
@zeferby Hi Eric ... Yes I will be ready at 14.00 hrs UK time ... just getting setup..all family out with Grandson today so its peace ... John
@zeferby Its Okay Eric I will leave till Saturday, was just having a quick test and fault find, got a bit late know.. John
@zeferby Hi Eric I was just a quick update which may help to fault find, When I run the program with Serial Monitor I can see that "Switch States" lin...
@zeferby Hi Eric sorry I missed your posts, leave till Saturday for 2.00pm as all family going out so no distractions.. One thing you could look at wh...
@zeferby Yes I have used pins 20 thro to 24 also has you have defined in lines 143 to 147 and as its a pullup I ground this pin, at the moment all swi...
@zeferby Just a quick try before having dinner, uploaded as per pic, all trackswitch pins are HIGH, All frog polarities are HIGH but frog1A goes LOW e...
@zeferby Yeh done, sorry I miss read your original message, was okay no errors, will have a try later as shopping this PM till about 4,00pm.. John
I commented out the #ifdefine CROSSING_NOHARD at line 43 but came with error on line 45 #endif if I comment that out no errors is that correct.. John
@zeferby I'll watch that last video you posted, just a few things that I would like to clarify. I will change the SPST switches used on (trackswitch) ...