The Smartest Computer Was On Star Trek

There have been a lot of smart computers on TV and movies. We often think among the smartest, though, are the ones on Star Trek. Not the big “library computer” and not the little silver portable computers. No, the smart computers on Star Trek ran the doors. If you ever watch, the doors seem to know the difference between someone walking towards it, versus someone flying towards it in the middle of a fist fight. It also seems to know when more people are en route to the door.

Granted, the reason they are so smart is that the doors really have a human operating them. For the real fan, though, you can buy a little gadget that looks like an intercom panel from the Enterprise. That would be cool enough, but this one has sound effects and can sense when someone walks into your doorway so they can hear the comforting woosh of a turbolift door.

Of course, for the real hacker, that’s not good enough either. [Evan] started with this $25 gadget, but wanted to control it with an Arduino for inclusion in his hackerspace’s pneumatic door system. He did a bit of reverse engineering, a bit of coding, and he wound up in complete control of the device.

Continue reading “The Smartest Computer Was On Star Trek”

How To Fix Your Broken Onion Omega2

A decade ago, while RISC architecture was busy changing everything and people were wearing Utilikilts without beards, hackers were doing something amazing. They repurposed off-the-shelf routers and turned them into what we would now call the Internet of Things. Need to set up a PBX? A Linksys router will do it. Want to drive a remote control car over the Internet? It’s your old friend, WRT54G.

Now that the Internet of Things is a thing, a few companies have realized people will buy bare bones router chipsets. It’s like an Arduino, or something, and it connects to the Internet. We’ll sell a million. Get Indiegogo on the phone.

The Onion Omega2 launched on Kickstarter last year, and so far has seen some success. They’ve shipped their units, and people are generally happy with them. One thing that wasn’t mentioned in the Kickstarter was the fundamental problem with the design. The pins on this seemingly breadboard-compatible dev board have a pitch of two millimeters. Horribly broken. Huge mistake. Terrible deal.  Not the best people we have working on this.

onion
Imperial is a superior unit of measurement. Metric is outdated.

The Onion Omega2 won’t fit in a breadboard, but Onion does offer a breakout ‘expansion dock’ for $15 USD. There’s a better, cheaper solution, though. You can complain about it on Hackaday.io’s Hack Chat. That’s what [zach] did, and a few minutes later, [davedarko] whipped up a quick PCB design to convert the 2mm header to the much more logical 0.1 inch header. Imperial units win once again.

After sending three dollars and twenty cents to OSHPark, [zach] had his pin adapters in hand. A few minutes with a soldering iron, and the Onion Omega2 is made compatible with every breadboard ever made.

If you have an Onion Omega2 and would like a really cool hexagonal sticker, here’s the project on OSHPark.

Press Button, Receive Hackspace WiFi Code

When you are running a hackspace, network security presents a particular problem. All your users will expect a wireless network, but given the people your space will attract, some of them are inevitably going to be curious enough to push at its edges. Simply plugging in a home WiFi router isn’t going to cut it.

At Santa Barbara Hackerspace they use Unifi access points on their wireless network, and their guest network has a system of single-use codes to grant a user 24-hour access. The system has the ability to print a full sheet of codes that can be cut individually, but it’s inconvenient and messy. So the enterprising hackspace members have used a Raspberry Pi and a receipt printer to deliver a single code on-demand at the press of a button.

The hardware is simple enough, just a pull-up and a button to a GPIO on the Pi. Meanwhile the software side of the equation has a component on both client and server. At the server end is a Python script that accesses the Unifi MongoDB database and extracts a single code, while at the client end is another Python script that reacts to a button press by calling the server script and printing the result.  It’s a simple arrangement that was put together in an evening, but it’s an effective solution to their one-time WiFi access needs.

It’s a temptation as a hackspace to view all of your problems as solvable in one go with the One Piece Of Software To Rule Them All, and as a result some spaces spend a lot of time trying to hack another space’s effort to fit their needs or even to write their own. But in reality it is the small things like this one that make things work for members, and in a hackspace that’s important.

Does your space have any quick and simple projects that have automated a hackspace process? Let us know in the comments.

Thanks [Swiss] for the tip.

Huge Interactive Crossword

Give kids some responsible and challenging tasks, and you’d be surprised at the results. The “Anything Goes” exhibit at the National Museum in Warsaw was aimed as a museological and educational experiment. A group of 69 children aged 6–14 was divided into teams responsible for preparing the main temporary exhibition at the museum. Over six months, they worked on preparing the exhibition during weekly four-hour meetings. They prepared scripts, provided ideas for multimedia presentations, and curated almost 300 works for display. One of those was [Robert Mordzon]’s Giant Interactive Crossword.

The build is in two parts. The letter tiles, which have embedded RFID tags, obviously look like the easiest part of the build. The table, looking at the video (after the break), probably needed a lot more effort and labour. It is built in two halves to make construction easier. There are a 130 boxes that need to be filled in with the right letters to complete the crossword. Each box contains a bunch of electronics consisting of an Arduino Nano, a RFID Reader and a bunch of sixteen WS2812B LEDs, all assembled on a custom PCB. Do the math, and you’ll figure out that there’s 2080 LEDs, each capable of sipping 60 mA at full brightness. That’s a total current requirement of almost 125 amps at 5 V. Add in all the Arduino’s, and [Robert] needed a beefy 750 W of power, supplied via four switch mode power supplies.

Each Arduino Nano is a slave on the I²C bus. The I²C master is an Arduino Mega 2560, which in turn communicates with a computer over serial. When a box is empty, the LEDs are dim, when a wrong letter is placed, they turn Red, and when the right letter is placed, they turn Green. If a word gets completed, a special word animation is played. This information is also passed on to the computer, which then projects an animation related to the word on a giant wall screen. Upon the crossword getting completed, the table erupts in to a sound (via the computer) and light “disco” show and also reveals the main motto of this section of the exhibit – “Playing the Hero”.

Continue reading “Huge Interactive Crossword”

A Guide For Building Rubber Dome Keyboards

Let’s talk about computer keyboards for a second. The worst keyboards in the world are the cheap ‘rubber dome’ keyboards shipped with every Dell, HP, and whatever OEM your company has a purchasing agreement with. These ‘rubber dome’ keyboards use a resistive touchpad to activate a circuit, and the springiness of the key comes from a flexible rubber membrane. Mechanical keyboards are far superior to these rubber dome switches, using real leaf springs and bits of metal for the click clack happiness that is the sole respite of a soul-crushing existence. MX blues get bonus points for annoying your coworkers.

Mechanical key switches like the Cherry MX, Gateron, or whatever Razer is using aren’t the be-all, end-all mechanical keyswitch. History repeats, horseshoe theory exists, and for the best mechanical keyswitch you need to go back to rubber domes. Torpre switches are surprisingly similar to the crappy keyboards shipped out by OEMs, but these switches have actual springs, turning your key presses into letters through a capacitive touchpad. Is this a superior switch? Well, a keyboard with Torpre switches costs more than a keyboard with Cherry MX switches, so yeah, it’s a better switch.

It seems everyone is building their own mechanical keyboards these days, and the recipe is always the same: get a few dozen Cherry MX (or clone) switches, build a PCB, grab a Teensy 2, and use the tmk keyboard firmware. There’s not much to it. DIY Torpre boards are rare because of the considerations of building a capacitive switching PCB, but now there’s a DIY guide to making the perfect rubber dome keyboard.

[tomsmalley] put together this guide after reviewing a few amazing projects scattered around the web. Over on Deskthority, [attheicearcade] is building a custom, sculpted, split Torpre board and a split Happy Hacking Keyboard. These are projects worthy of a typing god, but so far there has been no real beginner’s guide for interfacing with these weird capacitive switches.

As far as circuitry goes on these capacitive boards, the PCB is the thing. Each key has a pair of semi-circular pads on the PCB to serve as plates on a capacitor. These pads are connected to a microcontroller through an analog mux, with a little opamp magic thrown into the mix.

With a relatively decent guide to the hardware, [tomsmalley] has also been working on his own firmware for capacitive switches. Shockingly, this firmware is compatible with the Teensy 3.0, which will provide enough horsepower to read a bunch of analog values and spit out USB.

Mechanical keyboards are great, and we really like to see all these hardware creators pushing the state of the art. You can only see so many custom sculpted keycaps or DIY MX boards, though, and we’re really eager to see where the efforts to create a custom Torpre board take us. If you’re building one of these fantastic keyboards, send it in on the tip line.

PVC Submersible ROV

[mark.brubaker.1] and his crew decided to make a submersible for a school project using PVC pipes as a frame. It has two motors on the back to provide forward thrust and steering as well as a horizontal mounted motor in the middle of the PVC chassis to provide up and down thrust. They used regular motors which they waterproofed by inserting them inside a case full of plumbers wax. We’re not sure how long this will hold at the bottom of the ocean, but it works fine for a school project in the pool. Here’s the instructions on how to make one.

The build is completely analog, the controller is a board with three switches which individually control the different motors. So if you want to turn left, you fired up the right motor. For right you do the opposite and fire up the left motor. Up and down, well, you get the picture. If you have a swimming pool, lake or some water body nearby and you’re looking for a weekend project with your kids, this is a great tip. It’s not an Arduino controlled robot fish, but it’s a first step in that direction; you can later on use the frame to improve on the design and add some electronics.

Continue reading “PVC Submersible ROV”

Microscope DSLR Mount Using PVC & Heat

Microscopes are a great way to see the mysteries of the universe hidden at the smaller scale. When they were first developed, scientists had to rely on illustration to convey their findings through the lens. Thankfully we can  now rely on photography to help us out instead. Many microscopes come with a special port — often called a trinocular port — for mounting a camera. Using this, [Brian] developed a DSLR mount for his microscope using a hacker staple: PVC pipe.

squareThe virtues of PVC pipe are many and varied. It’s readily available in all manner of shapes and sizes, and there’s a wide variety of couplers, adapters, solvents and glues to go with it. Best of all, you can heat it to a point where it becomes soft and pliable, allowing one to get a custom fit where necessary. [Brian] demonstrates this in using a heat gun to warm up a reducer to friction fit the DSLR lens mount. Beyond that, the mount uses a pair of lenses sourced from jeweller’s loupes to bring the image into focus on the camera’s sensor, mounted tidily inside the PVC couplers.

PVC’s a great way to quickly and easily put a project together — so much so that there are fittings available specifically for using PVC to build stuff. Video below the break.

Continue reading “Microscope DSLR Mount Using PVC & Heat”