Hi Luca, I just built one of your Loconet Interfaces (ordered the circuit board). All working great, just need to modify the sketch for my layout and multiple turnouts. Thanks very much for sharing this as it's exactly the kind of thing I've been looking for to add to my layout 👍👍John
@lucadentella2 жыл бұрын
Thanks John, glad you found it useful!
@roydom53 жыл бұрын
Luca, you are a great source of information- this is just what I am looking for! Thank you 🙏
@lucadentella3 жыл бұрын
thanks for your comment, I'm glad that my tutorials are useful!
@friedrich-karlholting27743 жыл бұрын
Great, that's what I was looking for ... really straight forward implementation .. tks
@lucadentella3 жыл бұрын
Thanks for your comment, glad you liked the video!
@g09352602052 жыл бұрын
thx for series of very helpful video!
@lucadentella2 жыл бұрын
thanks for your comment, glad you liked them
@svm.a.65633 жыл бұрын
gracias por el video, . gracias por el gran trabajo
@lucadentella3 жыл бұрын
Thanks for you comment!
@RichardFrenchRacing7 ай бұрын
Luca, This is a great sketch and very easy to follow. I am implementing this on my layout. My only problem is that I have 9 turnouts. I'm using a Mega so the number of pins should not be an issue. My only issue is how to convert the sketch to include 9 turnouts (1-9). Do you have an example of 2 or 3 turnouts and LEDs where you've changed the sketch to use functions and just pass repetitive info to the function.
@lucadentella7 ай бұрын
Hi Richard, give a look to my "LNControlPanel" project, it can control up to 32 turnouts / LEDs via Loconet...
@Oldwoddy2 жыл бұрын
Hello. Many thanks for this nice video. I would very much like to expand this loconet control panel so I can switch more turnouts, but I'm new to audrino programming, so I have not been able to make more than one turnout work. Can you please show me how to expand the program to more than one turnout. Thank you in advance
@lucadentella2 жыл бұрын
Hi, you can use the project in tutorial 9: it's a fully programmable control panel board with 32 I/O channels. You may also give a look to its firmware to understand how it can control more than one turnout
@Oldwoddy2 жыл бұрын
@@lucadentella Hello. Thank you very much for your answer. This is exactly what I'm missing. But I had hoped that it could work with an UNO or a MEGA, even if your project provides a lot of input-output. Now I just need a gerber file for a print. Many thanks for the help so far.
@roydom53 жыл бұрын
Just starting to learn Arduino to work with my DR5000 - this tut is excellent! How would you upload a sketch to address more than 1 turnout? Would you upload a sketch for each one at a time or do you have to upload a sketch detailing each turnout all at once? I would like to use your example for a small panel controlling 5 turnouts. What is the maximum number of turnouts controlled like this for 1 Arduino? Thanks
@lucadentella3 жыл бұрын
Arduino can run only one sketch at a time, so you have to develop a sketch that will control 5 turnouts. The maximum number depends only on the number of Arduino pins you need to control a turnout. Let me explain: Arduino (Uno) board has 16 available I/O pins (not considering two pins for serial communication and two pins for the Loconet interface). In my example, you need 3 pins (button + 2 LEDs) for each turnout, so 5 turnouts max. But if you don't need LEDs you may control up to 16 turnouts or if you want only one LED per turnout you may control up to 8 turnouts. And yes, you may also consider an I/O expand module to increase the number of available pins (but this is a more advanced topic)
@alandance91542 жыл бұрын
will this work with a Mega
@lucadentella2 жыл бұрын
Hi Alan, it should (the Loconet library is compatible with Arduino Mega)... I never tested it, if you do, let us know!
@alandance91542 жыл бұрын
@@lucadentella I had a problem compiling but I upgraded the library to the latest version and now compiles Ok. Will need to test with Loconet later in the week.