Skip to content

Multi-pedal control for Jamman and AirTurn

Requirements

The DigiTech JamMan Solo

#1: The JamMan Solo can be used as-is, but is more versatile when a 3-switch controller is connected, such as the FS3X. If you think a genuine FS3X is a bit expensive for a box with 3 switches, or a bit hard to source internationally, it’s quite easy to create a substitute. The connection is a 1/4″ TRS (Tip-Ring-Sleeve), with Ground on the sleeve, switch 1 on the tip, switch 2 on the ring. Switch 3 is equivalent to simultaneously pressing the other two switches. You can either use a double-pole switch, or use two diodes as described by [Branch on Maybe]

FS3X wiring

#2: AirTurn Bluetooth controllers emulate a keyboard (with only 4 keys) for various computers, tablets and mobile phones, allowing foot-control of your apps. They can be bought with 2 or 4 pedals, or you can “bring your own. The AirTurn has two 1/8″ TRS sockets, and each socket supports two switches. The “left” and “right” functions are split across the two sockets, meaning forward and back functionality requires both connectors. My AirTurn shipped with a pair of 1/4″ to 1/8″ TRS adaptor leads, which have the Ring unconnected. It’s a weird arrangement but allows switches with Tip-and-Sleeve (TS) plugs to be used without constantly triggering the “missing” signal.

Flexible solutions

Behringer FS112VT mod

Behringer FS112 modification

  • Removed the attached lead from an FS112, preferring a socket, so I can use a short or long patch lead according to need.
  • Installed two (2) TRS sockets: one in the existing cable exit hole, and drilling a new hole for the other. The two sockets are cross-wired: the tip on one is connected to the ring on the other, and vice versa. Cross-wiring supports Scenario #4 below.

Cheap single pedal mod

PFS-308
I have 3 UXL-branded pedals. These are cheap, plastic units, but do link together like Boss pedals. These have a switch to select normally-open or normally-closed switch operation. I changed one unit by:

  • Unsolder and remove the switch
  • Ream out the switch slot to a round hole, to accommodate another socket
  • Solder a wire from the unused link pin on the existing socket, to the unused Normally-Open pin on the footswitch (the circuit board has option for an LED to operate using this pin)
  • Wire a TRS socket with Sleeve = Ground, Ring = N-O on switch, and Tip = Tip of existing socket.

This setup means any of the 3 arrangements can be used:

  • The existing socket can be used as normal for T-S connection (single switch)
  • The new socket as TRS, simultaneously connecting all 3 wires – for scenario #1 below
  • A 2nd pedal connects to the original socket, and the new TRS links switches to Tip and Ring respectively

Results

Scenario #1: JamMan

Scenario #2: AirTurn Left/Right
Here we use the two AirTurn-supplied adaptor cables (with Ring unconnected), and TRS patch leads. This result could also be achieved with two single PFS switches, and the same cables.

Scenario #3a: Air-turn 3-way control
Here we simply use two TRS patch leads, with 1/8″ ends for the AirTurn.

Scenario #3b: AirTurn 3-way Control
Uses two TRS patch leads to the AirTurn, and a TS patch lead for the 3rd pedal

Scenario #4: AirTurn 4-way control
Same cables

Washing machine pt.2

On December 22, 2013, the washing machine (LG top-loading, WF-T755A) was sad again. The last load, before going away, was washed, but still sitting in water.

Quick workaround

  • Remove the bulk of water by lowering the drain hose from sink-height to a bucket on the floor. Water drained.
  • Once the water was low, the machine spun remaining content. So, the control unit, water sensor, and main motor, are all still functioning.
  • Hang washing out

Digging in

Washing machine pump and motor

  • Remove power and water supply
  • Remove drain hose
  • Remove back cover (2 screws)
  • Remove 3 screws securing drain pump
  • Remove drain pump

Order parts

  • Ordered a new pump motor. Some supplier sites list a 30W motor, others a 5W motor. Ordered 5W.
  • Ordered a couple of lint filters while there; one of the old ones had a hole
  • Total cost $85 including delivery

Went away for Christmas week. Arrived home Friday 27, parcel was waiting.

Reassembled 7am Saturday, ready to use.

Reflection

Along the way I remembered http://www.ted.com/talks/hans_rosling_and_the_magic_washing_machine.html, and thought about the many people I met in January who live “below the washing line”, and even below the poverty line..

Washing Machine pt.1

In November 2010, the washing machine (LG top-loading, WF-T755A) became sad. It clunked around when trying to spin, in spite of a small and fairly balanced load. Then it stopped trying.

Disassembly

  • Removed power and water supply
  • Removed the top lid assembly, which contains the control unit; 2 screws at back, 2 at top front
  • Removed the top guard from above the tub; 4 screws.
  • Removed plastic cap from “hub cap” in base
  • Removed screw securing plastic base to shaft
  • Removed plastic base (I think it lifted, with some wiggling..?)
  • Found 3-armed hub on which the tub was mounted, though at least two arms were broken – perhaps all of them? (Sorry, it was 3 years ago)
  • Took photo
  • Lifted tub out
  • Struggled for some time attempting to undo the nut holding the hub on the axle. Eventually succeeded using a combination of Stillson wrench and a shifting spanner. Getting a grip was awkward due to confined space (handle can’t be too long).
Broken hub in the tub

Broken hub in the tub

And then

    • Searched online, ordered a replacement hub!
    • Reassembly was easier. All good until 2013.

iPhone bike mounts

If you want to see and control your fitness app while cycling, you’ll need a mount, particularly if you want to keep an eye on heart rate, energy burn, or other stats. Using a mount will give better GPS accuracy than carrying a phone in the back of your jersey or in other pockets, especially at corners. I found this makes a significant difference for Strava segment matching.

(With phone in pocket, your body will block half the sky, so half the available satellites. When you turn, the ones in use will be lost, and your phone will have to find and lock onto others, perhaps taking half a minute to settle).

There’s a nice slide show of iPhone bike mounts at http://mashable.com/2012/08/27/iphone-bike-mounts/#gallery/iphone-accessories-workouts/ but it’s missing a good one: QuadLock.

I’ve used BioLogic‘s case and mount for a while.. until it broke.

The good

  • Weatherproof
  • Removable rubber plugs allow headphones or external battery/charging while sealed
  • Swivels for use in any orientation.

Not so good

  • The swivel is a point of weakness. The whole unit wobbles, especially when mountain biking. That might seem like a tough requirement, but what’s the “heavy duty” bracket for if not harsher conditions than a standard bracket? My swivel eventually became loose (turned freely) then eventually snapped off.

QuadLock has a 4-way mount allowing choice of orientation, though you can’t just pivot while riding. The mechanical connections are broad and robust; no wobble, and unlikely to fatigue.

The case holds the phone very firmly; it’s actually difficult to remove. This is probably a good thing, but hinders swapping it in and out to use the phone’s dock, or car cradle. I’ll use one of the supplied mounts in the car, and one near my desk. Problem solved. Further, keeping an iPhone4 in such a case solves the antenna-grip problem.

The QuadLock case itself isn’t weatherproof, but a “poncho” is available.

You can use this link to get a 10% discount from QuadLockCase.com

(Disclosure: this is a referral scheme. Apparently I’ll get a kickback if you use my link.)

Photos coming soon.

Use a Targus iPad mini kickstand the wrong way

Here is a Targus “kickstand” for the iPad mini.
20130615-121357.jpg

It’s a good arrangement for use on a table, but not on your lap. Mine doesn’t angle as far as indicated on the Targus web site. Solution: flip the elastic out and turn the case inside-out.

20130615-121416.jpg

Perfect angle for laps.

The lip of the elastic’s groove is just enough to take the bottom of the screen. If not, you could tease it up a little.
20130615-121425.jpg

Accept Email attachments via BizTalk

Email is in some ways appealing as a transport for automated and semi-automated data transfer between unrelated parties.

  • Its store-and-forward nature overcomes temporary outages
  • Many businesses are equipped to automatically generate and/or accept data via emailed files
  • Individuals and other small business partners can manually create and receive emails with attached files

However, there are complications. Email systems do not all follow a single, comprehensive standard for message structure.

Gotchas

  • There is usually a MIME message part for the email’s “body text”, even if the email is system-generated and only exists to bear an attached file
  • The Body text may be part #0, or it may not
  • The Body text may have a filename attribute which is blank, or it may not have a filename attribute at all
  • Emails submitted by humans may have backgrounds or company logos also as MIME parts, with or without file names
  • Attachments may have their filename described in a message “content-disposition” header, though sometimes not.

Solution

Biztalk Email Attachment Handling

Declarations

Messages:

SinglePart –System.Xml.XmlDocument

In — System.Xml.XmlDocument

Variables:

oXMessage – System.Xml.XmlDocument

nCount — System.Int32

n — System.Int32, initial value=0

Flow

Receive intoIn 

Expression:

oXMessage = In;
nCount = oXMessage.Count;

Loop: n<nCount {

Construct: SinglePart = oXMessage[n];

Expression:

if (MIME.FileName exists CSV_Out) 
    {fileName=CSV_Out(MIME.FileName);}
else if (MIME.PartContentTypeSecondaryHeaderValue exists CSV_Out) 
    {fileName=CSV_Out(MIME.PartContentTypeSecondaryHeaderValue);}
else 
    {fileName="";}

Rule:  tests on filename, e.g. 

(fileName.EndsWith(".CSV", System.StringComparison.CurrentCultureIgnoreCase))

Send or process the file

n = n + 1;

}

Further

If you need the original filename assigned to another promoted field of the message, you’ll need to construct another message, as:

  1. The exists test won’t work on the original multi-part message, nor on indexed parts of the variable; only after the individual message is created
  2. If / else cannot be used within a Construct Message shape
  3. Distinguished fields can only be set within a Construct Message shape

Caveat

I’m not a BizTalk guru. If I’m wrong, or if you have a more concise/complete example, please let me know.

RunKeeper vs MapMyFitness.. and Strava, and iRunner..

runkeeper-mapmy-strava-irunner

(Last edit: 31st July 2013)

Several of my friends use exercise recording apps, particularly for walking, running, and cycling. I had a look at a few options, but found two that seem to have broad appeal.  These are RunKeeper (which is not just for running), and MapMyFitness (also known/available as iMapMy, and in specialised form as MapMyRun, MapMyRide..)

Update: most have switched to Strava, and I now use iRunner, described further down.

These apps allow you to:

  • Record start and end times of various sport/exercise activities
  • Record your path, including speed and altitude, using GPS built into an iPhone or Android device
  • Listen to music while exercising, with periodic voice-over announcing your progress
  • Set goals and report your progress
  • Report statistics on your activities, including e.g. monthly totals, fastest time on a route, estimated energy spent
  • Accept data from capable heart rate monitors, pedometers, sports GPS recorders etc
  • Share your activities and favourite routes with friends (who are also members), and/or the whole world.
  • Publish your achievements on Facebook and Twitter

My aim here is not to give an exhaustive review of these products, but to point out a few differences and share my experience.

Cost

RunKeeper have recanted on the “with ads” approach and now offer a single app without advertisements. Paid membership increases the range of reporting available from their web site.

RunKeeper’s site is clean and fairly straightforward.

Strava takes a similar approach to RunKeeper. Paid membership unlocks goal tracking, more reporting and analysis.

iRunner / iCardio is free for basic function, which includes ability to upload your workouts to Strava and RunKeeper accounts. In-app upgrades are very affordable. You can “go pro” for all features (about $10), or just add options for external sensors (like a heart monitor), custom routines, and fitness assessments more cheaply.

MapMy is free (with ads). Paid membership removes the advertisements, and higher subscription levels provide extra reports, printed maps, training plans, and priority customer support.  The first paid level, “bronze”, is $30 p.a.

If you don’t want to pay $30 each year, you will find the iMapMy web site heavily bogged down with animated advertisements. Apart from the annoying visuals, it makes the site slower to use, as the animations often load before the page displays properly.

If you do pay, the MapMy web sites are transformed into something much more usable and navigable.

Value

It’s hard to beat the value of “free”, though I hated MapMy’s web site in free/advertising mode. iRunner’s upgrades are so cheap it hardly matters. Looking at the fully paid versions, Strava looks the most expensive, but if you’re going to pay a monthly or annual membership you’ll want to look in more detail at the features available. Each system is a little different.

Ease of use

Both products take a little fiddling to work out, but I find RunKeeper just a little more intuitive to use.

Mobile Features & Capability

MapMy seems a little more sophisticated. The most notable difference I’ve found is support for multiple laps in a run or ride.  Both will allow you to record a path that contains multiple laps, but only MapMy will treat them as laps of a circuit and allow lap splits. Edit: Strava does this better.

Finding / sharing routes

RunKeeper makes it easy to save a mapped activity as a “route”. You can then select this route when using it again, and hence compare times. Routes can be shared with friends.  Searching for routes only shows those published by my “street team” (list of registered friends).

It doesn’t seem to work the same in MapMy. I found it rather confusing, but the answer may be in their new web site (currently in “beta” testing) with the new “courses” feature. Registered users can switch between the old and new sites until the new one is finalised.  Searching for routes in MapMy shows many results from all users. However, it doesn’t seem to search by location very well.

Online support

Each product has a support forum, accessible after you have registered.  I can appreciate that providing end-user support to many thousands of users, for GPS-using software running on mobile phones, would be quite a burden, and many issues may actually be completely unrelated to the software.   MapMy appears to have a good commitment to participating and answering questions.  RunKeeper seems a bit overwhelmed.

Battery

Any mobile phone will consume more power while using its GPS receiver. The same goes for apps that access the internet. Keep this in mind when planning longer runs or rides.

Previously:  MapMy has a problem causing continued heavy battery use after you stop using the app.  That’s right, record an activity, end the activity, and switch away from the app, and the battery will continue to run down — not quite as quickly while actively using GPS, but enough to flatten a newish iPhone’s battery overnight. I normally get 2 days including plenty of talk time. Users on their support forum report the same thing occurring on Android phones.
The workaround is to force the app to close.  Normally, apps remain open in the background on both iPhone and Android.  On iPhone, double-tap the “home” button, and the bottom row of the screen presents a scrollable view of open apps. Press and hold one of them, and they will show a small red “x” above them. Then you can tap an app to completely close it. Press “home” again to return to the normal view.

Don’t be too hasty with this workaround. iMapMy is very web-centric; if it hasn’t yet sent your activity data via the internet, force-closing the app means losing your records.

Update: I hear this may have been fixed around October 2012.

Strava

Members of our club have taken to Strava, which seems a mature system. It supports only two activities: running and cycling*.  The iPhone app seems a little basic, with no voice announcements, no screen rotation, and a display of average but not current speed, though serious riders would have a speedo / bike computer / sports GPS, and probably not be wearing earphones.

At first I was surprised there’s no distinction between road and mountain biking, but found you can list specific bikes and nominate which one was used on each ride. I would like to be able to do this in the iPhone app though.  

The web site features have clearly had a lot of input from serious enthusiasts and competitors. Most notably, rather than simply calling a whole run or ride as a “route” which can be shared and re-used, Strava supports segments. A segment could be a hill climb (or descent), a loop, or any other section travelled. The great thing is they are detected automatically. Having completed a run or ride, any included segments are listed with it on the web site, along with your time(s) for the segment, indicators of your best times, and your rank among all Strava users on the same path.  

Since it distinguishes segments from whole runs/rides, I can ride to a meet, compete several laps of a circuit with breaks (tag-team) and ride home, all recorded as a single “ride”, yet am able to compare the actual circuit laps.

* Update:  Strava now supports walking, windsurfing, skating, swimming, various skiing and other nordic activities..

* Update: Cyclists, use a bike mount; see further down.

iRunner

(Update: section added Feb 2013)

I got a heart rate monitor for Christmas, and started looking into how it could help me train. This led me to prefer Digifit iRunner to record my rides and runs. It features a number of ways to report your progress with popup and lock-screen alerts, and configurable voice feedback.  iRunner’s configurable dashboard is great; large fonts for a quick read! DigFit has a good recording and reporting on its own web site, but iRunner also allows upload to 7 other fitness sites, as well as social media like Facebook. This means if you or your friends have committed to Strava or Runkeeper ecosystem, you can get the benefits of iRunner without losing your results or your friends. There is one notable omission from the upload list: MapMy isn’t supported. Also, the upload has to be done manually (a couple of screen taps) at the end of a workout. It’d be nice to have this made automatic, but that would be tricky if you then want to edit/annotate a workout as it’s already been sent.

Update July 2013: Strava response to recent issue: “We recently deprecated our older API versions which DigitFit was using to upload to Strava. We’re now working with the DigiFit developers to get them set up with our new V3 API. They’ll have an updated app available soon that will resolve this problem, but I don’t have specific timing on its release.”

iRunner is free, though some features depend on paying a modest in-app fee to upgrade.

While Runkeeper and Strava can record heart rate, iRunner and the DigiFit site are particularly focused on “cardio fitness”, with reporting on time spent in different heart rate “zones”. Clearly you need a compatible heart rate monitor to get this benefit. Sensor support does require a paid upgrade to the app ($2.99). Your maximum heart rate is configurable. Default zones are fixed at 50-60, 60-70, 70-80, 80-90, 90-100%, but you can make your own; some trainers recommend different ranges.

iRunner can give voice feedback on heart rate. I soon found the alerts annoyingly long, as they stated not just the band, but the minimum and maximum heart rates for the band (in bpm) every time. Thankfully, the makers added an option to turn that off, so now it can just announce “entering band 4″. That’s much better when learning the discipline of an all-aerobic workout.

iRunner has companion editions, iBiker and iCardio. “All our apps offer the same multi-sport functionality. There are small differences in initial defaults and quotes & tips oriented to the name.” iCardio is the only one available for Android phones.

Heart rate & training recommendations

Here’s some sites I found useful:

One interesting snippet from the Yahoo answers link:

A better measure than heart rate while running is how quickly it recovers. After you run, time your heart right at the end, at 1 minute, and at 2 minutes. The faster it recovers, the better your conditioning.

iRunner includes a “cool down” feature, which ends the “session” but shows a graph of your heart rate for the next 2 minutes. The cool-downs are recorded to DigiFit, but are not part of the workout uploaded to other sites like Strava.

runkeeper-mapmy-strava-irunner

Overall

MapMy seems a little more capable than RunKeeper, and better supported. Handling of “laps” almost convinced me to switch from RunKeeper. The battery problem convinced me not to.

RunKeeper is a little easier to get started, and if your aim is “what can I get for free”, a much nicer site. It supports a very broad range of exercise activities, with goal-setting and social media bragging accountability. RunKeeper is a good choice for general exercise alone or with friends.

If you run or ride with a club, or competitively, Strava does it better, though the others are catching up.

For voice feedback on heart rate, a large-font dashboard, use iRunner. 

If you’re willing to spend some money for a comprehensive package but still don’t know, then use iRunner but also set up accounts on Strava and RunKeeper. (July 2013 – Strava just made this harder). Send your data to all of them, look at what they tell you, and look at the upgrade options. Then buy a bike computer or training watch, with GPS and heart rate sensor, and upload to any system you want.

Bike mounts

If you want to see and control your fitness app while cycling, you’ll need a mount, particularly if you want to keep an eye on heart rate, energy burn, or other stats. Using a mount will give better GPS accuracy than carrying a phone in the back of your jersey or in other pockets, especially at corners. (Your body will block view of half the sky, so half the available satellites. When you turn, the ones in use will be lost, and your phone will have to find and lock onto others, perhaps taking half a minute to settle).  I found this makes a significant difference for Strava segment matching.

My experience with a couple of models is here.

If you need a case / mount for your iPhone or other smartphone, click here to get a 10% discount on a QuadLock!

Follow

Get every new post delivered to your Inbox.