Step 6: Minutes 11-60: Testing and troubleshooting

Now that you've built it, time to test. Generally, if you've been careful about sewing and looking out for stray thread, your project should work right away.

Here are some debugging tips to help.

First rule of embedded electronics: test the simplest case first.

This means: 
- before attaching any thread/wires, first plug in the dock connector
- use a paper clip (or tweezers) to connect the two large sewable holes
- you should see the volume increase on your ipod.
- if you don't hear sound, unplug and plug back your headphone.

- Now remove the dock connector and test your switches. Do you get the right kinds of resistances?
- If you see anything other than infinity on your meter, you have  either
    a short circuit: crossing or stray conductive material  OR
    the holes in the felt are too big and so the conductive fabric are touching even when you're not squeezing.

- Third, attach yarn to dock connector, measure the resistance across the two holes. It should be very high (100s of kOhms or even  MegOhms).
- Press each switch and monitor the resistance *at the holes* on the board. If you don't register a change, there is a break in your circuit somewhere.

- Fourth, plug it into iPod and  click your soft fabric button. It should play/pause a song. Even if no sound is coming from the iPod, you should be able to see a visual change from play to pause.

Still Nothing?  You must have bad circuit mojo. Please turn in your credentials.
Seriously though, contact us: www.aniomagic.com/support  and we'll debug with you.

* Please be careful with your expensive electronics. This stuff works, it really does, and has caused no harm to any of the iPods/iPhones we've used with it.  That said, we can't be held liable for any damage that might occur to your device, so please use this guide for informational purposes only. Cool? *
<p>so cute</p>
This should theoretically work with Android as well, but you would have to use different values of resistance and a 4 way 3mm jack, since there is no USB interface for this, as far as my knowledge goes.
How do the buttons work on this?<br><br>does button 1- control play/pause/ and tracks<br>and button 2- just volume? <br><br>if yes, how does it determine if you want to turn the volume up or down?<br>and is there a way to make it three buttons so i can have volume up/down separate ?
I purchased the velostat fabric from you - unfortunately, it is too conductive - the controller is registering it as a press on the zelf button due to the low resistance. Is there a way that I can fix this?(The resistance when the velostat button is pressed is ~13 KOhms)
I just got my magic dock, along with the Aniomagic velostat and I am having the exact same issue (and 13KOhms reading), did anyone else have this problem or have any suggestions?
I never got a response, and ended up solving it by putting an actual resistor between the velostat and the zelf buttons (which kind of defeats the purpose of a soft circuit, but I was short on time.)
Hi QRohlf,<br><br>I'm so sorry I didn't see your questions until now that pkirschmann pointed it out to me. I've been so busy (I just finished defending my thesis), so I've not been on top of things for the past months. Please accept my apologies.<br><br>I think I've identified the problem, and it stems from two things: <br><br>- initially, we used an A/D converter to sense the change in resistance, but our supplier ran out of the chips we needed (PIC10f222 in October 2010)<br><br>- we quickly adapted the firmware to sense pulses based on charging a capacitor which would discharge at different rates depending the resistance in the zelt/velostat. We used an available chip (PIC10F200) Trouble is this varies a LOT with pressure and size of the velostat.<br><br>To cut a long story short, we sold you defective docks, and will replace them right away, free of charge, shipping on us. I'm really for the inconvenience.<br>
Cool! Do I need to contact you over email to get that rolling, or do you already have enough info from me to do that?<br><br>Thanks!
zip 97219? Yes, we got your info. We'll send them over tomorrow. Thanks for your understanding :o)
Hi, thanks for letting me know. We're going to revert back to the original versions which worked much better. We'll be sending free replacements right away.
The cute book!!! &lt;3
&nbsp;Great guide! I &nbsp;haven't&nbsp;tried it myself but I'm going to. Can you please clarify if you need a the special a &quot;special&quot; dock connector or if you just can&nbsp;disassemble&nbsp;the original connector i.e. the the one you got when you bought the iPod.<br />
Have you used only 2&nbsp; wires for 2 function keys? I didn't see the ground there...<br />
&nbsp;Anyone try this with an iphone? My iphone says device not made to work with iphone and all the volume controls dissapear. It's a great idea, but it's a shame that it cuts out all sound once I plug it in.&nbsp;<br /> <br /> Anyone have any ideas on what the problem might be or a workaround to this?<br />
First, congratulations! You have a fine piece of craft-tech in your hands. <div>&nbsp;</div> <div>The message: &quot;This accessory is not made to work with iPhone&quot; appears to</div> <div>be quite common with 3rd party devices (not just ours).</div> <div>&nbsp;</div> <div>Ideally you should say &quot;NO&quot; to the question about Airplane mode, or just ignore it (it should pop down after 30 seconds). The magic dock should work regardless.</div> <div>&nbsp;</div> <div>We have seen this message with the 3G and 3GS, and here's a good</div> <div>explanation for why:</div> <div>&nbsp;</div> <div>http://blog.daveburrows.com/2009/11/11/this-accessory-is-not-made-to-work-with-iphone/</div> <div>&nbsp;</div> <div>We are still trying to figure out how to make sure the message never pops</div> <div>up, but your unit tested just fine before it shipped.</div>
wow! thats pretty cute ^^<br /> probably gonna get the kit from the site but does the magic dock <br /> work for the older gens of the ipod touch (like 1st gen ehehe :D )<br /> I hope it does cos i really need to get me one of these..
Thanks! I think the oldest player with a compatible port is from April 2003. Hopefully yours is within that age range :-)<br /> <br />
Does it work for any other type of iPod oran iPhone<br />
Any player that uses a dock connector (from April 2003) should work.<br /> &nbsp;<br />
r u selling these?<br />
Yes we are, aniomagic.com<br /> Get a couple&nbsp;:-) <br />
How did you learn the pinouts on the connector?<br />
I&nbsp;learned the pinouts from studying the material from the good folks at:<br /> <br /> http://stud3.tuwien.ac.at/~e0026607/ipod_remote/ipod_ap.html<br /> http://pinouts.ru/PortableDevices/ipod_pinout.shtml&nbsp;<br /> http://www.ipodlinux.org/wiki/Apple_Accessory_Protocol<br /> <br /> These guys really did a good job of figuring out and publishing the details several years ago.<br />
Right after I posted I found the pinout.ru link myself.And I agree, they all are very kind for doing that.<br />
Nice!<br />
Thank you. Some folks say it's too cute though. Next week, *biker* edition :-)<br />

About This Instructable


101 favorites

More by aniomagic: Sparkle night sky (mixed media: paint+electronics+program) etextiles - Glam up a  felt cloche hat in under 10 minutes etextiles - Valentine's day sparkling choker
Add instructable to: