Towards A Reverse Engineering Of Samsung’s S-Pen

A few years ago, Wacom, the company behind all those cool graphics tablets, teamed up with Samsung to create the S Pen, a rebirth of that weird pen computing thing that happened in the 90s and a very interesting peripheral if only someone would write some software for it. [Kerry D. Wong] was wondering how the S Pen worked and wired up some hardware to take a look at how the pen communicates with the phone.

It was already known that the S Pen was powered by an RF field, and works somewhat like RFID. Listening in on the communication would require a coil of some type, so [Kerry] disassembled a small speaker and connected it to a scope.

A look at the captured waveforms from the S Pen reveled the carrier frequency appears to be in the range of 550 to 560kHz, outside the range of standard RFID. He doesn’t have the equipment to decode the complete protocol, but a few things can be deduced – the screen senses the location of the pen by detecting a dip in the RF field strength. The only information that is transferred between the pen and phone is the 11-bit pressure sensitivity and a 1-bit value that signals the button is on or off.

[Kerry] put the waveform data up on his site should anyone want to make an attempt at decoding the protocol.

RasPi Doorbell

Raspberry Pi Doorbell Is Fully Featured

When you think of a doorbell, you typically don’t think of anything very complicated. It’s a button that rings a bell inside your home. That’s about it. [Ahmad] decided he wanted to turn his doorbell up to eleven (Google Doc) with this build. Using a Raspberry Pi, he was able to cram in loads of features.

When the doorbell button is pressed, many different events can be triggered. In the demo video, [Ahmad] shows how his phone receives a text message, and email, and a tweet. The system can even be configured to place a voice call via Google Hangouts using a USB microphone. [Ahmad] demonstrates this and shows how the voice call is placed almost instantly when the button is pressed. This may be a bit overkill, but it does demonstrate many different options depending on your own needs.

For the hardware side of things, [Ahmad] purchased a wireless doorbell. He opened up the ringer unit and hooked up the speaker wires to a couple of pins on the Raspberry Pi through a resistor. The doorbell unit itself is powered off of the 3.3V supply from the Pi. The Pi also has a small LCD screen which shows helpful information such as if the Internet connection is working. The screen will also display the last time and date the doorbell was pressed, in case you weren’t home to answer the door.

On top of all of that, the system also includes a Raspberry Pi camera module. This allows [Ahmad] to take a photo of the person ringing the doorbell as a security measure. He can even view a live video feed from the front door by streaming directly to YouTube live. [Ahmad] has provided a link to his Pi image in the Google Doc so others can use it and modify it as they see fit. Continue reading “Raspberry Pi Doorbell Is Fully Featured”

Store Digital Files For Eons In Silica-Encased DNA

If there’s one downside to digital storage, it’s the short lifespan.  Despite technology’s best efforts, digital storage beyond 50 years is extremely difficult. [Robert Grass, et al.], researchers from the Swiss Federal Institute of Technology in Zurich, decided to address the issue with DNA.  The same stuff that makes you “You” can also be used to store your entire library, and then some.

As the existence of cancer shows, DNA is not always replicated perfectly. A single mismatch, addition, or omission of a base pair can wreak havoc on an organism. [Grass, et al.] realized that for long-term storage capability, error-correction was necessary. They decided to use Reed-Solomon codes, which have been utilized in error-correction for many storage formats from CDs to QR codes to satellite communication. Starting with uncompressed digital text files of the Swiss Federal Charter from 1291 and the English translation of the Archimedes Palimpsest, they mapped every two bytes to three elements in a Galois field. Each element was then encoded to a specific codon, a triplet of nucleotides. In addition, two levels of redundancy were employed, creating outer- and inner- codes for error recovery. Since long DNA is very difficult to synthesize (and pricier), the final product was 4991 DNA segments of 158 nucleotides each (39 codons plus primers).

Continue reading “Store Digital Files For Eons In Silica-Encased DNA”

ESP8266 ESP07 Module DoA Fix

It seems the Far-East factories can’t churn out ESP8266 based modules fast enough to feed all the world’s hackers. Well, Pick-n-Place machines are human too, so it’s not too long before you end up with a messed up batch from a factory. [Tracker Johnny] found a bunch of ESP07 modules which had their resonator mounted the wrong way around, effectively making them DoA. The resonator mounting isn’t consistently wrong too – most have reported them 90 deg offset, while others had them 180 deg. off.

Unfortunately, you need some tools and skills to fix the error. The ESP07 modules have a metal shield which needs to be removed to access the resonator. This is best done using a hot air gun. With the cover removed, you need to de-solder the resonator, and put it back in the right orientation as shown in the pictures on [Tracker Johnny]’s blog. You can find other people reporting the same fault at this forum thread. Coming in the wake of the problem with magic smoke from ESP8266 based ESP01 modules we reported earlier, it seems obvious that quality comes at a cost.

Pre-Web Hardware Connects To The Web

We’re not quite to the 25th anniversary of the world wide web, but that doesn’t mean the greatest innovation in information distribution since [Gutenberg]’s press can’t be celebrated a bit early, does it? [Suhayl] is throwing some of his hardware into the ring, and loading up the first web page with a modem from the mid 1960s and a teletype from the mid 70s. No, no sane person would have ever done this 25 years ago, but it’s neat to watch in any event.

The hardware [Suhayl] is using includes a Livermore Data Systems modem. It’s a finely crafted wooden box with an acoustic coupler on top, and a DB-25 connector on a side that connects to a terminal or computer via RS-232. If that Livermore Data Systems acoustic coupler modem looks familiar, you might be right. This modem was demoed back in 2009 by [phreakmonkey]. It’s an impressive little box that can connect to a remote system at up to 300 baud.

The I/O is handled by an ASR-33 teletype. This was the standard way to connect to computers and mainframes before we were all blessed with video terminals and TV typewriters. The whole setup connects to a Unix system with a much more familiar Hayes modem, runs a text-only browser, and retrieves the first web page as it was served up at CERN some 25 years ago.

Fold A Hexapod From Pilfered Office Supplies

Hexapods are wonderful things. With their elegant gait and insect-like caricature, they’re an instant hit for coffee-table-conversation-starters. They’re also wonderfully expensive, with the redundancy of each leg chewing viciously into your pocket. This price point is a deal-breaker for many, but for others, it’s a challenge to let one’s design skills defy that barrier. [Mike Estee] is one such engineer who’s done his best to design away a stock structure with a cardboard variant that wont break the bank.

On the table, [Mike] assembles his hexapod frame from budget servos, corrugated cardboard, paper clips, and tape. The result is a hexapod frame that can be built for practically just the cost of the servos (about $80 in this case). In his posts, [Mike] details the design evolution of the frame focusing especially on the legs, which he intended to be folded from a single sheet. After a few revisions, [Mike] succeeded, and he’s graciously posted his latest revision on his blog [PDF].

While we’ve certainly seen impressive budget hexapods before, we really appreciate the elegance and simplicity of a design made entirely from a single sheet of cardboard. His progress is a step forward to reaching a ubiquitous low-cost, force-control based robot platform. While that’s a milestone many of us hope to see in the future, he’s done a fantastic job designing a proof-of-concept frame template that anyone can cut out and assemble with a couple of spare hours.

Continue reading “Fold A Hexapod From Pilfered Office Supplies”

Spin Up An Old Hard Drive With A Solenoid Motor

Just about all of us have a few old hard drives in our junk box. There are a myriad of projects out there to put them to work in new and interesting ways. One of those ways is to turn your hard drive into a solenoid motor of sorts. (YouTube link) This isn’t a new hack, videos of it have been kicking around the internet for years. [black1985vette] gives a pretty good explanation of how he’s done it. He used a piece of brass as a connecting rod between the drive head and a pin mounted off-center to the platter hub. One of the platter mounting screws provides the perfect place to set the pin. A bent safety-pin rubs the center of the hub, which is partially insulated with tape. When the pin contacts the hub, the drive head is energized, pushing the whole assembly around. The mass of the platters acts as a flywheel, carrying the motor the rest of the way around.

[Pulverrostmannen] performed a similar mod, though he used a micro switch to time the drive head. Rather than a brass connecting rod, [Pulverrostmannen] used a spare head. With a simple transistor circuit acting as a speed control, his hard drive motor revved up to around 1560 RPM, which is pretty respectable for a bunch of junk parts.

So next time you’re stuck in on cold rainy weekend, pull out some of those old drives and get hacking! Click past the break to several of these projects in action.

Continue reading “Spin Up An Old Hard Drive With A Solenoid Motor”