Here’s a neat add-on that turns your iPhone 4 into a HD video (audio) recording rig at a fairly economical price of $150. The key feature of the Fostex AR4i is that it brings excellent quality stereo audio recording via the dock connector and it’s built-in AD/DA converters. The included microphones can be swiveled and located in many different configurations giving you the best possible audio capture. Built-in LED input level metering, gain control and headphone monitoring, the AR-4i has been designed to turn your iPhone 4 into a high-quality audio and HD video capture device. This little add-on is great for trips and family events where you don’t want to carry another device just for video capture, but want the higher quality audio and video stabilization (via form factor and included handle).
[ via and as seen on MacBreak Episode 261 ]
While it was possible to use an Arduino duemilanove (Atmel 328 chipset) for this project (See Part 1), I was really limited due to the 2K of RAM. It was fun trying to optimize code to get things to run in that amount of memory, however, it caused me to not be able to expand on functionality and features. I have upgraded the project to an Arduino MEGA (Atmel 1280 chipset). This platform gives me up to 8K of RAM — which should be more than enough memory (famous last words).
A lot of people have asked me to explain what exactly I’m doing with the Arduino. It’s pretty simple. First, I’m using a RS232 shield (not shown) to capture RS232 commands from the Russound Controller. When a key is pressed on the Russound keypads I read the RS232 data and either ignore or react to the events. Currently, I’m looking for +, -, Next, Previous, Play/Pause, Menu events. I plan on using the Menu button to offer deeper content browsing menus (need to sniff the RS232 or wait for Russound to publish protocol). The + & – buttons will allow to scroll playlists and the rest of the transport buttons are self explanatory.
// Example RNET Next Track Event: F0 0 7D 7 0 0 7F 5 2 1 0 2 1 0 E 0 0 1 7 0 1 2A F7
Since the Sonos is a uPnP based system there is no IR or way to traditionally control it. Everything needs to be done via HTTP calls. I’m using an Ethernet Shield to translate the RS232 events to uPnP messages. The biggest challenge has been parsing the huge amounts of VERY VERBOSE SOAP-based notification messages. I parse the data real time, looking for strings that I want to store (things like playstate and metadata).
To make matters worse, Sonos is URL encoding XML data inside of an XML structure. So writing a simple XML parser is not possible. You have to look for things like &lt; for a less-than bracket (<). There were times I wanted to scrap the whole project because of this due to the limited RAM and string utilities — it really makes things a lot harder to deal with.
// Example of nested URL encoded XML: <Event xmlns="urn:schemas-upnp-org:metadata-1- 0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-10/"> <InstanceID val="0"><TransportState val="PLAYING"/ ...
When I get a notification message, I package it up into the RNET protocol and send it back into the Russound controller, which gets displayed on the keypads and automation systems that use that data (like Myro:Home which is connected to a HAI OmniPro II). Since uPnP uses a subscription model, I also need to keep subscription expiration timing so I can renew the subscription. It’s basically a client (outgoing to the Sonos to send subscription requests) and a server (to receive incoming notification events from Sonos). Then I have to deal with all the HTTP issues, like if it fails to renew or I have connection issues, I have to clean up and start the connection process all over again.
This project is now code complete and any new features will be made in a future revision. I plan on creating a custom PCB — any interest?
If you have any questions or comments feel free to post them in the comments section below!
Russound has been my go to whole house audio solution for many years. They offer solutions at many different price points and options. They also integrate nicely with home automation systems like (Crestron, HAI, AMX, and Control4). Recently, MAVROMEDIA became an Authorized Russound Sphere dealer and have just installed the latest E-Series system with the new KLK-E6 color click wheel keypads. I’m throughly impressed — it’s like having an iPod in every room! The E6 keypads bring a full color display that makes it easier to read across the room.
The main E-Series controller is a very beefy unit coming in at 4u high and is packed with options from doorbell chimes to paging to the ability to expand the system to 48 zones. It also supports up to 12 sources which can be dedicated to specific rooms. For example, you have an iBridge dock (iPod dock) in a bedroom. You can reserve and display that iPod as a source for just that room.
If you are in the market for a whole house audio system that “brings an iPod to every room” then check out the Russound Sphere series!
If you have a Russound RNET capable (Russound CAA66, CAM6.6, CAV6.6, MCA-C5 or ACA-E5 multiroom controller) whole house audio system and would like to add control via your iPhone or iPod Touch, then you need the new Touchpoint TCH1.
“Russound’s RNET Touchpoint allows for direct access and remote control of a multiroom audio system from an Apple iPhone™ or iPod touch®. The Touchpoint provides two-way Radio Frequency remote control of any zone in a Russound RNET enabled multiroom audio system with two-way metadata feedback.”
The unit retails for $599 and can be purchased through your authorized Russound installer/dealer. If you don’t have a dealer, Mavromedia is an authorized Russound dealer.
Russound has released their new line of whole-house audio/intercom system. What makes this special is that it doesn’t require anything more than a power cable to get it working. The Collage system relies on HomePlug technology to stream the audio to each location from the Collage Media Manager. Each zone features an capacitive touchpad, click wheel and quarter VGA display with a 30-watt amp. In addition each zone includes a built-in FM tuner and 6-month free subscription to Rhapsody with three independent streams of music. There is also an optional iPod dock. This is a pretty interesting play for retrofit/remodel jobs.
For more information check out: Russound Retroquick
This can be purchased via our parent company MAVROMEDIA which is a Russound Dealer.