Earlier quoted context omitted.
A Solari Split-Flap Display? I love that they're making new ones! Starbucks has been putting them in their Reserve Roasteries. I'm also sort of happy with the 'modern' ones that are actually LCD screens with speakers making the noises. It's cheating, but it's a nice tribute.
There is something to be said for these kinds of vestigial remnants of technologies past. I've always been fascinated by them, and in fact this kind of thing in computer folklore -- for example parts of the docs that explain something exists "for historical reasons" -- are one of the things that got me into programming. For example the "size_t" size has pretty funny origins which I'll leave as an exercise to the read…
A Raspberry Pi-powered live train station sign
81–90 of 146 posts
Re: A Raspberry Pi-powered live train station sign
#82Pretty cool. When I took the train to work I made a simple stop-light with transit data. Trains ran every 10 minutes and it took me a few minutes to walk to the station. Green meant I could definitely catch the next train. Yellow meant I'd make it if I walked fast, and red meant I'd miss this train and need to wait for the next one.
A bit more glass half full, and reduces the light count by 33%!
Re: A Raspberry Pi-powered live train station sign
#83Pretty cool. When I took the train to work I made a simple stop-light with transit data. Trains ran every 10 minutes and it took me a few minutes to walk to the station. Green meant I could definitely catch the next train. Yellow meant I'd make it if I walked fast, and red meant I'd miss this train and need to wait for the next one.
Rather than show red, why not show the next train you could actually catch? A bit more glass half full, and reduces the light count by 33%!
[1] https://gist.github.com/kevana/32bfa486d9fb0aa20a19694d1b69d...
Re: A Raspberry Pi-powered live train station sign
#84Pretty cool. When I took the train to work I made a simple stop-light with transit data. Trains ran every 10 minutes and it took me a few minutes to walk to the station. Green meant I could definitely catch the next train. Yellow meant I'd make it if I walked fast, and red meant I'd miss this train and need to wait for the next one.
Rather than show red, why not show the next train you could actually catch? A bit more glass half full, and reduces the light count by 33%!
Much better than the MTA's website... though slightly less useful if you're not me commuting to work.
What I learned from this exercise is that:
1) The estimates are consistently inaccurate; downtown trains at Chambers St. always arrive when the clock says "2" (minutes until arrival).
2) They use some sort of distributed cache that doesn't remain consistent; as you bounce between backend instances you get different results, but often the same two results. (The red/green lines under the station names indicate freshness.)
3) The clocks in the stations don't work when it's too hot, but the actual data collection/processing is fine.
Re: A Raspberry Pi-powered live train station sign
#85Earlier quoted context omitted.
Pi Zero Ws are $10, ESP32 dev boards are $12. Why pick the more expensive one AND spend more time writing the software?
Last year maybe, but I just bought a few for €3.80 each and €0.40 shipping from aliexpress.
Re: A Raspberry Pi-powered live train station sign
#86Earlier quoted context omitted.
Rather than show red, why not show the next train you could actually catch? A bit more glass half full, and reduces the light count by 33%!
I went that route: https://jrock.us/mta.html Much better than the MTA's website... though slightly less useful if you're not me commuting to work. What I learned from this exercise is that: 1) The estimates are consistently inaccurate; downtown trains at Chambers St. always arrive when the clock says "2" (minutes until arrival). 2) They use some sort of distributed cache that doesn't remain consistent; as you bounce…
It was very annoying to implement, but as a user it is very nice to know how much thought has gone into it.
Re: A Raspberry Pi-powered live train station sign
#87Earlier quoted context omitted.
They're really cool! The original Solari board modules are mega expensive though. I looked at getting some to make a clock, and it probably would have cost me in the thousands. As an indirect result I now have a project in the works to make them. The concept is simple, but building them to be inexpensive is a challenge. Every extra bracket or fastener gets multiplied by _n_ modules.
There's a great Github project for building your own Splitflap/Solari displays from the ground up for $20 each https://github.com/scottbez1/splitflap Right now it's focusing on 40-character flaps (not super convent for clock-making), but it's open-source so I'm sure you could modify it for your purposes with some effort.
Re: A Raspberry Pi-powered live train station sign
#88Why I can't use my old phones to do this is beyond me. I have one windows phone lying around and a few android phones. Everything is there in a neat package but the manufacturer make it so hard to tinker with them.
Re: A Raspberry Pi-powered live train station sign
#89I'm working on a pi zero version of my own at the moment. The National Rail Enquires api's (Darwin) are free to use at personal (and surprisingly large) scale. They may be SOAP but still easy enough to talk to with some simple python. https://www.nationalrail.co.uk/46391.aspx
I wrote a proxy to make it easier to use (https://github.com/jpsingleton/Huxley). Been meaning to port it to .NET Core when I find the time. There is also an old Python client here: https://github.com/HackPartners/darwinrest
You can find many more resources in the community (https://wiki.openraildata.com/ https://github.com/openraildata https://groups.google.com/forum/#!forum/openraildata-talk). We're pretty friendly, say hi.
Re: A Raspberry Pi-powered live train station sign
#90Very cool but I find a pi is overkill for something like this. ESP8266 or ESP32 would work just as well.