Hackaday alum [Will O’Brien] has been doing some cellphone integration work. He recently picked up some Motorola c168i cellphones from eBay. It turns out there is a serial port that uses TTL communication with a standard head-phone jack as an interface. [Will] soldered up a connector and used a USB to FTDI cable to interface with the phone. To his surprise he was able to read off the stored text messages even though they were PIN protected in the phone’s operating system. The messages on these units were trivial but this is another example of the importance of clearing your data before discarding your devices.
serial189 Articles
Developing For IPhone Serial Communications
[Hcgilje] threw together a tutorial on using serial communications in iPhone applications. It builds upon the DevDot tutorial which was posted back in 2007. A lot has changed since then; the firmware has come a long way and there are several development tools that now make things a bit easier for you. His examples use Interface Builder and openFrameworks to demonstrate GUI control of an LED and a servo motor. Now go out and design your own peripherals for this popular handset.
Teletype Machine From An Electric Typewriter
This project, by an unknown hacker, patches into an electric typewriter and uses it as a Teletype. An AVR ATmega168 microcontroller patches into the key matrix of the typewriter which allows it to artificially type. Now, data can be sent over a serial connection to the AVR for output on the typewriter.
We’re not quite sure what this is going to be used for. We’ve seen hacks like this for Twitter reading in the past but he makes no mention of that type of use. Personally, we’d like to have this just to “print” out the occasional letter. Typewriters are so rarely used these days it would be a bit peculiar to get a letter that has the dimpled impressions associated with slamming a die into a piece of paper.
USB To Serial Adapter
[Spikenzie] is at it again. This time he’s posted a nice USB to serial converter. He points out that you can buy a USB to serial adapter pretty cheaply, but sometimes you want this functionality built into your project enough to justify the greater cost. In those cases where you want to integrate it, this is an elegant solution. This design was made to be fairly compact and still usable on a breadboard. As usual, you can download the files from his website. If his work looks familiar, it’s because we’ve covered his work several times before.
[via Flickr]
Steal The Administrator Password From An EEPROM
Did you forget your hardware-based password and now you’re locked out? If it’s an IBM ThinkPad you may be in luck but it involves a bit more than just removing the backup battery. SoDoItYourself has an article detailing the retrieval of password data from an EEPROM.
The process is a fun one. Disassemble your laptop. Build a serial interface and solder it to the EEPROM chip where the password is stored. Connect this interface to a second computer and use it to dump the data into a file. Download a special program to decipher the dump file and dig through the hex code looking for something that resembles the password. Reassemble your laptop and hope that it worked.
We know that most people won’t be in a position to need a ThinkPad administrator password, but there must be other situations in which reading data off of an EEPROM comes in handy. What have you used this method for?
Vintage Hack – Game Boy Camera
Back in 2005, a member of a French robotics team named [Laurent] wrote a wonderful how-to that we somehow missed on using the Game Boy Camera as a vision device for a robot. The images above are actual shots from his project. The Game Boy Camera features a stunning 128×123 pixel resolution in a gorgeous 4 color gray-scale palette. Possibly the most attractive feature of this hack is that it is still possible to get a hold of these cameras for under ten dollars on ebay.
He connected the camera sensor to an Atmel AT90S4433 using a combination of digital and analog signals, and then used the microcontroller to echo the data back to his PC. His write up includes schematics for wiring up the sensor/microcontroller, the datasheet for the sensor, his C code for the whole project, and an easy to read pin out of the GBC connector. Although his project simply offloaded the image to a computer, it would be entirely possible to have the microcontroller respond to the image or simply just log and store it. It would also be just as easy to replace his Atmel chip with your own favorite microcontroller, as long as it has a couple Digital I/O ports and at least one Analog port (or an external analog to digital converter).
UPDATE: Good catch r4v5, it would require an ADC, not a DAC.
Hacking USB Serial Port Adapters
The folks at Openschemes.com have written up an article on how to convert a USB serial port adapter to a low voltage serial interface for interfacing with microcontrollers. Though you can always just buy one, this is a fairly quick and cheap solution, especially if you are in a pinch or don’t have access to a retailer. The specific models you should watch for, are the ones with two chips, a microcontroller and a line translater.They go through the process of finding exactly where to patch in to add an extra interface. It only takes a couple wires and you are ready to go.
Not only can you use this as your serial connection to another microcontroller, but you can actually take control of the one on the board itself. If you load it with the drivers from TI, you gain access to the flash memory and can do whatever you want. They don’t go into much detail here though, stating that they’ll write another article on that.
We thought this little bugger looked familiar so we went digging through our archives. Sure enough, we found this system in action back in January of 2008.
[via Hacked Gadgets]