Hii, how long max distance between transmitter and receiver? And can the sensor applied to detect true railway? thanks before..
@allanmartinez1190
2 жыл бұрын
Hello SIr Please keep up the good work also I enjoy watching and learning from your videos. Have you heard of the Arduino System? Can I use the O-Gauge Locomotives to run this system? If so all my Locomotives are Postwar and Conventional. Can I see a video in the future to see how it works? Thank you for your time Sincerely Allan
@oregonsignalfan
2 жыл бұрын
hey, would you be able to make a tutorial on how to set up and program a detector by means of connecting the detection leads directly to the rails? In north america at least, we use an ac pulse loop with rectifier shunts at the end of each approach and can calculate the speed of the train by the resistance in the rail.
@rudyshobbychannel
2 жыл бұрын
I have no idea what kind of detector you are talking about, but what ever you do, always take care that the signal fed to the Aerduino to detect anything never exceeds 5V.
@kitchenhamfarm
5 жыл бұрын
Hi Ruud would it be possible to do a tutorial on train detection using those ir optical sensor with digijeiks dr5000 via a opto interface (arduino) and TrainController software for train detection a lot to ask i know but i get the feeling there are many guys out there who would find it very useful regards tony
@rudyshobbychannel
5 жыл бұрын
The DR5000 can't read sensors itself, Loconet or S88 interface will have to be used. I have made Arduino software for S88, it is published on my other blog, Rudysmodelrailway. For Loconet I can recommend the Arcomora Arloco shield.
@cadillacescalade5428
2 ай бұрын
Hi, there,.. how can I make the 2nd IR sensor stay active until after the last car has past over it.....once the 1st sensor has been activated? Like once the 1st sensor has been passed over the the train is over the 2nd sensor gate goes up once it's cleared.
@rudyshobbychannel
2 ай бұрын
It is a bit harder to detect the tail of the train. Once a Low>High transition was detected you have to detect a High>Low transition,that should be the end of the train. However ... you may have to fist wait a second, or two, to know that it was not the gap between two wagons, else start over and wait for the next High>Low transition.
@hoidoei8650
5 жыл бұрын
Als ik een reed switch ipv de Ir sensor wil gebruiken moet ik dan iets veranderen in de code? Groetjes Kevin
@rudyshobbychannel
5 жыл бұрын
Misschien moet de polariteit omgedraaid worden ... if(digitalRead == 0) of if(digitalRead) == 1)
@hoidoei8650
5 жыл бұрын
Oké ik ben compleet nieuw met de Arduino maar heb een overgang gemaakt en lijkt me leuk om hem zo te controleren bedankt voor het antwoord ga zo door met uw top video's
@2006death2006
4 жыл бұрын
if you put them each one side of the track is the code the same or is it different?
@rudyshobbychannel
4 жыл бұрын
Please clarify what exactly you mean with 'put them each one side of the track'?
@2006death2006
4 жыл бұрын
@@rudyshobbychannel at 3.27 you see the blue and the black led i know there the Optical Sensor i have got it set up like that with two off them one each side of the track so the train has to break the beam when it passes i think i have facebooked you as well
@rudyshobbychannel
4 жыл бұрын
OK, yes, this transmitter and receiver should be cut off from the PCB and with some wires place them opposite each other such that the sensor is normally activated and the beam is interrupted by the train.
@2006death2006
4 жыл бұрын
@@rudyshobbychannel so no changing to your code?
@rudyshobbychannel
4 жыл бұрын
Nope, the code was written for this setup. In case the logic of the sensors needs to be inverted that is very easy to do.
Пікірлер: 24