Search found 26 matches

by rozsaheg
02.05.2019, 17:58
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Peter,
I have sent a PM to you but as I see you have not read yet.
Regards
Laszlo
by rozsaheg
12.06.2017, 09:38
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Antonino, If Rocrail is running when you connect the USB, the safety time for master to start and finish the first scan and send the status to Rocrail is six second. For the second slave plus other 2 second is needed because it has to wait until the first slave do the same. The delay(d0) 50 msec ...
by rozsaheg
10.06.2017, 11:11
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

I2C solution There was a request by some of you, to work out a solution, similar to my skeleton_ultimate program with more Arduino board. The following codes working with Nano's and Uno's but with a minor modification any Arduino board combination can be used. If you want to know more about I2C che...
by rozsaheg
21.02.2017, 13:01
Forum: DIY Hardware
Topic: Servo turnouts control with Rocrail via USB
Replies: 6
Views: 2204

Re: Servo turnouts control with Rocrail via USB

Hi Jens, 1. Answer to the first question. It is possible to control servos and sensor information with the same Mega board without any other board. But for this solution a very serious programming and testing work needed. 2. Much easy way to use the cheap chinese board for servos and use my other pr...
by rozsaheg
20.02.2017, 10:36
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Antonio,
An other point. In the Rocrail Properties on Controller tab check-mark the "No device check at startup".
Start the Rocrail without Arduino first, check-mark, connect Arduino.
If this will not solve the problem send your last *.trc file to me with PM.
Regards
Laszlo
by rozsaheg
19.02.2017, 19:59
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Antonio,
In the older version of Rocrail the MCS2 baud rate was 500000. In the newer version you have to set this parameter yourself. Because my program use baud 500k I would suggest to change your MCS2 setup to this.
Happy to hear the solution is works for you.
Laszlo
by rozsaheg
17.02.2017, 18:46
Forum: DIY Hardware
Topic: Servo turnouts control with Rocrail via USB
Replies: 6
Views: 2204

Re: Servo turnouts control with Rocrail via USB

Hi Albert, The answer for your question is yes. The servo microcontroller supplier sends the software with the unit. On the link you are referencing, you can see this software screenshot. It can use, for find the appropriate degree (command number from 500 to 2500) for the turnout. It can be test wi...
by rozsaheg
16.02.2017, 18:52
Forum: DIY Hardware
Topic: Servo turnouts control with Rocrail via USB
Replies: 6
Views: 2204

Servo turnouts control with Rocrail via USB

In this topic I will show you how to control servo microcontroller directly from Rocrail. In the topic "Arduino USB interface for sensor feedback to Rocrail" (http://forum.rocrail.net/viewtopic.php?f=11&t=10120) I have introduced a kind of solution, sending information from Arduino Mega2560 to Rocra...
by rozsaheg
12.02.2017, 10:56
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Jens,
The opposite communication is possible, nothing special. You can control turnouts or signals, gates and so on with Rocrail via USB.
I will release the solution for turnouts in some days.
Regards
Laszlo
by rozsaheg
11.02.2017, 12:41
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

I have received a PM from Jens and I would answer on public way. Perhaps it is interest to others as well. "Hi Lazlo, since a few days I'm using your tool. It works like a charme :-) Because of the need for many Pins I'd like to ask if it is possible to use the Analog Pins A0-A15 as well ?? How shou...
by rozsaheg
10.02.2017, 10:43
Forum: OpenDCC-BiDiB (DE)
Topic: [erl.] BiDiB RF-Basis in Rocrail unterstützt !
Replies: 67
Views: 6472

Your private message to rozsaheg

Jens,
I am not able to answer to your private message because the system said "The requested users to be added do not exist."
Send your email address to me on the same way.
Regards
Laszlo
by rozsaheg
23.01.2017, 19:51
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Daniel, You can find the solution on the following link, how to connect more mega. The secret weapon is the I2C protocol. If you need I can help to modify the "skeleton ultimate" program for more mega. http://www.instructables.com/id/I2C-between-Arduinos/ I have repaired the the bad link (http://...
by rozsaheg
19.01.2017, 11:48
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

Hi Guys,
Is there anybody who has tested this solution ? If yes, please share the experience with us.
Thanks
Laszlo
by rozsaheg
11.12.2016, 18:57
Forum: DIY Hardware
Topic: Arduino USB interface for sensor feedback to Rocrail
Replies: 46
Views: 11485

Re: Arduino USB interface for sensor feedback to Rocrail

If you curious how this interface works in real environment, you can follow this link (http://forum.rocrail.net/viewtopic.php?f=11&t=12667), where Manos shares information and pictures on his real plan. If you have question or suggestion, need help, just ask us.
Laszlo

Go to advanced search