If you travel on the British rail system, you’ll be familiar with the ubiquitous orange dot-matrix departure display boards. At a glance they tell you the expected arrival times of the next few trains, where they are headed, and at the bottom the current time. [Chris Crocker-White] was inspired by a Tweet to recreate one of these displays in miniature and hang it under his monitor.
The hardware is a Raspberry Pi Zero with an OLED screen, in a custom 3D-printed case. A soldered USB cable takes power from the monitor’s USB ports. Software wise it’s a demonstration vehicle for the Balena cloud service that pulls its data from their transport API, but the choice of dot matrix typeface is perfect and absolutely looks the part.
There is some question as to whether a project such as this one should need a cloud service as its backend, and of course it serves as a demonstration piece rather than a definitive way to enact a departure board. It does however bring a ready-packaged API for transport data, which given that many data sources can be opaque, is a useful feature.
Train time displays seem to be a popular choice on the Eastern side of the Atlantic, here’s another British one, and one from Ireland.
Thanks [Pyrofer] for the tip.
If you’re headed over to mainland China as a tourist, it’s possible to get to most of the country by rail. China is huge though, about the same size as the United States and more than twice the size of the European Union. Traveling that much area isn’t particularly easy. There are over 300 train terminals in China, and finding the quickest route somewhere is not obvious at all. This is an engineering challenge waiting to be solve, and luckily some of the students at Cornell Engineering have taken a stab at efficiently navigating China’s rail system using an FPGA.
The FPGA runs an algorithm for finding the shortest route between two points, called Dijkstra’s algorithm. With so many nodes this can get cumbersome for a computer to calculate, but the parallel processing of a dedicated FPGA speeds up the process significantly. The FPGA also includes something called a “hard processor system“, or HPS. This is not a soft-core, but dedicated computing hardware in the form of an ARM Cortex-A9. Testing showed that utilizing both the HPS and the FPGA can speed up the computation by up to ten times over a microcontroller alone.
This project goes into extreme detail on the methodology and the background of the math and coding involved, and is definitely worth a read if you’re interested in FPGAs or traveling salesman-esque problems. FPGAs aren’t the only dedicated hardware you can use to solve these kinds of problems though, if you have a big enough backpack while you’re traveling around China you could also use a different kind of computer.
Continue reading “Using An FPGA To Navigate China’s Railroads”
[Calango] is a railway technician, and for a school final project created the Rail Wear Surveillance Trolley (RWST) which is a delightfully designed device made mainly from PVC conduit with one job: travel down a segment of train track while shining a green laser onto the rail, and capture camera images. The trolley holds both the laser and the camera at just the right angles for the camera to capture a profile of the rail’s curved surface. The images are sent via Bluetooth to a smartphone for later analysis. Rail wear can be judged by checking how well the profile of the rail conforms to the ideal profile of an unworn segment. The trolley is manually pushed by an operator, but [Calango] says that ideally, it would be self-propelled and able to inspect a length of the track then return on its own.
The project was made on a tight budget, which led to some clever solutions like using a rotary encoder attached to a wheel as a makeshift distance sensor. If things get desperate enough, it’s even possible to roll your own rotary encoder with a 3D printer and two microswitches.
Where do you travel every day? Are there any subtle ploys to manipulate your behavior? Would you recognize them or are they just part of the location? Social engineering sometimes gets a bad rap (or is it rep?) in the mainstream, but the public-facing edge of that sword can keep order as it does in Japanese train stations. They employ a whirlwind of psychological methods to make the stations run like clockwork.
The scope of strategies ranges from the diabolical placement of speakers emitting high-frequency tones to discourage youthful loitering to the considerate installation of blue lights to deter suicides. Not every tactic is as enlightened as suicide prevention, sometimes, just changing the grating departure buzzer to a unique tune for each station goes a long way to relieving anxiety. Who wants to stand next to an anxious traveler who is just getting more and more sweaty? Listen below the break to hear what Tokyo subway tunes sound like.
Maybe you can spot some of these tricks where you live or something similar can ease your own commute. Perhaps the nearest subway has a piano for stairs or a 3D printing cyborg.
Continue reading “Social Engineering By Railways”
When operating any kind of hydroponic farming, there are a number of lighting solutions — few of them inexpensive. Originally looking for an alternative to the lighting of IKEA’s expensive hydroponics system, [Professor Fartsparkle] and their colleague prototyped a rail system that allows clip-on LED boards for variable lighting options.
Taking inspiration from wire and track lighting systems, the key was the 5mm fuse holders mounted on the bottom of the LED boards. Snipping off their stopping clip makes them easy to install and remove from the mounting rails. The rails themselves double as power conduits for the LED boards, but keeping them out of the way is easily done with the variety of 3D printed hangers [Professor Fartsparkle] has devised. Lighting is controlled by a potentiometer on the power injection board, as well as any home automation control via an ESP8266.
[Professor Fartsparkle] asserts that the boards can be slid along the rails without any noticeable flickering, but they do suffer from heat dissipation issues. That aside, the prototype works well enough that the 3W LEDs can be run at half power.
This is an ingenious — and cheap — workaround for when sunlight isn’t an option, but you are still looking for a solution capable of automation.
We usually have no problem hacking together electronics into something useful. But finding an enclosure that makes sense for the build can be a real drag. In this case [Vincent Sanders] already had a working ARM build farm that leveraged the power of multiple ARM boards. But it was lying in a heap in the corner of the room and if it ever needed service or expansion it was going to be about as fun as having a cavity drilled. But no longer. He took inspiration from how a blade server rack works and 3D printed his own modular rail system for the hardware.
Each group of boards is now held securely in its own slot. The collection seen above mounts in a server rack which has its own power supply. This image is part way through the retrofit which explains why there’s a bunch of random pieces lying around yet. Instead of printing continuous rail [Vincent] uses a threaded rod to span the larger frame, securing small chunks of rail where needed by tightening nuts on either side of them. The white and red trays are prints he ordered from Shapeways designed to secure the eurocard form factor parts.
Apartment dwellers who are living the nomadic lifestyle take note. You don’t need to live your tinkering lifestyle out of a toolbox. Here is a great example of a respectable electronics bench which breaks down when it’s time to move (translated). We’re sure you already belong to your local hackerspace for the big projects, but this corner office will let you take some of your creations home for continued tweaking.
The bench uses slotted aluminum rails as the support structure. The slots accept small nuts, which have a spring-loaded ball bearing to keep them from sliding freely ([Nerick] mentions this is especially nice for working with the vertical runs). These fasteners ended up being the most costly component. The desktop itself is the largest solid piece. It was machined using a CNC mill (we already mentioned having a hackerspace membership) so that the mounting screws are countersunk to leave a perfectly flat surface. It’s clean, has a small footprint, and gives you a place to dump all of your gear. What else could you ask for?