We’ll just get our “kids these days” rant out of the way up front: the stock SAMD21 ARM chip has 256 kB (!) of flash to begin with, and is on a breakout board with only five GPIO pins, for a 51 kB / pin ratio! And now he’s adding 2 MB more? That’s madness. The stated reason for [Curmudegeoclast]’s exercise is MicroPython, which takes up a big chunk of flash just for the base language. We suspect that there’s also a fair amount of “wouldn’t it be neat?” in the mix as well. Whatever.
The hack is a classic. It starts off with sketchy wires soldered to pins and breadboarded up with a SOIC expander board. Following that proof of concept, some degree of structural integrity is brought to the proceedings by gluing the flash chip, dead-bug, on top of the microcontroller. We love the (0805?) SPI pullup resistor that was also point-to-point soldered into place. We would not be able to resist the temptation to entomb the whole thing in hot glue for “long-term” stability, but there are better options out there, too.
This hack takes a minimalist board, and super-sizes it, and for that, kudos. What would you stuff into 2 MB of free flash on a tiny little microcontroller? Any of you out there using MicroPython or CircuitPython care to comment on the flash memory demands? 256 kB should be enough for anyone.
PCB makers Dirty made a name for themselves in the prototype PCB biz, with a convenient web form and numerous options for PCB color, thickness, layers, silk screening, and so on. Now they’ve branched out into custom cabling with Dirty Cables.
You can design it yourself by dragging wires and connectors out of a sidebar and arranging them on a workspace, deciding which wire goes to what pin of the connector. Your choices for wires include various gauges and ribbon configurations. You choose a color (they have eleven) select connectors and drag those out too–choose from 17 cable-to-cable and cable-to-board connector families. We made a quick cable with four 32ga wires and two 16ga wires, with two different connectors on each side, with pricing updated realtime. If you want a sample pack of connectors, Dirty sells them for $10.
The downside to the service: there’s a minimum order of 100, though paying Shenzhen prices might make it worth your while. Just imagining crimping all of those connectors makes Hackaday’s hands hurt.
To get a sense of the diversity of connectors out there, read Elliot’s piece on the connector zoo that we published last year.
[Marcel] was trying to shoehorn a few new parts into his trusty Nexus 5 phone. If you’ve ever opened one of these little marvels up, you know that there’s not much room under the hood to work with. Pulling out some unnecessary parts (like the headphone jack) buys some space, but then how to wire it all up?
[Marcel] needed a multi-wire connector that’s as thin as possible, but he wasn’t going to go the order-Kapton-flex route. Oh no! He built one himself from masking tape and the strands from a stranded wire. Watch the video how-to if that alone isn’t enough instruction.
Hernando Barragán is the grandfather of Arduino of whom you’ve never heard. And after years now of being basically silent on the issue of attribution, he’s decided to get some of his grudges off his chest and clear the air around Wiring and Arduino. It’s a long read, and at times a little bitter, but if you’ve been following the development of the Arduino vs Arduino debacle, it’s an important piece in the puzzle.
Wiring, in case you don’t know, is where digitalWrite() and company come from. Maybe even more importantly, Wiring basically incubated the idea of building a microcontroller-based hardware controller platform that was simple enough to program that it could be used by artists. Indeed, it was intended to be the physical counterpart to Processing, a visual programming language for art. We’ve always wondered about the relationship between Wiring and Arduino, and it’s good to hear the Wiring side of the story. (We actually interviewed Barragán earlier this year, and he asked that we hold off until he published his side of things on the web.)
The short version is that Arduino was basically a fork of the Wiring software, re-branded and running on a physical platform that borrowed a lot from the Wiring boards. Whether or not this is legal or even moral is not an issue — Wiring was developed fully open-source, both software and hardware, so it was Massimo Banzi’s to copy as much as anyone else’s. But given that Arduino started off as essentially a re-branded Wiring (with code ported to a trivially different microcontroller), you’d be forgiven for thinking that somewhat more acknowledgement than “derives from Wiring” was appropriate.
The story of Arduino, from Barragán’s perspective, is actually a classic tragedy: student comes up with a really big idea, and one of his professors takes credit for it and runs with it.
Home electrical, it’s really not that hard. But when you’re dealing with the puzzles left for your by someone else things can get really weird. [Daniel’s] sister and her husband ran into this recently. The video demonstration of their fail includes a lot of premature laughter, but it’s worth hanging in there… you’ll quickly see why she can’t contain her amusement.
The project at hand is a replacing a bathroom fan with a simple light fixture. Once the swap was made the light switch works just as anticipated. But a second switch which used to control a different light now behaves strangely. It doesn’t activate the original light, but instead switches the new fixture. Even stranger is that the original switch apparently now acts as a bizarre dimmer when the second switch is on. That’s odd, but the coup d’état of the fail is when they plug in a hair dryer and switching it on illuminates the light but doesn’t activate the hair dryer.
As with all Fail of the Week segments, the goal here is not to criticize but to commiserate. What do you think is causing this? We can’t wait to see what you come up with. Posting simple diagrams is encouraged (you can use HTML img tags in the comments). Ladies and gentlemen, start your conjecture.
Fighting games like Mortal Kombat provide you with a variety of different available moves. These include kicks, punches, grabs, etc. They also normally include various combination moves you can perform. These combo moves require you to press the proper buttons in the correct order and also require you to time the presses correctly. [Egzola] realized that he could just hack his controller to simulate the button presses for him. This bypasses the learning curve and allows him to perform more complicated combinations with just the press of a single button.
[Egzola] started by taking apart his Playstation 3 controller. There were two PCB’s inside connected by a ribbon cable. Luckily, each individual pad for this cable was labeled with the corresponding controller button. This made it extremely simple to hack the controller. [Egzola] soldered his own wires to each of these pads. Each wire is a different color. The wires then go to two different connectors to make them easier to hook up to a bread board.
Each wire is then broken out on the breadboard. The signal from each button is run through a 4n25 optoisolator. From there the signal makes its way back to various Arduino pins. The 4n25 chips keeps the controller circuit isolated from the Arduino’s electrical circuit. The Arduino also has two push buttons connected to it. These buttons are mounted to the PS3 controller.
Now when [Egzola] presses one of the buttons, the Arduino senses the button press and simulates pressing the various controller buttons in a pre-programmed order. The result is a devastating combination move that would normally require practice and repetition to remember. You might say that [Egzola] could have spent his time just learning the moves, but that wasn’t really the point was it? Check out the video below for a demonstration. Continue reading “Get Better at Mortal Kombat by Hacking Your PS3 Controller”→
[Dillon] wrote in to tell us about his latest project, an automatic light switch for a the hallway closet in his house. Although this project could probably be done very simply, [Dillon] accomplished everything in a way that actually looks professionally done and has some neat features. Check out his site for more pictures of the build.
Not that we at [HAD] mind a bit of messy wiring, but if it’s going inside a house, neater is always better. On the other hand, this project took nearly a year to go from idea to implementation, so please keep submitting your spaghetti-wired projects. We understand.
As an electrical engineering major, [Dillon] didn’t skimp on basic electrical components, and has schematics available on his site. A MSP430 microcontroller provides the “brains” for everything, turning the light off after 5 minutes if the doors are not shut. Be sure to check out his video overview after the break with footage of it in action. Continue reading “Automatic Closet Lightswitch”→