What's the best way to proceed here? I need this to be consistent. It is going to be installed in my fathers Slot Car race track, where they currently have a working (Parallel port -> Win95) solution.
I am not sure what you mean Paul? Mike, I get the bit you mentioned about the grounds, and I have amended as shown in the image attached.
I am looking to build this fully over the weekend, but will be wanting to have all the bits I need. So if I need a new power supply (the 9v on here is just for demonstration) for the LDRs
Wow! Now I am even more confused! I am totally struggling here!
That last thing you posted was right - ish as far as I could tell although you will not physically have the layout like that will you? The LDRs will be on long wires over to various parts of the track. You reduce the chances if your pull ups are small, 10K is a good start but you might have to go smaller. Then if there is trouble you can put capacitors across the analogue inputs. You have to test first nothing like this works first time.You started the post with a specific problem and we gave you a solution. What you have not done is to test what we told you to do and report back.
I do appreciate the help! The one thing, before I go out testing this on my test track etc that I'm going to build, is the power for the LDRs.
QuoteI do appreciate the help! The one thing, before I go out testing this on my test track etc that I'm going to build, is the power for the LDRs.I would just run 5V from the arduino for that. It takes very little current so there is no need for a separate supply for them.