An Introduction To The BeagleBone PRU

BBB While the BeagleBone is usually compared to the Raspberry Pi, there are a few features that make the ‘Bone a vastly more capable single board computer. There is a small difference in the capabilities of the processor, but the real power of the BeagleBone comes from the PRUs available: two small cores that give the BeagleBone the hardware equivalent of bitbanging pins. [Texane] has put up two great tutorials for using the PRU in the BeagleBone that should be required reading for every BeagleBone owner.

The first tutorial goes over the capabilities of the PRUs in the BeagleBone and setting up the software environment to develop your own hardware interfaces with the PRU. While writing code for the PRU has usually involved the Beagleboard packages, TI has recently released a version of Code Composer Studio that gives the option to compile C code for the PRU.

[Texane] used this C compiler to rehash the earlier, assembly only PRU program, making development significantly easier. There’s still a bit of inline assembly, and the inline assembly support isn’t as advanced as in GCC, but it’s still much easier than the assembly only variant.

While [Texane] is using the PRU in his BeagleBone to develop something at a synchrotron facility, three are a few things where really fast hardware bitbanging comes in handy: it can be used to make a video card for a vintage mac, or any sort of VGA video card, really. Very cool stuff, especially now that you can write something in C.

Hackaday Links: June 22, 2014

hackaday-links-chain

Solar Freakin’ Roadways! There’s been a lot of talk about how solar freakin’ roadways are an ill-conceived idea, and now [Dave Jones] is weighing in on the subject. Highlights include a quarter of the solar power generated being used to light the LEDs that form the lane markers, something that could easily be accomplished with paint. Oh, the solar freakin’ roadway campaign is over. Just over $2.2 million, if you’re wondering.

The Game Boy Micro is the best way to play GBA games, but finding one for a reasonable price just isn’t going to happen. [John Sparks] is making his own Macro Micros by casemodding a DS Lite.On the subject of Game Boy mods, [koji-Kendo] is improving the common frontlight Game Boy Color mod with optically clear UV curing glue. Without glue on the left, with glue on the right.

Need to label a panel with the function of all your switches and dials? Yeah, you could drop the panel into an engraver, till the engraved letters with enamel, or do some electroetching. You can also buy a pack or rub-on letters, available in any Michaels, Hobby Lobby, or the like.

MSI Afterburner is a utility that allows you to play with settings and monitor performance on MSI graphics cards. [Stephen] made a little device for MSI Afterburner that displays the current FPS and GPU load on an external LCD. Handy, seeing as how FPS and GPU load is the one thing you’ll want to know when you’re gaming fullscreen.

Realtime cloudmaps of the Earth. Using reasonably recent images take from five geostationary satellites, you can stitch together a real-time cloud map of the entire Earth. Here’s the software to do it. Now all you need is a projector and pair of frosted acrylic hemispheres, and you have a real-time globe.

Say you have a Kickstarter in the works, and you’re trying to figure out all the ways to get some buzz from the Internet public.. Here’s how you get it to the front page of hackaday.io using a bit of Perl. “So far, this page has been updated 02578 times.”

One-Off Kapton Solder Masks

soldermask

With the proliferation of desktop routers, and a number of easy methods to create PCBs at home, there’s no reason anyone should ever have to buy a pre-made breakout board ever again. The traditional techniques only give you a copper layer, however, and if you want a somewhat more durable PCB, you’ll have figure out some way to create a solder mask on your homebrew PCBs. [Chris] figured Kapton tape would make a reasonable soldermask, and documented the process of creating one with a laser cutter over on the Projects site.

The solder mask itself is cut from a piece of Kapton tape, something that should be found in any reasonably well-stocked tinkerer’s toolbox. The software for [Chris]’ laser cutter, a Universal Laser Systems model, already has a setting for mylar film that came in handy for the Kapton tape,

Of course, getting the correct shapes and dimensions for the laser to cut required a bit of fooling around in Eagle and Corel Draw. The area the laser should cut was taken from the tCream and tStop layers in Eagle with a 1 mil pullback from the edges of the pads. This was exported to an .EPS file, opened in Corel Draw, and turned into a line art drawing for the laser cutter.

The result is a fast and easy solder mask that should be very durable. While it’s probably not as durable as the UV curing paints used in real PCBs, Kapton will be more than sufficient for a few prototypes before spinning a real board.

Tic Tac Clock

tic-tac-clock

Here’s an excuse to eat a bunch of Tic Tac candies: once the container is empty it makes a nice little enclosure for your next project. This particular offering introduces a point-to-point clock project that’s a ton of fun.

[Danny Chouinard] did a lot with very little. You can get the gist of the circuit just by looking at the photos above. it uses a 3×5 Charlieplexed LED display (this is given away by the fact that there’s only a few resistors on the board. A bit difficult to see, but between the resistors and the ATtiny84 there is a clock crystal, and on the back is a little piezo buzzer. The one thing that isn’t completely obvious is the power source. Two AAAA batteries, salvaged from a 9V battery, are able to keep the unit running at an estimated 2 years of moderate use.

The video after the break is worth a look though. It shows the various characters and information that can be flashed on the LED matrix. At first it’s hard to tell that the single user input button is being pressed by [Danny’s] thumb.

If you don’t want to build a clock, there are still plenty of reasons to eat a whole container of these mints. You could replace them with a PIC programmer or a discreet camera.

Continue reading “Tic Tac Clock”

Wooden Band Saw Fears Its Wood-Cutting Brethren

DIY Wooden Bandsaw

What is cooler than building a band saw out of wood? Building two, of course! And that is exactly what [Pekka] did. The first was a small bench top model while the second was a much larger version with the saw blade strung between big 13-3/4 inch wheels. For those who are unfamiliar with band saws, they are tools that have a long thin blade that is routed around rotating wheels. The wheels are spread apart to make the blade taut. Unlike the reciprocating action of a jigsaw, saws-all or scroll saw, the band saw blade continually rotates in one direction. These blades are typically thin making it easy to cut irregular and curved shapes.

The frame of [Pekka’s] larger machine is made from 35mm (~1-3/8″) plywood. This proved to be a sturdy frame material. The previously mentioned wheels were made by gluing pieces of oak together, mounting the assembly on a wood lathe and turning the outer diameter down to size. By using multiple piece of wood to construct the wheels allows the grain direction of each portion to be parallel with the blade. This method of construction ensures any expansion/contraction of the wood is uniform around the wheel. A strip of rubber around the blade’s outer diameter provides the friction required to prevent the blade from slipping.

[Pekka’s] friend was nice enough to turn the flanged axle shafts on his metal lathe. These shafts support the wooded wheels and are mounted in pillow block bearings. The upper pillow blocks are mounted to a sliding support that allows adjusting the tension of the saw blade. [Pekka] was not going to be satisfied with a one-speed band saw so he grabbed a motor he had kicking around that originally came from a wood lathe and already had 4 different sized pulleys mounted on the shaft.

This is a great project that shows what can be done with a little desire and ingenuity.

CNC Plasma Cutter Build Presented In Excruciating Detail

If you have been wondering what it takes to build a CNC Plasma Cutter then get ready to look no further. [Desert Fabworks] has documented the trials and tribulations of their CNC Plasma Cutter build. Saying it is extremely detailed would be an understatement. They cover everything from choosing components to machine setup.

The group already had a CNC Plasma Cutter that they have outgrown. To justify the new purchase the replacement machine would have to have a few non-negotiable features: 4×8 ft cutting area, torch height control, water table, cutting up to 1/2″ steel and be easy to operate and maintain. For the frame and gantry, they settled on a Precision Plasma kit as they felt it was the best value that met their requirements. The electronics package was separate from the frame kit and was provided by CandCNC. Among other things, this package included the power supply, stepper motors, stepper drivers and the torch height controller. For the plasma cutter itself [Desert Fabworks] chose a Hypertherm Powermax65 which can cut up to an inch thick of mild steel and has swappable torches so the main unit can be used for both the CNC table and hand cuts.

Continue reading “CNC Plasma Cutter Build Presented In Excruciating Detail”

Converting CTs And MRIs Into Printable Objects

People get CT and MRI scans every day, and when [Oliver] needed some medical diagnostic imaging done, he was sure to ask for the files so he could turn his skull into a printable 3D object.

[Oliver] is using three different pieces of software to turn the DICOM images he received from his radiologist into a proper 3D model. The first two, Seg3D and ImageVis3D, are developed by the University of Utah Center for Integrative Biomedical Computing. Seg3D stitches all of the 2D images from an MRI or CT scan into a proper 3D format. ImageVis3D allows [Oliver] to peel off layers of his flesh, allowing him to export a file of just his skull, or a section of his entire face. The third piece of software, MeshMixer, is just a mesh editor and could easily be replaced with MeshLab or Blender.

[Oliver] still has a lot of work to do on the model of his skull – cleaning up the meshes, removing his mandible, and possibly plugging the top of his spinal column if he would ever want to print a really, really awesome mug. All the data is there, though, ready for digital manipulation before sending it off to be printed.

Continue reading “Converting CTs And MRIs Into Printable Objects”