It is based on this design I found on internet. The raspberry has been adapted with a connector to generate the right voltage levels. He was also concerned about the rpi being able to generate the signal… This is something that needs further tests… so far, with just one loco and without launching rocview, it seems to work OK. Peter Gilling, designer of the board, advised on reducing the value of the resistor R1 – I am currently using 390 ohms-, this is also convinent for usb-rs232 converters. Rocrail is using the ddx library to send the commands through the serial port of the rpi. The booster board ( ord-3) is powering the test track. Hereafter a small video demonstrating the achievement. I have also created a debian distribution for the raspberry… but I have not tested (feedback is welcome):įinally I have been able to prepare an adapter for the uart port at the rpi and check that rocrail works perfectly (so far). The document, was built for my own use as repository of the ideas and steps I was following. Please note that most of the information in the manual is coming from the forum and web-site in rocrail. It also contains some instruccions to customise the rpi: I have created a document trying to explain step by step how to make rocrail running in raspberry. Having rocrail in the rpi, makes it possible to have different contrlo clients: android, iphone, ipad, etc… Anyway, the result is pretty cool and I do think ther rpi could become a nice DIY central station with my favourite control software. I still need to check if the library use to generate the control signal over the serial port (ddx) works properly, and if the configuration for Loconet explained in the last posts is also working in raspberry. Como también voy a publicarlo en el foro de rocrail, lo he documentado en inglés… pero si cualquiera necesita ayuda en castellano, no hay más que pedirla.įinally, I have been able to test the raspberry pi with rocrail, at least I have been able to compile and execute the program. Por fin he podido probar la raspberry pi que recibí en verano con rocrail. Peter tiene su propia solución (enlace MGV.IR), pero se requieren dos placas… y preferiría ahorrarme una. Queda pendiente ver como porto la solución par detección por IR a la MGV-50. aunque las salidas sí que son gobernables.Ĭon estas placas el esquema eléctrico que tenía pensado para el tren cambia definitivamente, abandonando la idea de usar placas s88 para la detección de trenes. Hay que arrancar Rocrail con el parámetro de interrogación al inicio (-x), y teniendo ya alimentado la MGV-101… de lo contrario hay un comportamiento aleatorio con las entradas… no las detecta y rocrail es incapaz de detectar los módulos.Hay que decirle a Rocrail, que central programará los módulos de Loconet: SV-IID= IID del controller MGV-101… que lo elegimos nostros.Se trata de una solución que utiliza el protocolo de Digitrax Loconet.Įn concreto las placas que he montado son la MGV-101 (ahora GCA-101), que hace de interfaz con el ordenador mediante Ethernet, y las MGV-50 (ahora GCA-50), que es la que propiamente actúa como elemento de entrada y salida en Loconet.Įl montaje me ha permitido probar la solución que preparé para la detección por reflexión de infrarrojos.Įl resultado ha sido perfecto, las dos placas están ampliamente documentadas en la página de Rocrail, y aunque requieren una configuración minuciosa, no ha habido ningún problema. He aprovechado para concluir el montaje de las placas de Peter Gilling publicadas en la página de Rocrail. Estas últimas semanas me he tomado un descanso de la reparación del vagón grúa – dónde me he quedado atascado en el código de control.
0 Comments
Leave a Reply. |