[Jesus] is helping his cousin learn about microcontrollers. Right now they’re on the subject of serial communications, which turned into a nice way to add a Hackaday Easter Egg.
Using and FTDI chip in conjunction with the PIC 18F4550 (it’s a little soon for them to tackle implementing USB directly) the serial data is shown in a terminal window. At the same time the binary value of each byte is flashed on the PORTD LEDs. When the chip receives the characters “hack” it immediately echos back the recommendation to check out the awesomeness that is Hackaday. He posted the code used in this example as a Gist.
This is an entry in the Fubarino Contest for a chance at one of the 20 Fubarino SD boards which Microchip has put up as prizes!
Continue reading “Fubarino Contest: Serial Data Transmission”
Here’s a new chip from FTDI which brings a nice little feature to the USB-to-serial converter family: charging detection. That means that it is capable of detecting when a battery charger is connected. What does that actually mean? The top of the datasheet gives you the short version, but let’s look at the investigation [Baoshi] undertook to test the full extent of this particular feature. We agree with him that the listed capability leaves those in the know with a lot of questions:
USB Battery Charger Detection. Allows for USB peripheral devices to detect the presence of a higher power source to enable improved charging.
Obviously the chip will be able to tell when a charger is connected, alerting the device when it’s time to start lapping up the extra milliamps. But what type of chargers will actually trigger the detection circuit? After rigging up the test circuit shown above he ran through several scenarios: connected directly to the PC USB port, via externally powered and non-powered USB hubs, and with multiple wall wart chargers. Full results of the tests are included in the post linked above.
[via Dangerous Prototypes]
Although it’s still a prototype, [Russell] tipped us off to his battery-powered device for storing your contacts list: ContactKey. (Warning: Loud sound @ beginning). Sure, paper can back up your contact information, but paper isn’t nearly as cool to show off, nor can it receive updates directly from your Android. The ContactKey displays a contact’s information on an OLED screen, which you can pluck through by pressing a few buttons: either ‘Up,’ ‘Down,’ or ‘Reset’. Although the up/down button can advance one contact at a time, holding one down will fly through the list at lightning speed. A few seconds of inactivity causes a timeout and puts the ContactKey to sleep to conserve battery life.
This build uses an ATMega328 microcontroller and an external EEPROM to store the actual list. [Russell] wrote an Android app that will sync your contact list to the ContactKey over USB via an FTDI chip. The microcontroller uses I2C to talk to the EEPROM, while an OLED display interfaces to the ATMega through SPI. We’re looking forward to seeing how compact [Russell] can make the ContactKey once it’s off the breadboard; the battery life for most smartphones isn’t particularly stellar. Phones of the future will eventually live longer, but we bet it won’t be this one.
Continue reading “ContactKey: A portable, battery-powered phonebook”
[Hans Peter] wanted to move away from using full Arduino boards in his projects. One of the components he rarely used after the development stage is the USB hardware. Once the firmware is flashed to the chip he didn’t need it any longer. So he tried his hand with some really small SMD parts by building this USB to serial Arduino programmer.
The chip he went with isn’t the FTDI part we’re used to. Instead of using an FT232RL, he opted for its smaller cousin the FT230x. This chip doesn’t fully implement the communications protocol of the 232, but it does work with AVRdude and that’s all that really matters. Above you can see [Hans’] creation next to the official Arduino USB-to-serial programmer. He used the same connection scheme, but went with an edge connector for the USB instead of using a mini-B jack.
It’s pretty impressive to see his prototyping work with the 16-pin QFN package. He soldered it dead-bug style to a couple of SIL pin headers in order to test it on a breadboard. The first board he assembled was too loose in the USB port, but he added some tape to the back to make it thicker, and coated the edge connector traces with a bit of solder and that did the trick.
It should come as no surprise the Hackaday tip line is regularly flooded with press releases. Everything from an infographic comparing Call of Duty 3 to Battlefield 3 (yes, totally serious), announcements that a company we’ve never heard of is getting a new CFO, to the business proposals from hat box manufacturers that wind up in our inbox on a nearly weekly basis.
With the Hackaday crew sifting though hundreds of these emails a month, you’d figure the PR people would hit gold once in a while, right? Apparently not. The coolest stuff we get in our email is usually from an engineer working on a project and doing a PR rep’s job for them. We thank them for that, so here’s two really cool pieces of hardware that showed up in the tip line recently.
Continue reading “Cool new hardware spectacular”
This is a simple iOS debugging tool that will take no time to solder together. There’s even a chance that you already have everything you need on hand. The hack simply connects an RS232-to-USB converter to a breakout board for an iPod connector.
The hardware is aimed not at stock iOS systems, but as an aid to those who wish to run alternative operating systems on them. When the OpeniBoot package is run on an iPod Touch or iPhone it enables a serial terminal on pins 12 and 13. The FTDI breakout board takes these as RX and TX and makes them available to your terminal program of choice via USB. Speaking of USB, you may already have noticed the black cable leaving the right side of the image. Using the terminal doesn’t limit your ability to use the device’s USB functions.
Even though the Roland MDX-20 CNC mill fetched a pretty penny when it was first made available 12 years ago, there were a few features that made any builder lucky enough to own one scratch their head. The only way for a computer to communicate with this mill was through an RS-232 connection, and instead of a normal control protocol such as GCode, the Roland mill uses a very proprietary software package.
[Johan] fixed these problems and at the same time turned this wonderful machine into a tool for the 21st century. Now, instead of running a very long serial cable to his mill with a serial to USB converter at the end, he can just plug a USB cable into his mill with the addition of an FTDI USB to serial chip wired directly to the mill’s circuit board.
Stock, the Roland mill used a very strange proprietary communications protocol. [Johan] was able to reverse engineer this protocol by tracing out a few simple shapes and curves and taking a highlighter to the printout of the resulting file. Instead of the outdated software package that shipped with his mill, [Johan] can now export tool paths directly from his CAD program and send them over a USB cable.
It really is a shame such a nice machine like [Johan]’s mill suffered from the glaring shortsightedness of Roland executives 12 years ago, but at least now [Johan] has a machine that should easily last another decade.