Personally, I’m a fan of trains. They’re a nice, albeit slow, way to get around the country. Canada isn’t the best candidate for rail transit, given the rather large space between coasts, but Via Rail does operate regular train service in their corridor between Windsor and Quebec City.
Unfortunately, passenger rail has to yield to commercial rail in Canada which often causes delays. After noticing that some trains have very frequent delays, it seemed like it would be useful to know the average performance of each Via train. Via does not provide this data publicly.
However, they do provide some data about arrival and departure times. Digging into the data available through any browser viewing the Via Rail site, it was possible to query for past scheduled/actual arrival data. The result is TrainStats.ca, a display of Via’s on time performance. Join me after the break as I discuss how this all works, and how to pick a winner when buying your next train ticket.
Continue reading “Is Via Rail On Time?”
With the ability to run a full Linux operating system, the Intel Edison board has more than enough computing power for real-time digital audio processing. [Navin] used the Atom based module to build Effecter: a digital effects processor.
Effecter is written in C, and makes use of two libraries. The MRAA library from Intel provides an API for accessing the I/O ports on the Edison module. PortAudio is the library used for capturing and playing back audio samples.
To allow for audio input and output, a sound card is needed. A cheap USB sound card takes care of this, since the Edison does not have built-in hardware for audio. The Edison itself is mounted on the Edison Arduino Breakout Board, and combined with a Grove shield from Seeed. Using the Grove system, a button, potentiometer, and LCD were added for control.
The code is available on Github, and is pretty easy to follow. PortAudio calls the
audioCallback function in effecter.cc when it needs samples to play. This function takes samples from the input buffer, runs them through an effect’s function, and spits the resulting samples into the output buffer. All of the effect code can be found in the ‘effects’ folder.
You can check out a demo Effecter applying effects to a keyboard after the break. If you want to build your own, an Instructable gives all the steps.
Continue reading “Audio Effects on the Intel Edison”
It’s been over 4 years since Portal 2 launched, but Wheatley, the AI character with a British accent, remains a captivating character. [Evie Bee] built a Wheatley replica complete with sound, movement, and one glowing eye.
The body of Wheatley is made out of blue insulation foam, also called XPS foam, laminated together with UHU Polyurethane glue. This formed a sphere, which was then cut into a detailed body. Papier mache clay was used to strengthen the thin foam.
The electronics for this build provide light, motion, and sound. The eye is moved by a total of 3 Arduino controlled servos: two for the movement of the eye, and one to allow it to open and close. Movement is controlled by two joysticks. Sound is provided by the Adafruit Sound Board, which connects to a speaker and a Velleman Sound to Light Kit. This kit controls the LEDs that light the eye, making it react to the voice of Wheatley.
You can watch this Wheatley rant at you after the break. Of course if you’re going to have a Wheatley you need a GLaDOS potato as well.
Continue reading “Robotic Wheatley from Portal 2”
Back in Feburary, I was one of the first people to throw some cash at the Voltera V-One circuit board printer on Kickstarter. With an anticipated delivery date of Q4 2015, I sat back and waited. This week, my V-One arrived!
I’ll preface this article by pointing out that I do know the folks at Voltera as we went to university together. That being said, I did put down my own cash for the device, so I’ve bought the right to be critical. I also have no relationship with their company. In this article, we’ll go through unboxing and printing, then get into a review of the V-One based on what we’ve seen so far.
Continue reading “Review: Voltera V-One PCB Printer”
A ton of open source hardware projects make their way onto Github, and Eagle is one of the most popular tools for these designs. [TomKeddie] came up with the idea of searching Github for Eagle files containing specific parts at Hacker Camp Shenzhen, and a method of scraping useful ones.
The folks over at Dangerous Prototypes used this to build the Github Hardware Search tool. Simply enter a part number, like “ATmega328P”, and you’ll receive a list of the designs using that part. You can then study the design and use it as a reference for your own project. You can also snag library files for the parts.
Of course, there are some limitations to this. The most obvious one is the lack of quality control. There’s no guarantee that the design you find works, or has even been built. Also, it only works for Eagle 6+ files, since prior versions were not XML. You can read more about the design of the tool over on Dangerous Prototypes.
Some readers out there probably have nostalgic feelings for their first 386 based PC, the beeps and hisses of the modem, and the classic sound of a floppy drive’s stepper motor. Perhaps that turbo button that we could never quite figure out.
If you want the power of a 386 processor today, you’re in luck: [Pierre Surply] has developed a modern development board for the 80386SX CPU. This board is based on a 386 processor that comes in a LQFP package for “easy” soldering, and an Altera Cyclone IV FPGA.
To allow the CPU to run, the FPGA emulates the chipset you would usually find on a PC motherboard. The FPGA acts as both a bus controller and a memory controller for the CPU. On the board, there’s an SRAM chip and internal memory on the FPGA, which can be accessed through the 386’s bus access protocol.
The FPGA also provides debugging features. A supervisor application running on the FPGA gives debugging functionality via a FTDI USB to UART chip. This lets you control operation of the CPU from a PC for debugging purposes. The FPGA’s memory can be programmed through a JTAG interface.
The project is very well documented, and is a great read if you’re wondering how your old 386 actually worked. It can even be hand soldered, so the adventurous can grab the design files and give it a go. The francophones reading can also watch the talk in the video below.
Continue reading “A Modern 386 Development Board”
When we think of wearable technologies, ballet shoes aren’t the first devices that come to mind. In fact, the E-Traces pointé shoes by [Lesia Trubat] may be the first ever “connected ballet shoe.” This project captures the movement and pressure of the dancer’s feet and provides this data to a phone over Bluetooth.
The shoes are based on the Lilypad Arduino clone, which is designed for sewing into wearables. It appears that 3 force sensitive resistors are used as analog pressure sensors, measuring the force applied on the ground by the dancer’s feet. A Lilypad Accelerometer measures the acceleration of the feet.
This data is combined in an app running on an iPhone, which allows the dancer to “draw” patterns based on their dance movements. This creates a video of the motion based on the dance performed, and also collects data that can be used to analyze the dance movements after the fact.
While these shoes are focused on ballet, [Lesia] points out that the same technique could be extended to other forms of dance for both training and visualization purposes.