A 150MHz 6502 Co-Processor

If you are familiar with ARM processors, you may know of their early history at the 1980s British home computer manufacturer Acorn. The first physical ARM system was a plug-in co-processor development board for Acorn’s BBC Micro, the machine that could be found in nearly every UK school of the day.

For an 8-bit home computer the BBC Micro had an unusually high specification. It came with parallel, serial and analog ports, built-in networking using Acorn’s proprietary Econet system, and the co-processor interface used by that ARM board, the Tube. There were several commercial co-processors for the Tube, including ones with a 6502,  a Z80 allowing CP/M to be run, and an 80186.

As with most of the 8-bit generation of home computers the BBC Micro continues to maintain a strong enthusiast following who have not stopped extending its capabilities in all directions. The Tube has been interfaced to the Raspberry Pi, for instance, on which an emulation of original co-processor hardware can be run.

bbc-tube-screenshotAnd thus we come to the subject of this article, [Hoglet] and [BigEd]’s 150MHz 6502 coprocessor for the BBC Micro. Which of course isn’t a 6502 at all, but a 6502 emulated in assembler on an ARM which is in a way the very distant descendant of the machine it’s hosted upon. There is something gloriously circular about the whole project, particularly as the Pi, like Acorn, the BBC Micro, and modern-day ARM, has its roots in Cambridge. How useful it is depends on your need to run 8-bit 1980s software in a tearing hurry, but they do report it runs Elite, which if you were there at the time we’re sure you will agree is the most important application to get running on a BBC Micro.

We’ve featured the Tube interface before when we talked about an FPGA co-processor with a PDP/11 mode that was definitely never sold by Acorn. And we’ve also featured an effort to reverse engineer the primordial ARM from that first BBC Micro-based co-processor board.

BBC Micro image: Stuart Brady, Public Domain, via Wikimedia Commons.

Raspberry Pi Zero Becomes Mighty Miniature Minecraft Machine

In a clever bit of  miniaturization, [JediJeremy] has nearly completed a gyro-mouse controller for a Raspberry Pi Zero! Ultimately this will be a wearable Linux-watch but along the way he had some fun with the interface.

Using the MPU6040 gyroscope/accelerometer card from a quadcopter, [JediJeremy] spent a week writing the driver to allow it to function as a mouse. Strapping an Adafruit 1.5″ PAL/NTSC LCD screen and its driver board to the Zero with rubber bands makes this one of the smallest functional computer and screen combos we’ve seen. Simply tilt the whole thing about to direct the cursor.

It presently lacks any keyboard input, and [JediJeremy] has only added a single button for clicking, but look at this thing! It’s so tiny! In his own words: “I think this is the first computer that I can accidentally spill into my coffee, rather than vice versa.”

Continue reading “Raspberry Pi Zero Becomes Mighty Miniature Minecraft Machine”

Raspberry Pi Gets Turned On

The Raspberry Pi and other similar Linux-based single board computers simplify many projects. However, one issue with Linux is that it doesn’t like being turned off abruptly. Things have gotten better, and you can certainly configure things to minimize the risk, but–in general–shutting a Linux system down while it is running will eventually lead to file system corruption.

If your project has an interface, you can always provide a shutdown option, but that doesn’t help if your application is headless. You can provide a shutdown button, but that leaves the problem of turning the device back on.

[Ivan] solved this problem with–what else–an Arduino (see the video below). Simplistically, the Arduino reads a button and uses a FET to turn off the power to the Pi. The reason for the Arduino, is that the tiny processor (which draws less than a Pi and doesn’t mind being shut down abruptly) can log into the Pi and properly shut it down. The real advantage, though, is that you could use other Arduino inputs to determine when to turn the Pi on and off.

Continue reading “Raspberry Pi Gets Turned On”

Hackaday Prize Entry: A Raspberry Pi Project

There’s no piece of technology that has been more useful, more influential on the next generation of sysadmins and engineers, and more polarizing than the Raspberry Pi. For $35 (or just $5), you get a complete single board computer, capable of running Linux, and powerful enough to do useful work. For the 2016 Hackaday Prize, [Arsenijs] has created the perfect Raspberry Pi project. It’s everything you expect a Pi-powered project to be, and more.

While the Raspberry Pi, and the community surrounding the Raspberry Pi, get a lot of flak for the relatively simple approach to most projects which are effectively just casemods, critics of these projects forget the historical context of tiny personal computers. Back in the early ‘aughts, when Mini ITX motherboards were just being released, websites popped up that would feature Mini ITX casemods and nothing else. While computers stuffed into an NES, an old radio, or the AMD logo are rather banal projects today, I assure you they were just as pedestrian 15 years ago as well. Still, the creators of these Mini ITX case mods became the hardware hackers of today. It all started with simple builds, a Dremel, and some Bondo.

[Arsenijs] takes his Raspberry Pi project a bit further than a simple casemod, drawing influence from a Raspberry Pi smartphone, a Raspberry Pi security system, a Portable Raspberry Pi, and a Raspberry Pi wrist computer. These are all excellent projects in their own right, but [Arsenijs] is putting his own special twist on the project: he’s using a Raspberry Pi, and a few Raspberry Pi accessories.

While this project is first and foremost a Raspberry Pi project, [Arsenijs] isn’t limiting himself to the platform with the Broadcom chip. The team behind this Raspberry Pi project was busy porting the project to Odroid when the Banana Pi came out. This changed everything, a refactor was required, and then the Orange Pi was announced. Keeping up with technology is hard, and is a big factor in why this Raspberry Pi project hasn’t delivered yet. You can say a lot of things about the Raspberry Pi foundation, but at least their boards make a good attempt at forward compatibility.

Already [Arsenijs]’ Raspberry Pi project is one of the more popular projects on Hackaday.io, and is in the running for being one of the most popular projects in this year’s Hackaday Prize. Whether that popularity will translate into a minor win for this year’s Hackaday Prize remains to be seen, but it seems for [Arsenijs] that doesn’t matter; he’s already on the bleeding edge of Raspberry Pi projects.

The HackadayPrize2016 is Sponsored by:

Hackaday Links: June 19, 2016

Wait a minute. We’re almost through June and we haven’t seen anyone’s ‘DIY air conditioning’ setup. Oh the shame! How could we ever argue about thermodynamics otherwise? Here’s some copper tubing wrapped around a fan. Does it make sense? Assuming you’re making the ice (or cold whatever) in a room separated from the crappy air con, and you don’t have to pay for electricity (or ice), and you don’t mind hauling buckets of ice every few hours, yes. It’ll work. Now we can argue if you should put salt in the ice water…

I know I mentioned this in last week’s links post, but [Arsenijs]’s Raspberry Pi project is growing by leaps and bounds. He already has more than 33 followers to this project (awesome!) and 3.3k views on his project page. Not only is it climbing in popularity, but this is also a great use for the Raspberry Pi. You don’t see projects like this come around very often.

The Goliath is a quadcopter powered by a lawnmower engine. It was an entry in the first Hackaday Prize, but the project literally never got off the ground. There’s now a Mk. II version in the works. Goliath is getting a new frame made out of aluminum tube and rivets. There’s going to be ducts on the props, and this version might actually fly.

You did know Hackaday has it’s own Hackaspace, right? Technically it’s the Supplyframe Design Lab, but there are still a few skull ‘n wrenches hidden in the rafters. The Design Lab is hosting an open house this week on June 23rd, and the design lab residencies will begin July 1st. If you have an idea for something you’d like to build, here’s the residency application.

The LimeSDR is a powerful next generation software defined radio that’s currently on CrowdSupply The crowdfunding campaign ends in just a few days. It’s a very impressive tool, able to send and receive anything from 100 kHz to 3.8 GHz.

Last week one of our writers posted a review on the Monoprice MP Select Mini 3D printer. This printer is becoming stupidly popular, and Monoprice has depleted their inventory twice since then. I’ve been watching the product page for this printer for a while now, and here’s what happens: 1) Printer is out of stock, with an ETA of about a month in the future. 2) Printer is still out of stock, ETA is a few days away. 3) Monoprice has this printer in stock. This cycle seems to repeat every week or so.

Arduino Raycasting. When you think of raycasting, you probably think about Wolfenstein 3D, or other barely 3D games. You don’t need a powerful CPU like a 386 for raycasting – you can do it on an Arduino. The display is a 32×16 matrix of LEDs, control is through a Wii Nunchuck, and yes, head-bobbing is implemented. Here’s a video.

Premier Farnell Sold To Swiss Firm

According to this article in the Guardian, Premier Farnell, the electronics parts distributor who is also a UK manufacturer of the Raspberry Pi, is going to be sold to Dätwyler. Their share price immediately rose 50%, closing at just under the Swiss firm’s offer price.

Farnell itself had been on a binge, according to Wikipedia anyway, buying up electronics distributorships in Poland, India, and the US. In 2009, they bought Cadsoft, the makers of Eagle CAD software. Now they’re being sold to another distributor.

Bloomberg writes this up as being just more consolidation in an already consolidating market. What any of this will mean for the hacker on the street is anyone’s guess, but we’re putting our money on it amounting to nearly nothing. But still, now’s the time to stock up on your genuine UK-owned, made-in-UK Pis before they become Swiss-owned and made who knows where.

Hackaday Prize Entry: Micro Robots For Education

[Joshua Elsdon] and [Thomas Branch] needed a educational hardware platform that would fit into the constrained spaces and budgets of college classes. Because nothing out there that was cheap, simple and capable enough to fit their program, the two teachers for robotics at the Imperial College Robotics Society set out to build their own – and entered the Hackaday Prize with a legion of open source Micro Robots.

These small robots have a base area of 2 cmand a price tag of about £10 (about $14) each, once they are produced in quantities. They feature two onboard stepper motors, an RGB-LED, battery, a line-following sensor, collision-sensors and a bidirectional infrared transmitter for communicating with a master system, the ‘god bot’. The master system is based on a Raspberry Pi with little additional hardware. It multiplexes the IR-communication with all the little robots and simultaneously tracks their position and orientation through a camera, identifying them via their colored onboard LED. The master system also provides a programming interface for the robots, so that no firmware flashing procedure is required for students to get their code running. This is a well-designed, low-cost multi-robot system, and with onboard sensors, stepper motor odometry, and absolute positioning feedback, these little robots can be taught quite a few tricks.

Building tiny robots comes with a lot of regular-sized challenges, and we’re delighted to follow [Joshua Elsdon] and [Thomas Branch] on their journey from assembling the tiny PCBs over experimenting with 3D printing and casting techniques to produce the tiny wheels to the ROS programming. The diligent duo is present in the Hackaday prize twice: With their own Micro Robots project and with their contribution to the previously covered ODrive – an open source BLDC servo controller. We are already curious about their next feat! The below video shows a successful test of the camera feedback integration into the ROS.

The HackadayPrize2016 is Sponsored by: