OpenISA Launches Free RISC-V VEGAboard

RISC architecture is gonna change everything, and I still can’t tell if we like that movie ironically or not. Nevertheless, RISC-V chips are coming onto the market, chipmakers seem really interested in not paying licensing fees, and new hard drives are shipping with RISC-V cores. The latest development in Open instruction sets chips comes from OpenISA. They’ve developed the VEGAboard, a dev board with two RISC-V chips and Arduino-style pin headers.

The VEGAboard comes loaded with an NXP chip which combines an ARM Cortex-M0 and Cortex-M4. So far, so good, but there are already dozens of boards that combine two ARM microcontrollers on a single development platform. The real trick is the RI5CY and Zero-RI5CY chips on the VEGAboard, a 4-stage RISC-V RV32IMCCXpulp CPU. This comes from the PULP platform, meant to be a small, low-power, but parallel platform for various processing needs. In short, with the VEGAboard, you’re not running a blink() sketch on the RISC-V microcontroller. You run the blink() sketch on the ARM microcontrollers, while using the RISC-V chip to read accelerometers and toggle pins. It’s a coprocessor, but it’s RISC-V.

Other features of the VEGAboard include 4MB of Flash, a light sensor, accelerometer, magnetometer, an RGB LED, OpenSDA serial debug adapter, an on-board BLE radio, and of course those wonky Arduino pin headers.

There are, or were, free VEGAboards available, but those are long gone. It’s still an interesting platform, though, and if you’d like to get your hands on one, production will resume shortly. Of course, if you need RISC-V right now, there are actual RISC-V Arduinos, a RISC-V with built-in neural networks, and SiFive will soon have a Linux-capable RISC-V multicore board. These are exciting times, and every day we’re seeing how RISC architecture is gonna change everything.

Sudo Find Me A Parking Space; Machine Learning Ends Circling The Block

If you live in a bustling city and have anyone over who drives, it can be difficult for them to find parking. Maybe you have an assigned space, but they’re resigned to circling the block with an eagle eye. With those friends in  mind, [Adam Geitgey] wrote a Python script that takes the video feed from a web cam and analyzes it frame by frame to figure out when a street parking space opens up. When the glorious moment arrives, he gets a text message via Twilio with a picture of the void.

It sounds complicated, but much of the work has already been done. Cars are a popular target for machine learning, so large data sets with cars already exist. [Adam] didn’t have to train a neural network, either–he found a pre-trained Mask R-CNN model with data for 80 common objects like people, animals, and cars.

The model gives a lot of useful info, including a bounding box for each car with pixel coordinates. Since the boxes overlap, there needs be a way to determine whether there’s really a car in the space, or just the bumpers of other cars. [Adam] used intersection over union to do this, which is conveniently available as a function of the Mask R-CNN model’s library. The function returns a score, so it was just a matter of ignoring low-scoring bounding boxes.

[Adam] purposely made the script adaptable. A few changes here and there, and you could be picking up tennis balls with a robotic collector or analyzing human migration patterns on your block in no time. Or change it up and detect all the cars that run the stop sign by your house.

Thanks for the tip, [foamyguy].

Recycled Piano Becomes Upcycled Workbench

Pianos are free, in case you’re not hip to the exciting world of musical instrument salvage. Yes, the home piano, once the pinnacle of upper middle class appreciation of the arts, is no longer. The piano your great aunt bought in 1963 is just taking up space, and it’s not like the guy on Craigslist giving away a free piano has a Bösendorfer.

It’s out of this reality of a surplus of cheap used pianos that [luke] built a new desk. He got it a while ago, but after getting it into his house, he realized it was too old to be tuned anymore. Or at least it was uneconomical to do so. This piano became a workbench, but after a while [luke] wanted something with a little more storage.

The process of converting this piano to a desk began with taking a few photos and putting them into Fusion 360. A series of panels and brackets were modeled in box jointed plywood, and the entire thing was cut out of 6mm Baltic birch plywood at the Vancouver Hack Space.

There are a few nice features that make this desk a little better than an Ikea special. There’s a Raspberry Pi mounted to the shelves, because the Pi still makes a great workbench computer. There’s a power supply, and hookups for 12 V, 5 V, and 3.3 V from an ATX power supply. This is controlled with an awesome antique power switch mounted to the side of the piano. Slap a few coats of black paint on that, and [luke] has an awesome, functional workbench that also has out-of-tune sympathetic strings. Not bad.

You can check out the entire build video below. Thanks [Jarrett] for sending this one in.

Continue reading “Recycled Piano Becomes Upcycled Workbench”

Fail Of The Week: Electromigration Nearly Killed This Xerox Alto

The Living Computers museum in Seattle has a Xerox Alto, the machine famous for being the first to sport a mouse-based windowing graphical user interface. They received it in working condition and put it in their exhibit, but were dismayed when a year later it ceased to operate. Some detective work revealed that the power supply was failing to reach parts of the machine, and further investigation revealed an unlikely culprit. Electromigration had degraded the contacts between the supply pins and the backplane traces.

If electromigration is new to you, don’t feel ashamed, it was a new one to us too. It’s “the transport of material caused by the gradual movement of the ions in a conductor due to the momentum transfer between conducting electrons and diffusing metal atoms“, got it? Okay, that’s just a long way to say that passing a sufficiently high current through a conductor for a long time can physically move the metal of that conductor.

This one just doesn’t pop up very often. But in the case of the Alto, an under-specified power distribution system caused a lot of current to flow through too few solder joints. Those joints were left without enough metal to make a decent connection, so they failed.

The fix came with a set of sturdy busbars freshly soldered to the pins, but the interest in this piece comes more from the unusual phenomenon that caused it. That soldered joints can seemingly flow away defies belief. It’s still something most of us will never encounter, but like tales of ball lightning it’s one for the “Fancy that!” collection.

We’ve covered the Alto before, most notably [Ken Shirriff]’s work in restoring the Computer History Museum’s example.

Hackaday Links Column Banner

Hackaday Links: February 3, 2019

Once technology that was only available to expensive design teams, and high-end engineering work, 3D printers are now readily available to anyone. Designing a physical prototype with a 3D printer is now something anyone can afford. Did I say anyone? Yes, anyone, even the people trying to build perpetual motion machines. Here’s one on Kickstarter powered by physics. It’s repelling magnets turning wheels.

The study and development of Artificial Intelligence began in the late 1950s and early 1960s. There were conferences, there were talks, colloquium, journals, the works. It was the beginning of a golden age. That came to a screeching halt sometime around 1985. Now, we’re in a new golden age of AI. There’s even a conference. It’s being hosted by [Jeff Bezos], as the alternative, public version of the MARS (for Machine Learning, Automation, Robotics, and Space) conference. Read that link. The phrase, ‘the Bilderberg conference of California’ is in there.

A new Project Binky? Can it be true? Yes, it’s episode 22. The center console is in, the dash is in, and the doors look somewhat finished. What’s the deal this time? A bumpin’ stereo. Wiring! Milliput! It’s English blokes in a shed doing fabrication, your favorite genre of video.

Aaaay, wait a minute. Have you heard about KiCon? Yes, there will be a KiCad user conference. It’s in Chicago, April 26th and 27th, and it’s all about KiCad scripts, settings, tools, techniques, and triumphs. There’s a call for talks, although you shouldn’t try to submit a workshop discussing the difference between ‘Kai-Cad’ and ‘Key-Cad’. That workshop has already been rejected.

Have a 25 meter satellite dish lying around in your backyard? Of course you do. Well, you can hunt for satellites with that thing and a USB TV tuner. The SatNOGS team has been working with a (radio) observatory in the Netherlands, and they’re getting radio signals from overhead satellites. Not bad, and there are, actually, a surprising number of unused large radio dishes out there. Luckily, they’re mostly historic sites.

Unlocking God Mode On X86 Processors

We missed this Blackhat talk back in August, but it’s so good we’re glad to find out about it now. [Christopher Domas] details his obsession with hidden processor instructions, and how he discovered an intentional backdoor in certain x86 processors. These processors have a secondary RISC core, and an undocumented procedure to run code on that core, bypassing the normal user/kernel separation mechanisms.

The result is that these specific processors have an intentional mechanism that allows any unprivileged user to jump directly to root level access. The most fascinating part of the talk is the methodical approach [Domas] took to discover the details of this undocumented feature. Once he had an idea of what he was looking for, he automated the process of checking every possible x86 instruction, looking for the one instruction that allowed running code on that extra core. The whole talk is entertaining and instructional, check it out after the break!

There’s a ton of research poking at the instruction level of complication processors. One of our favorites, also by [Domas], is sandsifter which searches for undocumented instructions.

Continue reading “Unlocking God Mode On X86 Processors”

Leap Motion’s Project North Star Gets Hardware

It’s been more than a year since we first heard about Leap Motion’s new, Open Source augmented reality headset. The first time around, we were surprised: the headset featured dual 1600×1440 LCDs, 120 Hz refresh rate, 100 degree FOV, and the entire thing would cost under $100 (in volume), with everything, from firmware to mechanical design released under Open licenses. Needless to say, that’s easier said than done. Now it seems Leap Motion is releasing files for various components and a full-scale release might be coming sooner than we think.

Leap Motion first made a name for themselves with the Leap Motion sensor, a sort of mini-Kinect that only worked with hands and arms. Yes, we’re perfectly aware that sounds dumb, but the results were impressive: everything turned into a touchscreen display, you could draw with your fingers, and control robots with your hands. If you mount one of these sensors to your forehead, and reflect a few phone screens onto your retinas, you have the makings of a stereoscopic AR headset that tracks the movement of your hands. This is an over-simplified description, but conceptually, that’s what Project North Star is.

The files released now include STLs of parts that can be 3D printed on any filament printer, files for the electronics that drive the backlight and receive video from a laptop, and even software for doing actual Augmented Reality stuff in Unity. It’s not a complete project ready for prime time, but it’s a far cry from the simple spec sheet full of promises we saw in the middle of last year.