Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: WiFi on Raspberry Pi
Bruce
Steve Todd designed his RPi-JMRI image to be used with a Raspberry Pi 3 Model B, which has built-in Wi-Fi (2.4 GHz), RJ-45 socket for 100 MBit/s Fast Ethernet LAN, HDMI socket for an optional monitor and four USB sockets (type A) for optional keyboard/mouse connection. This image also works the same on a slightly more expensive Raspberry Pi 3 Model B+, which has built-in dual-band Wi-Fi (2.4 GHz/5 GHz), RJ-45 socket for max. 300 MBit/s "Gigabit" Ethernet LAN, HDMI socket for an optional monitor and four USB sockets (type A) for optional keyboard/mouse connection. But you cannot make use of the hardware advantages in a B+ versus a B model (!). In particular the Wi-Fi will only operate in 2.4 GHz band and the Ethernet remains on max. 100 MBit/s due to the drivers in the image. I tried that. Older Raspberry Pi's do not have built-in Wi-Fi, so you need some Wi-Fi Transceiver to plug into a USB socket and may need to install its Unix drivers. Other drivers in the image for built-in hardware interfaces may also not work correctly. But I can't tell because I've never tried images released this year on older Pi's. It's unlikely that you need an USB-hub with the 4 existing USB sockets (type A) in Raspberry Pi 3 Model B or B+. You can directly connect a monitor, keyboard and mouse - but you don't have to. You can also remotely control the Raspberry Pi from another computer (f.e. with free VNC client software), either wireless through Wi-Fi or tethered through Ethernet. Like every Wi-Fi Access Point, the Raspberry Pi should be up (min. 1.5 m / 5 ft. above ground) and without other electronic devices near it (within a radius of about 1 m / 3 ft.) for best working conditions. Although it may also work, nobody would put a radio antenna into a drawer or down on the floor - Wi-Fi is radio (and the rules for wave propagation apply). Daniel Sieber Zurich, Switzerland |
Locked
Re: Saving Sensors by RailCom
Although I understand the graph-coloring argument itself, I don¡¯t see how it applies.
Consider this case: Block B, with neighbors A and C, and block Y, with neighbors X and Z, are connected to a single sensor S. Now we start with A and X showing occupied, all others including S not occupied. Train 1 is in A and Train 2 is Y. That¡¯s a _completely_ general setup, applicable to any layout topology. Now sensor S goes active, hence indicating that B or Y or both are now occupied. Where are the trains? How do you know? Bob On Sep 5, 2018, at 1:46 AM, halasz <halasz.gabor@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Roster addition
Dave
I have successfully completed the transfer of settings to Decoder Pro. My THANKS TO ALL for your comments and suggestions. Jerry Hampton |
Locked
Re: Audio Coding
Dave,
toggle quoted message
Show quoted text
Here is a solution that works for me: dict = {} for i in range(1, 3): dict["buffer_horn_Loco" + str(i)] = audio.provideAudio("IAB_horn_Loco" + str(i)) dict["buffer_horn_Loco" + str(i)].setURL(sounds_path + "horn" + str(i) + ".wav") dict["source_horn_Loco" + str(i)] = audio.provideAudio("IAS_horn_Loco" + str(i)) dict["source_horn_Loco" + str(i)].setAssignedBuffer("IAB_horn_Loco" + str(i)) print("Variable buffer_horn_Loco{} has value {}".format(i, dict["buffer_horn_Loco" + str(i)])) print("Variable source_horn_Loco{} has value {}".format(i, dict["source_horn_Loco" + str(i)])) Please note that I deleted the spaces in the variable names. Please adapt the "range" for your needs. See the result in the JMRI Audio Table. Klaus Am 07.09.2018 um 11:43 schrieb David Smith via Groups.Io: I have been experimenting with adding sound |
Locked
Re: WiFi on Raspberry Pi
Steve Spence
I use a logitech wireless combo with usb dongle. Steve Spence, KK4HFJ On Fri, Sep 7, 2018 at 11:29 AM Bruce Petrarca via Groups.Io <bfpetrarca=[email protected]> wrote:
|
Locked
Re: WiFi on Raspberry Pi
¿ªÔÆÌåÓýOne more question. What about a keyboard / mouse for DecoderPro? USB hub?
The newest Pi has wifi built in, the older ones need a usb adapter. I use the edimax. Steve Spence, KK4HFJ On Fri, Sep 7, 2018 at 10:12 AM Bruce Petrarca via Groups.Io <bfpetrarca=[email protected]> wrote:
|
Locked
Re: WiFi on Raspberry Pi
Steve Spence
The newest Pi has wifi built in, the older ones need a usb adapter. I use the edimax. Steve Spence, KK4HFJ On Fri, Sep 7, 2018 at 10:12 AM Bruce Petrarca via Groups.Io <bfpetrarca=[email protected]> wrote:
|
Locked
Re: Linux instead of Windows XP with JMRI plus my compiled railroad interface programs?
Don - I'll jump in on the recommendation of using a Raspberry Pi. A number of us have been successfully using the RPi for JMRI for a couple of years and there are significant advantages over using an old PC. |
Locked
Re: WiFi on Raspberry Pi
Steve¡¯s default image sets up the RPi as an access point to it¡¯s own "RPi-JMRI¡± network, so you can just connect your phone to that and go.
If you want to instead connect the RPi to an existing network, there are some command-line things you have to do. Look about half-way down this page: Bob On Sep 7, 2018, at 7:11 AM, Bruce Petrarca via Groups.Io <bfpetrarca@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Linux instead of Windows XP with JMRI plus my compiled railroad interface programs?
Thank you, everyone for your quick and helpful replies! Seems I need a newer computer, as I'm not looking for yet another hobby! I'm 74, and it's going to be a several year project to get my railroad rebuilt in our new home, functional, and with basic scenery to give a reasonable impression and keep derailed trains from falling to the floor. There is plenty more to add later: working signals, paint on those brass locos, more and better structures. I'm sure many of you are in the same situation, with an endless set of possible projects. Isn't it great to have so many choices of how to spend our free time! I feel sorry for people who don't have lives beyond work. Don Weigt |
Locked
Re: WiFi on Raspberry Pi
Bruce,
The RPi has built-in wifi. My image turns that into an access point. That's it. If you want to run JMRI on your laptop (also), connect its wifi to the RPi-JMRI access point, and use the LoconetOverTCP connection. Then you laptop can "see" the layout via the RPi. --SteveT |
Locked
Linux problem with DCC4PC Reader Board
My setup works fine on my Win 10 Dell laptop and can read my 16 channel reader board. Using test version 4.13.2.
i also have a DCC++ system using a RPi 3 and have downloaded three versions on JMRI (2 test versions and the latest release version) also Steve Todds latest image and they all don't show the DCC4PC 16 channel reader board. Even changes the board number from 1 to 0 and makes no difference.? The interface is active but no reader boards show in the DCC4PC window. i have two 16 Gigi SD cards, one for Steve Todd and the other for JMRi off the internet.? Both are setup with the same preferences. I really want to use the RPi to free up my laptop for other uses. What is the best way to send my information for it to be analyzed fro the Linux system. |
Locked
Re: WiFi on Raspberry Pi
¿ªÔÆÌåÓýUnderstood what you, Bob and Steve, said. Guess I wasn¡¯t clear.What is needed to get the Pi to talk WiFi?
Bruce, if you use my image (), you can be up and running with WiThrottle and EngineDriver very quickly. Just download the image, unzip it, write it to a new SD card, insert it in the RPi, plug in the LocoBuffer-USB and turn it on. The image will autoidentify the LocoBuffer-USB and autostart PanelPro with WiThrottle Server, Web Server and LoconetOverTCP. It creates it's own network access point, so in a minute or so, you can connect your phones and run trains. --SteveT |
Locked
Re: WiFi on Raspberry Pi
Bruce, if you use my image (), you can be up and running with WiThrottle and EngineDriver very quickly. Just download the image, unzip it, write it to a new SD card, insert it in the RPi, plug in the LocoBuffer-USB and turn it on. The image will autoidentify the LocoBuffer-USB and autostart PanelPro with WiThrottle Server, Web Server and LoconetOverTCP. It creates it's own network access point, so in a minute or so, you can connect your phones and run trains.
--SteveT |
Locked
Re: Panel cannot create sensors
To follow on with Bob's suggestion...
Start JMRI Load the panel file (so it logs all the issues) Then use Help->Upload Debugging Info, make sure you check the boxes so it includes all the parts. That should give us a good view of what you are trying to read and what is happening. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: decoder pro operations
Hello Bob? no matter what I try I cannot open my profile to change it
David |
Locked
Re: WiFi on Raspberry Pi
Do you mean use the Raspberry Pi _instead_ of the Win 7 machine, taking the Win 7 machine out of the picture?
The RPi can be set up using Steve Todd¡¯s preloaded image. He¡¯s got a page of instructions: The only remaining thing is moving any panel files, roster, etc over. Easiest way do to that might be a USB stick. Bob On Sep 7, 2018, at 7:00 AM, Bruce Petrarca via Groups.Io <bfpetrarca@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
WiFi on Raspberry Pi
¿ªÔÆÌåÓýDon¡¯t know nuthin¡¯ ¡®bout ¡®me. But one might be the answer for our club.We have an older Win 7 machine running JMRI and doing some word processing or web activities. What would it take to interface a Pi to a Loco-Buffer USB and be able to support WiThrottle and Engine Driver?
|
Locked
Re: decoder pro operations
What goes wrong when you try to do that?
Bob On Sep 7, 2018, at 6:52 AM, david.brown299 via Groups.Io <david.brown299@...> wrote:-- Bob Jacobsen rgj1927@... |