Sunday, December 31

Making A Classic Chip From Discretes

A hackspace discussion of voltage regulators within our earshot touched on the famous μA723, then moved on to its competitors. Kits-of-parts for linear regulators were ten-a-penny in the 1970s, it seems. A rambling tale ensued, involving a Lambda power supply with a blown-up chip, and ended up with a Google search for the unit in question. What it turned up was a hack from 2014 that somehow Hackaday missed at the time, the replication by [Eric Schlaepfer] of an out-of-production regulator chip using surface-mount semiconductors when his Lambda PSU expired.

Lambda were one of those annoying electronics companies with a habit of applying their own part numbers to commonly available chips in an effort to preserve their spares sales. Thus the FBT-031 in this Lambda PSU was in fact a Motorola MC1466, a dirt-cheap common part in the 1970s. Unfortunately though unlike the 723 the MC1466 has long passed out of production, and is rarer than the proverbial hen’s tooth.

Happily, these chips from the early 1970s were often surprisingly simple inside. The MC1466 schematic can be found on its data sheet, and is straightforward enough to replicate with surface-mount discrete components. He thus created a PCB that replicated the original pin layout even though it overlapped the original footprint. A few parts were slightly unusual, dual transistor arrays and a matched triple diode, but the result proved to be a perfect replacement for a real MC1466. Of course a project like this is almost too simple for [Eric], who went on to build the incredible Monster 6502.

If the data sheet lacks a schematic, never fear. You can always try reverse engineering the chip directly.


Filed under: classic hacks

One String, One Print, One Harp

To exclude musical instruments in the overflowing library of possibility that 3D printing enables would be a disservice to makers and musicians everywhere. For the minds over at [Makefast Workshop], an experimental idea took shape: a single stringed harp.

The TuneFast Harp needed enough notes for a full octave, robust enough to handle the tension of the string, a single tuning mechanism and small enough to print. But how to produce multiple notes on a harp out of only one string? V-grooved bearings to the rescue! The string zig-zags around the bearings acting as endpoints that rotate as its tuned, while the rigid PLA printing filament resists deforming under tension.

After a bit of math and numerous iterations — ranging from complete reconfigurations of part placements to versions using sliding pick mechanisms using magnets! — a melodic result!

Assembling the harp, the main points to note are ensuring the bearings rotate freely — otherwise, your tuning will be off — and giving each note’s section of string a quick check to ensure even tension. The TuneFast harp works with most standard guitar strings — though steel strings may cause the harp to deform further — and once tightened to a reasonable degree, it’s ready to play! Further fiddling will change the key, but that’s up to the maker-musician’s discretion. Paired with The Hovalin and a few others, you have the makings of the first 3D-printed orchestra.


Filed under: 3d Printer hacks, Musical Hacks

Old Logic Analyzer becomes New PC Case

There are a lot of cool ways to wrap a case around your custom PC build. But the off-the-shelf stuff doesn’t really set your machine apart from the herd, no matter how many RGB LEDs you put inside. If you really want to stand out, think out of the box, and build your PC into the case of an old logic analyzer.

Looking for a little retro cool factor, [Bob Alexander] turned to the world’s boneyard, eBay, and rounded up a dead H-P 1653 logic analyzer. State of the art in 1989 but not worth repairing by [Bob]’s lights, so he proceeded to remove the original 10″ CRT to make room for an alternate display. After a bit of experimentation, he settled on an LCD panel mounted behind a sheet of acrylic that he thermoformed to the shape of the CRT face. All the original guts were removed to make way for the motherboard and power supply, and a custom PCB to interface the original keypad and rotary encoder into the PC. The old buttons now launch various programs and the encoder acts as the PC volume control. The floppy drive made way for a USB hub, the BNC connectors became power and reset buttons, and a photo taken through the CRT bezel before the electronics were removed provides a window into the soul of the original instrument. It’s a really nice build, and totally unique.

Need some inspiration for your custom case mod? This wall-mounted render farm is pretty snazzy. Or perhaps you’d prefer something more apocalyptic, like this ammo can PC.


Filed under: classic hacks, computer hacks

Find Your Way with Tiny Laser Beams

For their final project in embedded microcontroller class, [Aaheli, Jun, and Naomi] turned their focus toward assistive technology and created an Electronic Travel Aid (ETA) for the visually impaired that uses haptic feedback to report the presence of obstacles.

We have seen a few of these types of devices in the past, and they almost always use ultrasonic sensors to gauge distance. Not so with this ETA; it uses six VL53L0X time-of-flight (ToF) sensors mounted at slightly different angles from each other, which provides a wide sensing map. It is capable of detecting objects in a one-meter-wide swath at a range of one meter from the sensors.

The device consists of two parts, a wayfinding wand and a feedback module. The six ToF sensors are strapped across the end of a flashlight body and wired to an Arduino Mini inside the body. The Mini receives the sensor data over UART and sends it to the requisite PIC32, which is attached to a sleeve on the user’s forearm. The PIC decodes these UART signals into PWM and lights up six corresponding vibrating disc motors that dangle from the sleeve and form a sensory cuff bracelet around the upper forearm.

We like the use of ToF over ultrasonic for wayfinding. Whether ToF is faster or not, the footprint is much smaller, so its more practical for discreet assistive wearables. Plus, you know, lasers. You can see how well it works in the demo video after the break.

This device is intended to augment the traditional white cane, not replace it. This virtual cane we saw a few years ago is another story.


Filed under: Microcontrollers, Wearable Hacks

Wireless Charger Truck Mod Keeps Juice Flowing On The Move

Wireless charging is great tech, but its relative novelty means it may not be everywhere you want it. When one of those places is your vehicle, well, you make like [Braxen McConnell] and crack it open to install a wireless charger!

After dismantling the centre console, [McConnell] had to make a few cuts behind the scenes to make room for the wireless charger — as well as cutting down the charger itself. He also took apart the charger and flipped the board and charging coil around inside its case; the reason for this is the closer the coil is to the phone, the better. The charger will already be hidden behind the plastic of the centre console, so it’s no good to be fighting through the extra distance of the charger’s internals. The charger was mounted with double-sided tape, since it’s relatively light and won’t be knocked about.

[McConnell] tapped into the accessory circuit on his truck so it would only be drawing current when the truck is on — nobody likes coming back to a dead battery! Power comes from a cigarette outlet connected to a USB car charger, which then powers the wireless charger — it’s a little hacky, but it works! Once the wireless charger is plugged in and the centre console is reinstalled, [McConnell] was set! Check out the build video after the break.

Whether it’s designing your own wireless charging circuit from scratch, or leeching power from more dangerous sources, wireless power might just stick around for a bit longer than your standard gimmick.

[Via /r/DIY]


Filed under: Wireless Hacks

34C3: North Korea’s Consumer Technology

A Clear Christmas Tree Means More Lights!

For all the hustle and bustle of the holiday season, people still find ways to make time for their passions. In the lead up to Christmas, [Edwin Mol] and a few co-workers built themselves an LED Christmas tree that adds a maker’s touch to any festive decor.

Before going too far, they cut out a cardboard mock-up of the tree. This an easy step to skip, but it can save headaches later! Once happy with the prototype, they printed off the design stencils and cut the chunks of clear acrylic using power tools — you don’t need a laser cutter to produce good stuff — and drilled dozens of holes in the plastic to mount LEDs, and run wires.

A Raspberry Pi 3 and Arduino Uno make this in league with some pretty smart Christmas trees. MAX6968 5.5V constant-current LED driver chips and MOFSETs round out the control circuit. During the build, the central LED column provided a significant challenge — how often do you build a custom jig to solder LEDs? That done, it’s time for a good ol’-fashioned assembly montage! The final product can cycle through several different lighting animations in a rainbow of colours — perfect for a festive build.

Even though Christmas has just passed, your holiday hacks are still flooding in! While you wait for us to push those out the metaphorical door, check out some of our other favorites like this massive pixel display, a free-formed LED tree, and a Raspberry Pi gingerbread house.


Filed under: Arduino Hacks, Holiday Hacks

Making Acrylic Pour Art with a Colander

Forget spin art. Try your hand at creating some cool art with a kitchen colander.

Read more on MAKE

The post Making Acrylic Pour Art with a Colander appeared first on Make: DIY Projects and Ideas for Makers.

Laptop with Raspberry Pi Inside Learns to Speak Battery

Saturday, December 30

34C3: Using Your Car As Video Game Controller

Despite the presence of human drivers, modern cars are controlled by computers. In his talk at the Chaos Communication Congress [Guillaume Heilles] and [P1kachu] demonstrate the potential of taking control of a car’s computer. This of course leads to the natural conclusion of emulate an Xbox controller and using the car to play computer games.

His research was limited by the fact that the only cars they had access to were the daily drivers of different members of [P1kachu]’s family, which meant that all tinkering had to be strictly non-destructive. Despite this, they achieved impressive results and deliver a great introduction into reverse engineering.

[P1kachu] used a RasPi and an OBD-II adapter to access the car’s CAN bus and begins the presentation with a quick overview of the protocol. He then briefly touches on security measures that he ran into, which are optional and their implementation varies widely between manufacturers. His first attempt to access the CAN bus was successfully blocked by a challenge-response algorithm doing its work. His mother’s convertible however provided no such obstacles and gaining access allowed him to map the position of the steering wheel and pedals to a game controller, using the car to play video games.

After this, [Guillaume] steps in and walks us through the teardown of a gadget that plugs into the OBD-II port and claims to do amazing things for your car’s mileage by reprogramming the ECU. The device was not brand specific and after having seen the variations in the ways different manufacturers implement the protocol, [Guillaume] and [P1kachu] doubted that the gadget was capable of even holding the information required to modify every known implementation out there. Listening to the output of the device, along with a quick analysis of the circuit followed by decapping the single chip they found, showed that their doubt was justified. The lecture closes with an extended Q&A that adds more information on car hacking. Those that don’t have access to a car can instead tear down hot glue guns, doppler modules or antique calculators.


Filed under: car hacks, cons

BeefBot: Your Robotic Grill Master

Have you ever been too busy to attend to the proper cooking of a steak? Well, lament no more, and warn your cardiologist. A trio of students from Cornell University have designed and built the steak-grilling BeefBot to make your delicious dinner dreams a reality.

[Jonah Mittler], [Kelsey Nedd], and [Martin Herrera] — electrical and computer engineering students — are the ones you should thank for this robot-chef. It works as follows: after skewering the steak onto the robot’s prongs, BeefBot lowers it onto the grill and monitors the internal temperature in a way that only the well-seasoned grillmaster can replicate. Once a set temperature is reached, the steak is flipped — sorry, no crosshatch grillmarks here — and cooked until a desired doneness. A small screen displays the temperature if you want to babysit BeefBot — some manual adjustment may be needed after the steak flip to ensure it is cooking evenly — but it is otherwise a hands-off affair. If you don’t mind salivating over your screen, check out the project demonstration after the break.

At first glance you might think this a YouTube stunt, but this is real science. The writeup is exquisite, from the design and fabrication, to the math behind temperature calibration and regulation. Kudos to the hungry Cornell students who slaved over a hot griddle bringing this one to life!

Now that you’re thinking about dinner, but realizing your grill needs an upgrade, consider turbo charging it! Before that, however, if you keep your food in a deep-freezer, here’s a hack that will let your know if it loses power so you can save your steaks!


Filed under: cooking hacks, Robots Hacks

The Woman Who Smashed Codes: Your new winter reading assignment

After “swatting” death in Kansas, 25-year old arrested in Los Angeles

Electromagnet-Powered Pendulum

We’re always happy to see hackers inspired to try something different by what they see on Hackaday. To [SimpleTronic] has a project that will let you stretch your analog electronics skills in a really fun way. It’s an electromagnet pendulum analog circuit. Whether you’re building it, or just studying the schematics, this is a fun way to brush up on the non-digital side of the craft.

The pendulum is a neodymium magnet on the head of a bolt, dangling on a one foot aluminium chain. Below, a Hall Effect sensor rests atop an electromagnet — 1″ in diameter, with 6/8″ wire coiled around another bolt. As the pendulum’s magnet accelerates towards the electromagnet’s core, the Hall effect sensor registers an increase in voltage. The voltage peaks as the pendulum passes overhead, and as soon as the Hall Effect sensor detects the drop in voltage, the electromagnet flicks on for a moment to propel the pendulum away. This circuit has a very low power consumption, as the electromagnet is only on for about 20ms!

The other major components are a LM358N op-amp, a CD4001B quad CMOS NOR gate, and IRFD-120 MOSFET. [SimpleTronic] even took the time to highlight each part of the schematic in order to work through a complete explanation.

In the end, this analog circuit should help newcomers get familiar with electromagnets so they can move on to the next logical steps: coil guns and web shooters.

[Via Hackaday.io]


Filed under: classic hacks

Do we need a tech boom for the elderly?

How a Star Trek card game quietly continues, 10 years after its official end

(video link)

Earlier this year, I was back at my childhood home in Southern California, digging through some old boxes. Amidst assorted baseball cards, long-forgotten school projects, sports trophies, and more, I located a small, slender white cardboard box.

The box is unmarked, except for a small sticker in the top left-hand corner with my name on it. But I knew what it was the instant I saw it: my entire collection of Star Trek Customizable Card Game (STCCG), probably a couple hundred cards in total.

Read 52 remaining paragraphs | Comments

Espple: A Wireless Apple 1 on an ESP8266

The Apple 1 was one of the three big hobbyist computers that burst onto the scene in 1977. Unlike the PET 2001 and the TRS-80, only a couple hundred Apple 1s were ever produced, and with only a handful in existence today, you’ll have to fork out some serious money to get a Wozniak original for yourself.

The Apple 1 experience is easily emulated, of course, but this ESP8266 emulates the Apple 1 on hard mode. Dubbed the Espple by its creator [Hrvoje Cavrak], it emulates the 6502-based original in all its 1-MHz glory, while providing 20-kB of RAM, a considerable upgrade over the 4-kB standard. The complete original character set is provided for that old-timey feel, and there’s a BASIC interpreter ready to go. The kicker here, though, is that the emulator is completely wireless. You telnet into the 8266 rather than connecting a keyboard directly, and video is transmitted over-the-air using a GPIO pin as a 60-MHz PAL transmitter. A short length of wire is all you need to transmit to an analog PAL TV on channel 4; the video below shows a little BASIC code running and a low-res version of Woz himself.

You’ll find Apple emulators aplenty around these parts, everything from an Apple ][ on an Arduino Uno to a tiny Mac on an ESP32. There hasn’t been much in the way of Apple 1 emulations, though, at least until now.


Filed under: classic hacks, computer hacks

Fresh-Baked Plastic Tiles For All!

Recycling aims to better the planet, but — taken into the hands of the individual — it can be a boon for one’s home by trading trash for building materials. [fokkejongerden], a student at the [Delft University of Technology] in the Netherlands, proposes one solution for all the plastic that passes through one’s dwelling by turning HDPE into tiles.

Collecting several HDPE containers — widely used and easy enough to process at home — [fokkejongerden] cleaned them thoroughly of their previous contents, and then mulched them with a food processor. An aluminium mold of the tile was  then welded together making sure the sides were taller than the height of the tile. A second part was fabricated as a top piece to compress the tile into shape.

After preheating an oven to no hotter than 200 degrees Celsius, they lined the mold with parchment paper and baked the tile until shiny(90-120 minutes). The top piece was weighed down (clamping works too), compressing the tile until it cooled. A heat gun or a clothes iron did the trick to smooth out any rough edges.

Not only does [fokkejongerden]’s tiles give the recycler plenty of artistic freedom for creating their own mosaic floor, the real gem is the adaptable plastic recycling process for home use. For another method, check out this recycled, recycling factory that turns bottles in to rope and more! There’s even the potential for fueling your 3D printer.

[Via Instructables]


Filed under: green hacks, home hacks, how-to

34C3: Hacking the Nintendo Switch

Arduino Trivia Box is a Gift Unto Itself

34C3: Fitbit Sniffing and Firmware Hacking

If you walked into a gym and asked to sniff exercise equipment you would get some mighty strange looks. If you tell hackers you’ve sniffed a Fitbit, you might be asked to give a presentation. [Jiska] and [DanielAW] were not only able to sniff Bluetooth data from a run-of-the-mill Fitbit fitness tracker, they were also able to connect to the hardware with data lines using test points etched right on the board. Their Fitbit sniffing talk at 34C3 can be seen after the break. We appreciate their warning that opening a Fitbit will undoubtedly void your warranty since Fitbits don’t fare so well after the sealed case is cracked. It’s all in the name of science.

There’s some interesting background on how Fitbit generally work. For instance, the Fitbit pairs with your phone which needs to be validated with the cloud server. But once the cloud server sends back authentication credentials they will never change because they’re bound to to the device ID of the Fitbit. This process is vulnerable to replay attacks.

Data begin sent between the Fitbit and the phone can be encrypted, but there is a live mode that sends the data as plain text. The implementation seemed to be security by obscurity as a new Bluetooth handle is used for this mode. This technique prevents the need to send every encrypted packet to the server for decryption (which would be for every heartbeat packet). So far the fix for this has been the ability to disable live mode. If you have your own Fitbit to play with, sniffing live mode would be a fun place to start.

The hardware side of this hack begins by completely removing the PCB from the rubber case. The board is running an STM32 and the team wanted to get deep access by enabling GDB. Unfortunately, the debug pins were only enabled during reset and the stock firmware disables them at startup (as it should). The workaround was to rewrite the firmware so that the necessary GPIO remain active and there’s an interesting approach here. You may remember [Daniel Wegemer] from the Nexmon project that reverse engineered the Nexus 5 WiFi. He leveraged the binary patching he used on Nexmon to patch the Fitbit firmware to enable debugging support. Sneaky!

For more about 34C3 we have a cheatsheet of the first day and for more about Fitbit security, check out this WAV file.


Filed under: cons, Security Hacks, Wearable Hacks

Friday, December 29

Tips of the Year: The Best Tips of 2017

A roundup of some of the best tips we came across this year.

Read more on MAKE

The post Tips of the Year: The Best Tips of 2017 appeared first on Make: DIY Projects and Ideas for Makers.

Seven-Segment Flip Clock Display Finally Finished

Earlier this year, we mentioned in a Hackaday Links article that [Spencer Hamblin] was in the process of building a seven-segment flip clock. Well, it’s finally finished, and it looks great!

Vintage seven segment digits make up the display. These digits work the same way that flip-dot displays work – current through each segment’s coil creates a magnetic field which causes the segment to flip over. Current in the other direction creates the opposite magnetic field and flips the segment the other way. On these digits, there are three connections on the coils. The middle one is power and the other two are used to enable and disable the segment – ie., flip it one way or the other. To save on pins on the microcontroller, [Spencer] connected all the middle coil pins together on a digit. Each coil can be powered using a single pin on the microcontroller. Similarly, the segments for each digit are connected together as well, so one pin on the micro controls the same segment on each of the digits. The microcontroller in question is the AVR ATMega48.

There are two parts of the clock face left to do: AM/PM and whether the alarm is set or not. [Spencer] used a fifth digit, slightly offset, for those – the top and middle segments are used.

For the housing of the clock, [Spencer] used layers of offsetting colored wood. The wood (sapele and ash) were CNC cut and aligned. The back plate, also made from wood, holds buttons for setting the time and alarm, as well as some LEDs for what [Spencer] calls the “daylight alarm.” A capacitive sensor on the top of the unit (inside the wooden case) is used to turn the alarm off.

The result, after sanding and shellacing, looks amazing. [Spencer] nailed the art-deco look he was going for. There are plenty of pictures and the circuit designs, schematics and code are on [Spencer]’s Hackaday.io page, and you can find the Hackaday links post here. This is a complete log of a project we mentioned earlier on Hackaday, here, but there are other mechanical flip display clock projects, such as this DIY mechanical flip seven-segment prototype, or, you could create your own (really big) clock using this Lego mechanical seven-segment display.

via Reddit.


Filed under: clock hacks

Kansas man’s death may have resulted from Call of Duty “swatting”

Does a lower “total cost of ownership” boost electric car sales?

[Ken Shirriff] Becomes a Core Memory Repairman (Again)

Apple Store designers appear to have forgotten about Chicago winters

Matt Maldre, spudart.com

Apple’s new store on the Chicago riverfront has received plaudits for its design. Chicago Tribune architecture critic Blair Kamin called it “thrillingly transparent, elegantly understated, and a boon to the city’s riverfront.” But in designing Apple's latest "statement" store, which features a large open plaza and a roof reminiscent of a MacBook, London-based architects Foster + Partners appear to have overlooked one crucial detail: Chicago winters.

As Matt Maldre at Spudart points out, the lack of gutters on the roof has forced Apple to close off the plaza surrounding the store. Not only is there a risk of snow falling off the sloped roof, there are some nasty-looking icicles hanging there as well.

Read 1 remaining paragraphs | Comments

14-year-old girl faces child porn charges for sending nude selfie

Retrotechtacular: 1950s Televisions Were Beasts

Drone collides with US Army helicopter, puts 1.5“ dent in rotor

Take the Coin Cell Challenge This Weekend!

Dig Into the Apple Device Design Guide

Millions of people worldwide have just added new Apple gadgets to their lives thanks to the annual end of December consumerism event. Those who are also Hackaday readers are likely devising cool projects incorporating their new toys. This is a good time to remind everybody that Apple publishes information useful for such endeavors: the Accessory Design Guidelines for Apple Devices (PDF).

This comes to our attention because [Pablo] referenced it to modify an air vent magnet mount. The metal parts of a magnetic mount interferes with wireless charging. [Pablo] looked in Apple’s design guide and found exactly where he needed to cut the metal plate in order to avoid blocking the wireless charging coil of his iPhone 8 Plus. What could have been a tedious reverse-engineering project was greatly simplified by Reading The… Fine… Manual.

Apple has earned its reputation for hacker unfriendliness with nonstandard fasteners and liberal use of glue. And that’s even before we start talking about their digital barriers. But if your project doesn’t involve voiding the warranty, their design guide eliminates tedious dimension measuring so you can focus on the fun parts.

Dimensioned drawing of Apple iPad Pro

This guide is packed full of dimensioned drawings. A cursory review shows that they look pretty good and aren’t terrible at all. Button, connector, camera, and other external locations make this an indispensable tool for anyone planning to mill or print an interface for any of Apple’s hardware.

So let’s see those projects! Maybe a better M&M sorter. Perhaps a time-lapse machine. Or cure your car’s Tesla envy and put a well-integrated iPad into the dashboard.


Filed under: Cellphone Hacks, iphone hacks

Try This for 3D Printing Without Support

Have a look at the object to the right. Using a conventional fused deposition printer, how would you print the object? There’s no flat surface to lay on the bed without generating a lot of overhangs. That usually requires support.

In theory, you might be able to print the bottom of the sphere down, but it is difficult to get that little spot to adhere to the bed. If you have at least two extruders and you are set up to print support material, that might even be the best option. However, printing support out of the same material you are printing with makes it hard to get a good clean print. There is another possibility. It does require some post-processing, but then again, not as much as hacking away a bunch of support material.

A Simple Idea

The idea is simple and — at first — it will sound like a lot of trouble. The basic idea is to cut the model in half at some point where both halves would be easy to print and then glue them together.  Stick around (no pun intended), though, because I’ll show you a way to make the alignment of the parts almost painless no matter how complex the object might be.

The practical problem with gluing together half models is getting the pieces in the exact position, but that turns out to be easy if you just make a few simple changes to your model. Another lesser problem is clamping a piece while gluing. You can use a vise, but some oddly-shaped parts are not conducive to traditional vise jaws.

In Practice

Starting with an OpenSCAD object, it is easy to cut the model in half. Actually, you could cut it anywhere. Then it is easy to rotate half of it so the cut line is at the bottom of each part. That doesn’t solve the alignment problem nor does it help you clamp when you glue.

The trick is to build a flange around each part. The flanges mate with a few screws after printing so alignment is perfect and bolts through the flange holes can keep the parts together and immobilized while your glue of choice sets. The kicker is that I even have an automated process to make the design side of this trick very easy.

You might cry foul. After all, this is just another form of support right? Not really. At least, not in the sense of support generated by programs like Cura or Slic3r. Slicers automatically generate support that uses a special pattern made to make it easier to tear away but it contacts all the surfaces that are overhanging. Unless you use a second material and a solvent that can attack your support but not your main part, you are going to have scars all over the part. With the flange method, you have a small number of beams that connect the flange to the part. The beams are easy to remove and while they may leave a little scar, they are easy to remove since they are small and only in very specific places.

Does it Work?

I’ve actually used this technique on a few practical projects. Although the part I printed for this example is just a test object, it shows the results of the technique quite well.

There are a few marks where the flange beams joined the main part, but they were easy to file away. If you had printed this in any orientation with traditional support it would have taken a lot more time and effort to get to a similar appearance, if you could at all. With the flange method, I simply applied some glue, inserted two screws, waited a bit, and then cut the flanges off with flush cutters. The whole process took under five minutes although some glues can take longer, of course.

I didn’t do any filing or sanding, so with more effort this could look even better. I also dinged the sphere a little bit pulling it up from the print bed (BuildTak works almost too well sometimes). However, the part still came out fine and prying a part off the bed aggressively is always a problem. It doesn’t factor into this technique.

Here’s how the parts looked coming off the print bed:

How To

Of course, now that you know this trick, you could just cut your models manually and build the flanges and support structures. That’s how I did the first one a few years ago but ever since I have wanted to automate it. Ideally, it would be great to have an OpenSCAD function that just “did the work.” I didn’t quite get there, but I did build a framework that makes it pretty easy. I put the entire file on GitHub.

The framework assumes that you have a module called part that defines your object and should be cut on the XY plane. Of course, if you don’t have that form, it is easy to wrap your code in a module and rotate and translate it to the proper point. Here’s the module for the test object:

// This is the odd-shaped part in question
module part() {
 union () {

difference() {
 sphere(r=20);
 translate([-20,-20,0]) cube([45,45,20]);
 }

difference() {
 translate([-9,-9,0]) cube([18,18,30]);
 translate([-2.5,0,0]) cube([5,25,15]);
 }

translate([0,0,30]) cylinder(r=5,h=5);
 }
}

If you prefer, you could call that module something like part0 and then write:

module part() {
 rotate([0,0,0]) translate([0,0,0]) part0();
}

Of course, you’d change the [0,0,0] parts to suit where you wanted to cut.

The rest of the OpenSCAD file has the code to cut your part in pieces, flip them, and add the flanges. There are some variables you can set to control things:

// Flange parameters
od=60; // outside diameter
odr=od/2; 
id=48; // inside diameter
idr=id/2;
flangeh=2; // height of flange
flangeboltr=1.9; // size of bolt holes
flangebeamw=2; // width of flange beams
flangebeamh=2; // height of flange beams (usually same as flangeh)
flangerotate=34; // rotation of flange beams

// part offset
offsetx=50; // put the other part this far away
offsety=50;
bigcutbox=1000; // box used to cut away half the model; just has to be bigger than model

Of Interest: The hull() function

If you want to dig into the OpenSCAD code, most of it is pretty straightforward. There’s only one part that is a little tricky. You can assume that the part is flat where you split it, but you can’t assume that it is solid. Initially,  I just built the flange and beams and merged them with the part.

However, in the test object, this doesn’t work well. See the cutout on the face of the box? If you just merge the flange, the beams will exist inside that cutout! That is hard to remove and serves no purpose, so it had to go.

Subtracting the part doesn’t work because the cut out is empty and subtracting empty space doesn’t help you. The trick is to find the maximum points of the part using the hull() function. Technically this is a convex hull, but I like to think of it as an envelope. The figure on the right is the result of using the hull function on the test part.

Armed with that, it is easy to subtract the hull from the prototype flange and then merge back the original part:

 difference()
  {
  flange(); // add flange
  hull() part1(); // but cut away "outline" of part
  }
 part1(); // now add part

Post Processing

You can control where the beams intersect the model by changing the rotation. You could also comment out some of the beams for many models. Fewer and smaller beams are better because it reduces the mess when you cut them off. On the other hand, if the beams are too tiny, they will break off when you remove the part from the bed, so there is a trade-off.

I used two small wood screws to hold the pieces together for gluing. You could also use a nut and bolt if you prefer. I usually start the screws or bolts but leave a gap. Then I apply glue to the parts while there is still a gap between them. Tighten the screws and then wait. Obviously, you have to do any surface preparation appropriate for your glue of choice. I was using DAP RapidFuse with PLA, but you may prefer other materials or glues.

I usually unscrew the pieces to make sure the glue held before I remove the beams. If you are certain of your glue, though, you could just cut the flanges free. A pair of flush cutters will make short work of the beams and leave very little residue if you use them right. If you were really wanting things to look good a little sandpaper or an emery board would vanish those beam marks easily.

Other Ideas

You can hack this idea a few different ways. For example, if your printer doesn’t like to make nice circles, you might prefer a rectangular flange. You might want fewer beams or more alignment holes. If your parts are hard to figure out alignment, you might put a mark on the flanges to identify which part goes with what. In the test part’s case, the bottom can rotate freely and it doesn’t matter and in most other cases I’ve done this, the part only goes one way and that way is very obvious.

I don’t know enough about glue science to know if you could do something interesting to the surface during printing to make it hold glue better. For example, you could create little interlocking channels to create more surface area for bonding. You could leave pockets for some sort of glue catalyst. Maybe flat is best, I simply don’t know. Maybe [Dan Maloney] can help.


Filed under: 3d Printer hacks, Featured, Original Art, Skills

Oh snap: How a shrimp closes its claws fast enough to vaporize water

How Hotmail changed Microsoft (and email) forever

Chrome OS 64 beta allows Android apps to run in the background

Robocalls—and complaints about robocalls—are booming

Life is Strange: Before the Storm review: The path to tragedy

Is “Big Data” racist? Why policing by data isn’t necessarily objective

Sonoff Factory Tour is a Lesson on Life in Shenzhen

Amazon Echo Dot Upgraded to Retro Futuristic Look

Learning ARM assembly with visUAL

34C3: Hacking into a CPU’s Microcode

Inside every modern CPU since the Intel Pentium fdiv bug, assembly instructions aren’t a one-to-one mapping to what the CPU actually does. Inside the CPU, there is a decoder that turns assembly into even more primitive instructions that are fed into the CPU’s internal scheduler and pipeline. The code that drives the decoder is the CPU’s microcode, and it lives in ROM that’s normally inaccessible. But microcode patches have been deployed in the past to fix up CPU hardware bugs, so it’s certainly writeable. That’s practically an invitation, right? At least a group from the Ruhr University Bochum took it as such, and started hacking on the microcode in the AMD K8 and K10 processors.

The hurdles to playing around in the microcode are daunting. It turns assembly language into something, but the instruction set that the inner CPU, ALU, et al use was completely unknown. [Philip] walked us through their first line of attack, which was essentially guessing in the dark. First they mapped out where each x86 assembly codes went in microcode ROM. Using this information, and the ability to update the microcode, they could load and execute arbitrary microcode. They still didn’t know anything about the microcode, but they knew how to run it.

So they started uploading random microcode to see what it did. This random microcode crashed almost every time. The rest of the time, there was no difference between the input and output states. But then, after a week of running, a breakthrough: the microcode XOR’ed. From this, they found out the syntax of the command and began to discover more commands through trial and error. Quite late in the game, they went on to take the chip apart and read out the ROM contents with a microscope and OCR software, at least well enough to verify that some of the microcode operations were burned in ROM.

The result was 29 microcode operations including logic, arithmetic, load, and store commands — enough to start writing microcode code. The first microcode programs written helped with further discovery, naturally. But before long, they wrote microcode backdoors that triggered when a given calculation was performed, and stealthy trojans that exfiltrate data encrypted or “undetectably” through introducing faults programmatically into calculations. This means nearly undetectable malware that’s resident inside the CPU. (And you think the Intel Management Engine hacks made you paranoid!)

[Benjamin] then bravely stepped us through the browser-based attack live, first in a debugger where we could verify that their custom microcode was being triggered, and then outside of the debugger where suddenly xcalc popped up. What launched the program? Calculating a particular number on a website from inside an unmodified browser.

He also demonstrated the introduction of a simple mathematical error into the microcode that made an encryption routine fail when another particular multiplication was done. While this may not sound like much, if you paid attention in the talk on revealing keys based on a single infrequent bit error, you’d see that this is essentially a few million times more powerful because the error occurs every time.

The team isn’t done with their microcode explorations, and there’s still a lot more of the command set left to discover. So take this as a proof of concept that nearly completely undetectable trojans could exist in the microcode that runs between the compiled code and the CPU on your machine. But, more playfully, it’s also an invitation to start exploring yourself. It’s not every day that an entirely new frontier in computer hacking is bust open.


Filed under: computer hacks, cons, News

Thursday, December 28

Apple to lower battery replacement costs for select iPhones to $29

Ergonomic Keyboard Designed from the Ground Up

In 2011, [Fabio] had been working behind a keyboard for about a decade when he started noticing wrist pain. This is a common long-term injury for people at desk jobs, but rather than buy an ergonomic keyboard he decided that none of the commercial offerings had all of the features he needed. Instead, he set out on a five-year journey to build the perfect ergonomic keyboard.

Part of the problem with other solutions was that no keyboards could be left in Dvorak (a keyboard layout [Fabio] finds improves his typing speed) after rebooting the computer, and Arduino-based solutions would not make themselves available to the computer’s BIOS. Luckily he found the LUFA keyboard library, and then was able to salvage a PCB from another keyboard. From there, he programmed everything on a Teensy microcontroller, added an OLED screen, and soldered it all together (including a set of Cherry MX switches).

Of course, the build wasn’t truly complete until recently, when a custom two-part case was 3D printed. The build quality and attention to detail in this project is impressive, and if you want to roll out your own [Fabio] has made all of the CAD files and software available. Should you wish to incorporate some of his designs into other types of specialized keyboards, there are some ideas floating around that will surely improve your typing or workflow.


Filed under: computer hacks

Building Simple Speaker Stands

Bob Clagett shows how you can make a handsome set of speaker stands no matter what tools you have available.

Read more on MAKE

The post Building Simple Speaker Stands appeared first on Make: DIY Projects and Ideas for Makers.

FCC tries to make Miami pirate radio station walk the plank

Hackaday Superconference Talk: Cory Grosser

When we look at a product or project here at Hackaday it is likely that our interest has been caught by its internal technology, or perhaps by its functionality. It is easy to forget that there is another angle to each and every item that graces these pages, and it is every bit as important as those we have already mentioned. Aesthetic design, the look and feel of a product, is something that is so often overlooked.

One of the speakers at the Hackaday Superconference was [Cory Grosser], one of America’s leading independent product designers, and the designer of the Supplyframe Design Lab in which the Superconference was being held. In his talk he covered some of the principles of design, touching on its psychology and its purpose in creating a successful product. In doing so he delivered a fascinating talk full of insights into the design of products both famous and somewhat obscure.

The Spoon and the Smartphone

Cory starts by asking the question: does form follow function? His examples were well-chosen, a spoon and a smartphone.

The function of the spoon is easy to define, but the smartphone has hundreds if not thousands of functions and thus its form is not dictated by them in particular. Design can be defined in terms of psychology, identifying instinctive, rational, and narrative influences in a nuclear flask designed to signify danger, a classic Honeywell thermostat, and a wine storage product inspired by a bowling ball.

Emotion has a huge influence on design, particularly in engineering a design that will be sold to its users. Cory details the Philipe Starck Alessi lemon squeezer, the first iPod, and then Apple’s iconic adverts featuring their then-unique white earbuds. Products that you want to own despite your perhaps having little use for them, and products that create a tribe around their ownership.

What is the Context of the Design?

Perhaps the most interesting point he made though was that there is sometimes an emphasis on design for its own sake as in fulfilling a particular purpose associated with its object, as opposed to design for the sake of style. He told us “There is nothing wrong with style”, and took us through the car industry as a particular example of one in which style is a crucial element of the success of a product. He split the effect of design in this context into the visceral, the reflective, and the rational. As examples, he looked at his instantaneous reaction of desire to a sportscar, and then at how Volkswagen had taken an unattractive and not especially good product — the Beetle — from a quirky small car and former people’s car of a fascist dictatorship to a cultural icon and symbol of American counterculture. Then he looked at how they’d taken the design cues from that association to market their current generation of retro Beetles and vans.

He left us with the quote: “Design is empathy”. Meaning that good design should anticipate how a user is going to feel about the product when they see it,rather than just design for the product itself. He used the Design Lab itself as an example; its white floor might not at first sight be the most practical choice as it needs fewquent cleaning, but the impression it gives to the user of the space is more valuable than the overhead of keeping it clean.


Filed under: cons, Hackaday Columns

Dealmaster: Get a pair of Sennheiser noise-cancelling headphones for $200

Greetings, Arsians! Courtesy of our friends at TechBargains, the Dealmaster is checking in from his cozy vacation spot to bring you another round of discounts. While the deals have slowed a bit now that Christmas has come and gone, there are still a handful of bargains worth noting.

Those include the lowest price we've seen on Amazon for Sennheiser's wireless, on-ear, noise-cancelling HD1 headphones, as well as discounts on Sonos speakers, several Dell laptops, and Amazon Echo devices. You can have a look at the full list below.

(credit: TechBargains)

Note: Ars Technica may earn compensation for sales from links on this post through affiliate programs.

Read 9 remaining paragraphs | Comments