Brilliant video! I love JMRI but for people who want something simpler or want to write things themselves this is invaluable - well done for demystifying such a broad topic, I bet you’re going to inspire a lot of people around this world with this video
@LittleWicketRailway
3 жыл бұрын
Thanks Joe! 👍 I hope people find it useful and can see that you don't have to spend a fortune on special kit to do this type of thing.
@rachellaming
3 жыл бұрын
Excellent thanks Rob, now where’s that breadboard again, love your dedication and willingness to share your knowledge…I totally can’t wait for what you do next
@LittleWicketRailway
3 жыл бұрын
Thanks Rachel 👍
@gregbowen617
3 жыл бұрын
Ironically, this video has just given me the information I need for my new staging yard control using sensors and servos, especially the stand-alone mimic panel! Thanks Rob, your timing is impeccable! Cheers from Melbourne Australia 🇦🇺
@little_britain
3 ай бұрын
Having recently re-watched your pair of videos on panels, it occurs to me that a) one could combine some of the concepts and code, so the panels could work with or without a computer/JMRI, and b) The relays for point position are unnecessary if one uses a switch per stand alone panel, as one can read the switch, and get/set the point accordingly.
@LittleWicketRailway
3 ай бұрын
Definitely for point A, that's 100% possible. On point B, you could use the switch position to feedback the point position, but it doesn't prove that the servo has definitely moved, so wouldn't be as reliable. If something malfunctioned (i.e. wire breaks or something jammed the point blades) so the servo doesn't move then you'd get a false reading.
@little_britain
3 ай бұрын
@@LittleWicketRailway Yes you are correct, but luckily no-one will die when the train crashes. Also the microswitch is only detecting the servo motion, still no guarantee that the point is correctly thrown. A modification I want to try is to record the position in EEPROM every time it changes, so in a re-power everything doesn't have to move to a default state.
@roundel52
3 жыл бұрын
My plan is to use a Pi Pico instead of an Arduino (just because), and to use a string of WS2812B LEDs. There's a lot less wiring involved that way with just three wires from the Pico to the string of LEDs. I'm also planning to break open a USB keyboard and use the innards to provide more buttons than the Pico has pins. Finally, I'll be using Digikeijs block detectors, because amazingly they come out at the same price per block as the MERG units! But Hey, well done on introducing what could be a scary concept for many model railway folk in a fairly easy to understand way.
@LittleWicketRailway
3 жыл бұрын
Thanks John! Yeah, there's more than one way to skin a cat on this subject and I'm sure there are more elegant solutions. I'll definitely check out the Digikeijs block detectors. If they work out the same price and there's no soldering then that might be a better option. Where do you buy yours from?
@roundel52
3 жыл бұрын
@@LittleWicketRailway I actually got mine from Amazon!
@roundel52
3 жыл бұрын
@@LittleWicketRailway oh, and I use the Loconet version, so software can read the occupancy off the loconet bus. You wouldn't need to run a DR5000 to do that (though it would be much easier!) but you could use a Locobuffer USB to bridge loconet to your PC... Or I know that there are several very simple circuits to get it to an arduino
@adambeedle
3 жыл бұрын
Great video mate keep it up 👍
@LittleWicketRailway
3 жыл бұрын
Thanks Adam, much appreciated! 👍
@MalcolmCrabbe
3 жыл бұрын
I'm just waiting for the PCBs to arrive from China, having used an NANO, some shift registers and a 9685 to make a mimic panel / controller... really uncanny that this video came up a few days later :)
@user-ho4wi6rx5b
Жыл бұрын
Hi Rob - what a great series of videos. Thanks for posting them. I am encouraged to have a crack at a panel but want to use micro toggle switches - do they need to be momentary (on/off/on) or can they be standard on/off switches? Cheers from Auckland
@user-ho4wi6rx5b
Жыл бұрын
So having solved this problem 😊 can anyone suggest the coding solution for adding additional servos and toggle switches. I'm new to arduino and finding the next steps challenging! Also - what does the coding for a crossover controlled by a single toggle look like?
@lejuhnke
7 ай бұрын
I just watched this and found it very interesting. I'm getting right to start on a new mimic panel and am looking at maybe using this. The question I have is that I use all Tortoise switch machines and not servo machines. Does this work the same way and if not what would the differences would be.
@Phoenix540
2 жыл бұрын
Can you use the sensor shield with the PCA9685 on an arduino mega for larger layouts, or do you need a separate arduino for the sensor shield and PCA9685?
@iaintolmie6657
Жыл бұрын
Thanks
@TimberSurf
3 жыл бұрын
JFYI. I have a plan (one day), to have nano's controlling all my lights and nano's to sense blocks, but as a distributed control system. It will have one master nano with HMI to control the condensed [lighting[ timescale and some independent nano's to serve as mimics. As the two supported coms on Ardiono are limited to a short distance and the other is multiwire (not just 2), I will use a canbus shield's on each to communicate. {the DCC control will not be connected in any way). Points will be controlled by the mimics, blocks will have auto ABS control and will control signals.
@LittleWicketRailway
3 жыл бұрын
Look forward to seeing this 👍 Did I see that you'd started producing and selling some of your 3D prints now?
@TimberSurf
3 жыл бұрын
@@LittleWicketRailway No not yet, but soon!
@IronHorseRailways
3 жыл бұрын
Need to find part one... On my new module I'm planning on building I'm hoping to be able to add basic signalling and motor controlled points - looks fun to be able to code! Not done any coding for over a decade! But like any code language once you learn the basic syntax it's pretty easy to tell it what you need it to do. Can JMRI set global variables that work sound functions on certain speed steps?
@LittleWicketRailway
3 жыл бұрын
Here's part 1 (kzitem.info/news/bejne/wK6Hy5qNqZucn4o) 😀 You'll definitely be able to do basic signalling and motor controlled points using Arduino and I'm sure you'll easily get to grips with the coding. You can definitely write scripts in JMRI (they're written in Python code) which activate sound functions. I had locos sound their whistles before leaving the station or going into tunnels on my old layout.
@IronHorseRailways
3 жыл бұрын
@@LittleWicketRailway cheers man 🤘👍
@brucewoods9377
2 жыл бұрын
Wish you had used the MEGA with the Sensorshield
@supersprinter1564
3 жыл бұрын
I've just brought a class 52 dcc loco any ideas were I can get a sound chip seem to be sold out everywhere thanks
@LittleWicketRailway
3 жыл бұрын
What brand/model is it? How much are you prepared to pay?
@supersprinter1564
3 жыл бұрын
@@LittleWicketRailway it's an hornby western champion only payed £25 for it im not to bothered how much a sound for it is as I got the loco cheap and a select controller for £20 last week off ebay sent that to hornby for latest updates cost £15 so I guess that's cheap for a dcc controller
Пікірлер: 32