Pocket Serial Host Acts As An Apple II Disk Drive

apple-II-pocket-serial-host

[Osgeld] is showing off what he calls a sanity check. It’s the first non-breadboard version of his Pocket Serial Host. He’s been working on the project as a way to simplify getting programs onto the Apple II he has on his “retro bench”. When plugged in, the computer sees it as a disk drive.

The storage is provided by an SD card which is hidden on the underside of that protoboard. This makes it dead simple to hack away at your programs using a modern computer, then transfer them over to the retro hardware. The components used (starting at the far side of the board) are a DB9 serial connector next to a level converter to make it talk to the ATmega328 chip being pointed at with a tool. The chip below that is a level converter to get the microcontroller talking to the RTC chip seen to the right. The battery keeps that clock running when there’s no power from the 5V and 3.3V regulators mounted in the upper right.

The video after the break shows off this prototype, the breadboard circuit, and a demonstration with the Apple II.

Continue reading “Pocket Serial Host Acts As An Apple II Disk Drive”

Type4me Is A Hardware Clipboard For Your Digital Copy And Paste Needs

type4me-hardware-clipboard

It doesn’t happen often, but every now and again we find ourselves wanting for a more extensible cut and paste experience. Most notably we’ve searched for something that makes is very easy to keep multiple things in the clipboard and paste them as needed. Although we’ve tried several software offerings nothing really made it up to grade, but this hardware clipboard looks very promising. [Luca Dentella] calls it Type4me as it functions as a USB keyboard.

The PIC 18F14K50 enumerates as a USB keyboard, allowing it to send characters anywhere the cursor is located. It sends whatever string is stored inside, with an optional return character at the end. In addition to its keyboard properties it also establishes a serial connection, which allows you to push new strings to the device. This setup does require you to do copy or type your strings into a serial terminal, along with one of four special commands which are parsed by the microcontroller. One of these commands allows you to save the string to EEPROM so that it will be persistent through a power cycle.

The pasting back to the computer takes a mere push of the button. We’ve embedded the video demo after the break. It’s in Italian but there are English subtitles. Near the end [Luca] shows off the device as a macro button for gaming.

Continue reading “Type4me Is A Hardware Clipboard For Your Digital Copy And Paste Needs”

USB To Serial Adapter Tells You What COM Port You’re On

xser

Since most of us are long past the days of hardware serial ports, the USB to serial adapter has become a mainstay on the hacker’s tool belt. While they’re cheap and convenient, USB to serial adapters aren’t always the easiest thing to use: there’s always the issue of what COM port Windows is calling your USB to serial adapter, or what TTY device it is in Linux/OS X.

[Avishay] has a very, very cool solution to this problem: put a display on a USB to serial converter to tell the user what COM port the OS labeled it as.

The prototype runs on a PIC  18F2553 dev board. When plugged into a Windows box, the serial adapter sets up two USB devices. The first device is a Communications Device Class that handles the grunt work of the USB to Serial connection. The second USB device is a proprietary piece of software that grabs the current COM port number. This number is displayed on an LCD thanks to a host application on the Windows PC that reports the COM port of the Serial adapter.

It’s one of those ideas where you didn’t know you needed it until it was presented to you. An excellent tool from [Avishay], although maybe a pair of 7-segment LEDs would make it a more manufacturable device.

Inventing Networking Protocols For Dozens Of Arduinos

chain

When you don’t want to use I2C or SPI, and MIDI and DMX are old hat, [Scott] comes along and invents a very strange networking protocol that is just daisy chaining a few Arduinos together with serial connections.

Strange as it may seem, this networking protocol actually makes a whole lot of sense. [Scott] is working on an animatronic birdhouse in the vein of Disney’s Imagineers and needed to network a whole bunch of Arduinos without using up precious IO pins.

The networking stack [Scott] came up with capitalizes on the hardware UART in each Arduino by simply daisy-chaining several boards together. By adding an FTDI breakout at the beginning of the chain, [Scott] can control dozens of Arduinos straight from a terminal

[Scott] isn’t using off-the-shelf Arduinos for this project – a few months ago he found 100 Arduino-compatible stepper motor controllers while dumpster diving at his job, giving him more than enough nodes to come up with some pretty crazy networking protocols. It’s a great use of the hardware he has on hand, and a very clever solution to controlling dozens of microcontrollers at once.

Check out [Scott]’s demo after the break.

Continue reading “Inventing Networking Protocols For Dozens Of Arduinos”

Python Script Lets You Monitor Multiple Serial Devices At Once

Not knowing what’s going on inside of your electronics projects can make it quite difficult to get the bugs out. [John] was bumping up against this problem when working on wireless communications between several devices. At just about the same time his friend came up with a script with lets you monitor multiple serial devices in one terminal window.

We’re used to using minicom, a Linux package that does the job when working with serial connections of all kinds. But [John] is right, we’re pretty sure you can only connect to one device per minicom instance. But [Jim’s] Python serial terminal (available in this git repository) allows you to specify multiple devices as command line arguments. You can even use wildcards to monitor every USB connection. The script then automatically chooses a different color for each device.

The image above is from [John’s] wireless project. Even without any other background this shows how easy it is to debug this way rather than tab back and forth between windows which gets confusing very quickly.

IOS Terminal Debugging Tool

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.

Raspy Juice Gives You Serial Ports And Servo Control

Up next on the continual march of expansion boards for the Raspberry Pi is the Raspy Juice, a board designed to break out the GPIO pins on the Raspberry Pi into servo, serial, and other miscellaneous connections.

The Raspy Juice features an ATMega168A microcontroller connected to the Raspberry Pi as an I2C slave device. Not only does the addition of a microcontroller add analog inputs to the Raspberry Pi, but also RS232 and RS485 serial connections, a real-time clock, and four JST plugs for hobby servos.

Because the Raspberry Pi can be powered from the GPIO header, the creator, [NTT] added a buck regulator so batteries or solar cells can be used to power the Raspberry Pi.

The Raspberry Pi is a terribly awesome robotics platform, but sadly limited by its capability to drive motors and servos natively. The Raspy Juice adds some much-needed capability to the Raspberry Pi, and we can’t wait to see a robot take its first steps with this expansion board.