Running Custom Code On Cheap One-time Password Tokens

One-time passwords (OTP) are often used in America but not so much in Europe. For our unfamiliar readers, OTP tokens like the one shown above generate passwords that are only valid for one login session or transaction, making them invulnerable to replay attacks. [Dmitry] disassembled one eToken (Aladin PASS) he had lying around and managed to reprogram it for his own needs.

Obviously, these kind of devices don’t come with their schematics and layout files so [Dmitry] had to do some reverse engineering. He discovered six holes in a 3×2 arrangement on the PCB so he figured that they must be used to reprogram the device. However, [Dmitry] also had to find which microcontroller was present on the board as its only marking were “HA4450” with a Microchip logo. By cross-referencing the number of pins, package and peripherals on Microchip parametric search tool he deduced it was a PIC16F913. From there, it was just a matter of time until he could display what he wanted on the LCD.

We love seeing tiny consumer hardware hacked like this. Most recently we’ve been enthralled by the Trandscend Wi-Fi SD card hacking which was also one of [Dmitry’s] hacks.

A Simple Forth Development Board

forth

Forth is a very interesting programming language. It’s very flexible and is extremely efficient on low powered hardware, but unfortunately not very popular simply due to the fact that it’s not very popular. There were a few Forth-based microcomputers built in the 1980s, but these were largely unsuccessful.

[Leon] is a Forth aficionado and came up with his own Forth development board in the hopes of Forth making a comeback. It’s a very small and cheap board – only about $12 in parts – but it’s still extremely powerful and a fun platform for investigating Forth.

Compared to other programming languages found in 80s microcomputers, Forth is just weird. It’s a stack-based language, so instead of adding two numbers like 3 + 4, Forth uses postfix notation (or Reverse Polish Notation) so the same statement is expressed as 3 4 +. It’s a much more efficient way for computers to handle data, and some claim it’s more efficient for humans as well.

[Leon] created his own board able to be programmed in Forth, shown above, that uses an ATMega328 microcontroller. He’s using AmForth to put Forth on his system, but also extended the base AmForth install with his own floating point version. making this version of Forth at least as powerful as any 80s microcomputer or ATMega development board is today.

[Leon] put together a great demo of the capabilities of Forth and his dev board. You can check that out below.

Continue reading “A Simple Forth Development Board”

Testing DRAM From A Commodore 64

dram

A few months ago, [Josh] was given an old Commodore 64. He needed to make an AV cable and find a new power supply, and even after testing these new parts out, [Josh] found it still wouldn’t boot. Not one to look a gift horse in the mouth — or perhaps he enjoys the challenge — he set out on restoring a thirty year old circuit board.

He replaced a few chips and the caps, but found he had no way to test the DRAM chips. Compared to SRAM or Static RAM used by other computers of the era, DRAM is a bit harder to interface, requiring a capacitor in each memory cell to be refreshed a few dozen times every second. With a bit of help from his good friend [CNLohr], [Josh] figured out a circuit to read and write to his chips and build a small board based on the ATmega8U2 microcontroller for testing purposes.

Extremely Precise Positional Tracking

lumi

A few folks over at Carnegie Mellon have come up with a very simple way to do high-speed motion tracking (PDF) with little more than a flashlight. It’s called Lumitrack, and while it looks like a Wiimote on the surface, it is in reality much more accurate and precise.

The system works by projecting structured light onto two linear optical sensors. The pattern of the light is an m-sequence – basically a barcode where every subset of the m-sequence is unique. By shining this light onto a linear sensor, Lumitrack can calculate where the light is coming from, and thus the position of whatever is holding the light.

Even though the entire system consists of only an ARM microcontroller (in the form of a Maple Mini board), two linear optical sensors, and a flashlight with an m-sequence gel, it’s very accurate and very, very fast. The team is able to read the position at over 1000 frames/second, nearly the limit of what can be done with the Maple’s serial connection.

Already there are some interesting applications for this system – game controllers, including swords, flight yokes, and toy cars, and also more artistic endeavors such as a virtual can of spray paint. It’s an interesting piece of tech, and with the right parts, something any of us can build at home.

You can see the Lumitrack demo video below.

Continue reading “Extremely Precise Positional Tracking”

Remote Servo-controlled Lightswitch

remoteServoLightSwitch

We frequently get home automation tips, many of which have simple circuit-based on/off control for lights. [Paulo Borges] has created something quite different, however, with his in-the-wall servo-controlled light switch. This build forgoes the need of any relay to switch mains power, and because it’s physically flipping your switch, provides a distinct advantage over other builds that require a phone or tablet interface: you can use your switches as you normally would.

[Paulo] picked up a rocker-type switch at the local hardware store and carefully pried off the large, flat switch plate to notch out a small hole at its fulcrum. He then carefully shaped a piece of 12 gauge wire to provide a pivot point for the servo. His choice to use wire here seems to be entirely to provide a sturdy yet bendable component that functions mechanically rather than electrically. A small 9G servo fits to the back of the switch’s housing, and the servo’s arm connects up to the previously attached 12 gauge wire. He pieced together the remote control feature with an RF link kit with an inexpensive 433mhz Code duplicator from eBay.

[Paulo] explains that his Instructable is simply an overview rather than a step-by-step guide, so if you’re eager to reproduce this hack you’ll have to work out the code and the remote control portion yourself. He also acknowledges the biggest remaining hurdle: finding space in the wall to shove all the microcontroller guts. Check out a couple of videos of the switch after the break, and remember, there’s always the option of doing away with all light switches.

Continue reading “Remote Servo-controlled Lightswitch”

LED Costumes And Clothing

3ledCostume

Our tips line recently received an influx of wearable LED projects, both for casual and professional wear. [Elizabeth] and [Luis] have created the Lüme wearable collection, aimed at accessorizing by adding adjustable accent colors to jackets, t-shirts and dresses. The electronics are custom-made, built around an ATMega32u4, and each is Bluetooth enabled to interact with a user’s cell phone. From the phone, you can change colors, sequences, set up events, and even take advantage of an “inkdropper-style” feature that matches the color of the LEDs to any object you point your camera at.

[Michal’s] project is an entire suit for a dance and laser show entitled “Tron Dance”, which uses several RGB LED strips placed on key points of the wearer’s costume. It looks like [Michal] has intentionally avoided the joint areas to prevent any problems with breaks or bends, but still manages to place enough to cover the entire body. We aren’t sure what controls everything, but you can watch it go through various sequences and survive an onstage performance after the break.

Finally, in yet another kind of performance, magician [Kiki Tay] has built a jacket that’s overflowing with RGB LEDs. [Kiki] wanted wearable LED control that could be used in various situations without having to re-invent the wheel each time, so he developed his own board — the LED Magician: an Arduino-compatible solution. The board has 12 outputs channels, drives 50+ LEDs per channel and features 12 on-board LEDs that display a preview of the output. To make interactions user-friendly, [Kiki] has provided 32 built-in sequences and adjustable speeds that the user can program via 4 buttons on the board. If that isn’t enough control, there are some options for external control as well. The jacket itself runs off a hobby LiPo battery and is blindingly bright: stick around after the break for a video.

Continue reading “LED Costumes And Clothing”

Smart Citizen: Arduino-compatible And Packed With Sensors

smartCitizenBoard

If you’re going to develop another Arduino-compatible board these days, you might as well take a “kitchen sink” approach. The Smart Citizen Kit piles it on, including Wi-Fi, an SD card slot, and EEPROM on its base. The attached shield—dubbed the “Ambient Board”—is a buffet of sensors: temperature, humidity, CO, NO2, light intensity, and a microphone for reading sound levels. The board’s intended purpose is to provide an open-source, interactive, environmental database by crowdsourcing data from multiple Smart Citizen Kits, but you can add your own stuff or yank the shield off altogether. Additional shields are also under development, aimed at providing agricultural data, monitoring biometrics, and more.

Stick the Smart Citizen somewhere and it can send sensor data to the web over a WiFi connection. The result is worth a look. Here’s the map with the real-time data from early release models scattered over Europe, most of which appear to be solar-powered with a small LiPo battery to keep them going overnight. There’s also an accompanying iPhone app that lets you set up the Smart Citizen, retrieve data from nearby sensors, and allows you to match your phone’s GPS location to any data you collect while carrying the board around.

The developers met their Kickstarter goals earlier this summer and the board has recently entered the manufacturing process, Rummage through their GitHub files here, and watch a video preview of the Smart Citizen below.

Continue reading “Smart Citizen: Arduino-compatible And Packed With Sensors”