tag:blogger.com,1999:blog-52084205550743051872024-03-19T04:12:15.885-07:00Saab CD Changer Bluetooth Auxiliary InputWillishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.comBlogger59125tag:blogger.com,1999:blog-5208420555074305187.post-43100180534037235772016-10-01T21:25:00.001-07:002016-10-01T21:25:39.794-07:00BlueSaab v5.0!Sorry for not posting here lately; I've been busy on the <a href="http://bluesaab-forum.2349123.n4.nabble.com/" target="_blank">forum</a> and the <a href="https://www.facebook.com/BlueSaabCDC/" target="_blank">FaceBook</a> pages.<br />
<br />
Here's v5.0!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ6riUd1O7tNH5HCpYQq7UZ91rPOWl8_jBvRkFGkuSMCpLYJB83NG5aROJhw6SbOjfSXjPjR9930d1F3XrHKRFnoPTNHS10yNrP_nYSCLOx2DFer6oE2ZvcJsL5sEJAm8wC6gv2knTLngD/s1600/fullsizeoutput_33d.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ6riUd1O7tNH5HCpYQq7UZ91rPOWl8_jBvRkFGkuSMCpLYJB83NG5aROJhw6SbOjfSXjPjR9930d1F3XrHKRFnoPTNHS10yNrP_nYSCLOx2DFer6oE2ZvcJsL5sEJAm8wC6gv2knTLngD/s640/fullsizeoutput_33d.jpeg" width="596" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
This version changes all resistors and caps to 0805 to save space and make room for other things.</div>
<div class="separator" style="clear: both; text-align: left;">
Got rid of DFU switch because using signal diodes removes the need for it.</div>
<div class="separator" style="clear: both; text-align: left;">
Vertical USB connector for uploading code without the need for an external FTDI cable/adapter.</div>
<div class="separator" style="clear: both; text-align: left;">
FTDI cable/adapter is still an option.</div>
<div class="separator" style="clear: both; text-align: left;">
Changed to a high temp CAN transceiver, with the future ability for sleep (power savings).</div>
<div class="separator" style="clear: both; text-align: left;">
Added 10-pin connector for "future use" ;)</div>
Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com21tag:blogger.com,1999:blog-5208420555074305187.post-1911929288389878982016-07-31T10:23:00.000-07:002016-07-31T10:23:13.866-07:00Version 4.1 is here!This is a large change from v3.x.<br />
<br />
- Switched from through hole atmega328 to surface mount atmega328.<br />
- Added ISP header for programming new SMD 328 bootloader.<br />
- Added on-board FTDI adapter so uploading code is as easy as plugging in a mini USB cable.<br />
-- Still has 6 pin FTDI header so you can still use external FTDI adapter to program.<br />
-- Added status LEDs for on-board FTDI uploading (rx/tx).<br />
- Switched to a new voltage regulator that MUCH more common/easy to find.<br />
-- Added heatsink area for vreg.<br />
- Changed the way the board is powered; now all power inputs go through their own diode, and THEN to the vreg, so they're all isolated, and now the vreg output is a clean 3.3v.<br />
<br />
<a href="https://oshpark.com/shared_projects/aK06t4Fp" target="_blank">OSHPark v4.1 PCB</a><br />
<a href="http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=08f82ceaf3" target="_blank">Mouser BOM</a><br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoL4UBiE0UsWAAVIvY4VPyBHOve0BswUzN-_m6slxB7Md7lJUSPRGSnobRbp1smMLyLLg4pv0uvtDMnNr34IgZqltHOufM4CBIDy3a3HL1UcDdR003ulS8v7be0-6nHGkuHBO2_BjxE93a/s1600/IMG_1674.jpg" imageanchor="1"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoL4UBiE0UsWAAVIvY4VPyBHOve0BswUzN-_m6slxB7Md7lJUSPRGSnobRbp1smMLyLLg4pv0uvtDMnNr34IgZqltHOufM4CBIDy3a3HL1UcDdR003ulS8v7be0-6nHGkuHBO2_BjxE93a/s640/IMG_1674.jpg" width="480" /></a><br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt2wzUbpOgIrwDsrY0QWyfOsJWRfY4AOg-cSJgWCSl0cZ7fPhSt5XaOxru9mXQ8XO6neOZlXTiqc19WC0u7p7TnthYK9DDsczGj2eXvI7vFVSc-i17-NjbjjAo3EJ8AApbnuidT11QC_XI/s1600/IMG_1675.jpg" imageanchor="1"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt2wzUbpOgIrwDsrY0QWyfOsJWRfY4AOg-cSJgWCSl0cZ7fPhSt5XaOxru9mXQ8XO6neOZlXTiqc19WC0u7p7TnthYK9DDsczGj2eXvI7vFVSc-i17-NjbjjAo3EJ8AApbnuidT11QC_XI/s640/IMG_1675.jpg" width="480" /></a>Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-84473407423004369382016-06-23T10:59:00.002-07:002016-06-23T10:59:33.537-07:00FaceBookWanted to share the FaceBook page for BlueSaab, here.<br />
<br />
<a href="http://www.facebook.com/BlueSaabCDC" target="_blank">http://www.facebook.com/BlueSaabCDC</a>Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-14701021735120491322016-01-12T05:58:00.004-08:002016-01-12T06:02:34.594-08:00Here's what v3.2 pcb looks like bare, and when finished :)<div class="separator" style="clear: both; text-align: center;">
These pcbs were ordered from DFRobot, specifically asking for blue pcb color; OSHPark only makes pcbs in purple.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfPA9akIL-_qGuwqg_47jTGyZ7DLaaqF1C6bqHuNfNsLsIrucjUvtSy3EV8Kx8oK60erixVHp0J-vR7KUA7o8LRuUTQwDK5OaIN8iGCXiidbf2BdWKjMu3iexwoJqQ7zd_vdxnwdzJVuxb/s1600/IMG_0324+%2528Edited%2529.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfPA9akIL-_qGuwqg_47jTGyZ7DLaaqF1C6bqHuNfNsLsIrucjUvtSy3EV8Kx8oK60erixVHp0J-vR7KUA7o8LRuUTQwDK5OaIN8iGCXiidbf2BdWKjMu3iexwoJqQ7zd_vdxnwdzJVuxb/s640/IMG_0324+%2528Edited%2529.JPG" width="614" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwxtawtlGMXCZA76MRLYLIwGJIaV53SqqAhc_0ED0A95AO0B4LA8Kfkrlg6-uSzk-r9bE46zKveog_h4eTPonPJkcyHHtnvW6hYTXdzztdg17ykvBHTzQH7UFup-CbJlM2qyLxTD99zqmY/s1600/IMG_0325+%2528Edited%2529.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="622" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwxtawtlGMXCZA76MRLYLIwGJIaV53SqqAhc_0ED0A95AO0B4LA8Kfkrlg6-uSzk-r9bE46zKveog_h4eTPonPJkcyHHtnvW6hYTXdzztdg17ykvBHTzQH7UFup-CbJlM2qyLxTD99zqmY/s640/IMG_0325+%2528Edited%2529.JPG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggKxVjzp5gPpm_N6cSXZ7Lo3w15YmXZAzvfg3COEtqV881ZUJ3bTcWOi4Fr004GTXSe0OnGLuRqSKGXh3NcOcP6Xs1Z4Af6Xb_O3l4OyvFfyB8S0ybE5W_mIWLZKhYLwi4C7BzGy3BUI-w/s1600/IMG_0328+%2528Edited%2529.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggKxVjzp5gPpm_N6cSXZ7Lo3w15YmXZAzvfg3COEtqV881ZUJ3bTcWOi4Fr004GTXSe0OnGLuRqSKGXh3NcOcP6Xs1Z4Af6Xb_O3l4OyvFfyB8S0ybE5W_mIWLZKhYLwi4C7BzGy3BUI-w/s640/IMG_0328+%2528Edited%2529.JPG" width="450" /></a></div>
<br />Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-7302259605066720102015-12-18T08:14:00.004-08:002015-12-18T08:14:49.280-08:00PCB v3.2 (BOM unchanged)I've posted the <a href="http://bluesaab-forum.2349123.n4.nabble.com/Gerber-files-tp81.html" target="_blank">latest PCB revision</a> in the forum.<br />
<br />
Mainly cosmetic changes and improved the layout.Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com2tag:blogger.com,1999:blog-5208420555074305187.post-3280801783591751632015-12-15T14:17:00.002-08:002015-12-15T14:17:20.827-08:00BlueSaab v3.1 BOM & PCBI'm getting a lot of requests for the BOM & PCB, so here they are. I'm also posting this in the forum.<br />
<br />
Mouser parts list<br /><a href="http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=0b60981423">http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=0b60981423</a><br />
<br />
OSHPark pcb (minimum order 3 copies)<br /><a href="https://oshpark.com/shared_projects/63HcVOFe">https://oshpark.com/shared_projects/63HcVOFe</a><br />
<br />Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com12tag:blogger.com,1999:blog-5208420555074305187.post-73687730021878668712015-11-05T12:43:00.000-08:002015-11-05T12:43:02.589-08:00BlueSaab ForumAt Karlis' suggestion, I've added a forum to the blog so people can ask questions and add comments easier (I hope) so that it will be more of an interactive discussion regarding the development of the module.<br />
<br />
Feel free to start using it :)<br />
<br />
The link should be on the right side, under "About Me".Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-65459392355519857032015-11-02T09:41:00.000-08:002015-11-02T09:41:52.570-08:00RN52 hardwareHere's ver 2 of the hardware<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEP4kUy8TTb1wE7pczoYKTeDEBIePhF_4OeVvF_12ZtrHW3IfO5u4ZLu4fUlMY5tIPNvV8kOzHxtRbrBNIh6qRZ5Ucg2ymsR11AJJJw6CX4eFEhkJhVNC4qthuwxh1yhlUs8ER4zSfCIy4/s1600/RN52+v2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEP4kUy8TTb1wE7pczoYKTeDEBIePhF_4OeVvF_12ZtrHW3IfO5u4ZLu4fUlMY5tIPNvV8kOzHxtRbrBNIh6qRZ5Ucg2ymsR11AJJJw6CX4eFEhkJhVNC4qthuwxh1yhlUs8ER4zSfCIy4/s320/RN52+v2.jpg" width="233" /></a></div>
<br />
I've already made a v3, to fix a problem with the USB plug on the bottom (for RN52 firmware upgrades). Firmware upgrades will be rare, and in fact, future upgrades will be done via UART pins, so the USB plug is for RN52 modules with old firmware (v1.10 & older). v1.16 and above will use UART for upgrades.<br />
<br />
Karlis has done a smashing job on the software side! The module doesn't drop out at all now, steering wheel controls work with both iPhone and Android phones, and he's also integrated bluetooth sync connect & disconnect controls via the head unit (IHU).<br />
<br />
There are still some bugs he wants to work out, and of course, getting artist/track info on the SID is on the to-do list :)<br />
<br />
You'll also notice the 3.5mm jack at the top. That's for the Mic input to the RN52, which Karlis & I are planning on using the vehicle's On-Star mic. So once we figure out the best way to do that, he even has the code setup to bring Siri up for a long button press :) So eventually, you'll be able to wire in the car's mic to a 3.5mm plug, and plug that into the module, and be able to talk to Siri at the press of a button (or no button if your phone is charging or you have 6S)!<br />
<br />
Feel free to ask questions in the comments; Karlis said he'd try to answer software questions for me :)<br />
<br />
And no, I'm not planning on making/selling them. Do you know how much work that would be for me for all of you?! But I can help guide you along the way :)Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com18tag:blogger.com,1999:blog-5208420555074305187.post-33214485002946999092015-09-16T07:34:00.003-07:002015-11-05T12:18:37.710-08:00New bluetooth module; RN52So I've been working with a buddy (Karlis) about getting a better working module. He's determined that the BC05B module I was using isn't a very good module. It's a total PITA to work with, and has very limited documentation.<br />
<br />
He suggested that we go with a <a href="http://www.mouser.com/ProductDetail/Microchip-Technology/RN52-I-RM116/?qs=sGAEpiMZZMsGelYiB%252bjhZmXNzzwlH1TGKFyotsiKq8G8PHZ%2fl12jUw%3d%3d" target="_blank">RN52 module by Microchip</a>.<br />
<br />
He's done a lot of testing, and I've laid out a new pcb for that module.<br />
<br />
Karlis has also done extensive testing and determined that the CANBUS code had a lot of bugs in it, which he's kindly fixed; Thanks Karlis!!<br />
<br />
Prototypes are being built, then tested, then should be released for everyone else to use :)Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com6tag:blogger.com,1999:blog-5208420555074305187.post-29469824407752385182015-06-22T12:20:00.001-07:002015-11-05T12:18:43.249-08:00New softwareA fellow Saab enthusiast, Karlis, has kindly offered to work on my crappy code and make it better :)<br />
<br />
He's posted his new code up on GitHub here<br />
<br />
<a href="https://github.com/kveilands/SAAB-CDC/releases/tag/v1.0" target="_blank">https://github.com/kveilands/SAAB-CDC/releases/tag/v1.0</a><br />
<br />
Everyone should buy him a beer for his hard work, dealing with my bad code-writing abilities :)Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com11tag:blogger.com,1999:blog-5208420555074305187.post-92102255367087322492015-01-10T11:47:00.000-08:002015-11-05T12:18:51.748-08:00Bluetooth BOM for those of you who are making one anyway...<span style="background-color: whitesmoke; color: #004a85; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;">http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=9cf0c26186</span><br />
<span style="background-color: whitesmoke; color: #004a85; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;"><br /></span>
The software is still not right, but it does work...Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com4tag:blogger.com,1999:blog-5208420555074305187.post-84923845646804905642014-09-22T11:23:00.000-07:002014-09-22T11:23:20.358-07:00Bluetooth schematics and pcbAs requested, here are the schematics and pcb layout I have so far.<br />
<br />
<a href="https://drive.google.com/file/d/0B_xjJT7ikUzlRzlfSlVwUDRhYXc/edit?usp=sharing" target="_blank">Eagle Schematic</a><br />
<a href="https://drive.google.com/file/d/0B_xjJT7ikUzldkhteXY1VG5sTlE/edit?usp=sharing" target="_blank">Eagle PCB</a><br />
<br />
This version works, BUT still has issues that I've talked about in the previous posts.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyVUR_o33cGwTcwQ8_JU2jWmqGnQ20rJXQgKv6k-z22XWzulL6d9i9Ae7Io6SKT7wR-RhENHrub8WzhhTmBqwvSngIA-hpdUBCb33VezmuaSQYBWjMOYhRDJZKHKH41djn4FgOzFrzxNt/s1600/brd.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyVUR_o33cGwTcwQ8_JU2jWmqGnQ20rJXQgKv6k-z22XWzulL6d9i9Ae7Io6SKT7wR-RhENHrub8WzhhTmBqwvSngIA-hpdUBCb33VezmuaSQYBWjMOYhRDJZKHKH41djn4FgOzFrzxNt/s1600/brd.jpg" height="320" width="292" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwn4_z84Li-SV4DiAE_GypeP6NMCgFKF7MyOd6RVETGLL5aR4FbgWePKXJRtY7AHTQ77FuP7Fn0QCQ2K-zuB9hnGfzFUjYvliOoOyOqXKZuO4H03b_e1N0kS4vLjZ1j8d8uYCQ23kmaT8L/s1600/sch.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwn4_z84Li-SV4DiAE_GypeP6NMCgFKF7MyOd6RVETGLL5aR4FbgWePKXJRtY7AHTQ77FuP7Fn0QCQ2K-zuB9hnGfzFUjYvliOoOyOqXKZuO4H03b_e1N0kS4vLjZ1j8d8uYCQ23kmaT8L/s1600/sch.jpg" height="177" width="320" /></a></div>
<br />Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com2tag:blogger.com,1999:blog-5208420555074305187.post-8949456798968034312014-05-17T13:14:00.000-07:002014-05-17T13:14:57.999-07:00Working bluetooth prototype!Here's my working prototype bluetooth module. I'm using the BC05B bluetooth module, which works great.<br />
<br />
It still has a lot of bugs, and I may have to redesign/add some things.<br />
<br />
PROS:<br />
<br />
<ol>
<li>steering wheel controls for next track & beginning of song/previous track!</li>
<li>1 device for bluetooth audio/control; NO WIRES!</li>
<li>sound quality is very good (IMHO)</li>
<li>module connects to the last-known-connected device automatically, if it's within range (i.e., if my iPhone 5 was the last device that the module was connected to before I left the car, when I return to the car, it automatically connects when I'm back within range)</li>
<li>when switching to aux mode, the currently connected device starts playing automatically</li>
<li>when switching to radio mode, the currently playing, connected device stops playing (hits the pause button for you so you don't "lose your place" in the track)</li>
</ol>
<br />
<br />
CONS:<br />
<ol>
<li>The volume turns on at medium; i'm trying to get the device to turn the volume up full at power on but no luck yet</li>
<li>still not 100% sure on the pairing sequence for to this module:</li>
</ol>
<br />
<ul>
<li>pairing a new-to-the-module device</li>
<li>pairing a new-to-the-module device when the module is currently connected to a different device</li>
<li>connecting a known device to the module</li>
<li>connecting a known device to the module when the module is currently connected to a diff device</li>
</ul>
<br />
No artist/track info available yet (that i'm aware of) for displaying on the SID; will look into this after I get all the other bugs worked out.<br />
<br />
The bottom of my pcb is my attempt to get the volume to turn up at power on, but it's not working, I think because of software...could be the 4066 chip I piggy-backed on top of the other :)<br />
<br />
Right now, I have the SRC button on the steering wheel set to put the module into discoverable mode (this only works if you're in Aux/CD changer mode, so you can still use SRC to change between FM1, FM2, and AM1). This has worked pretty good so far between switching connected devices; i.e., when my wife wants to play her music through the car, I hit the SRC button while playing my music, it disconnects from my phone, stops the music [the head unit kicks out of aux mode, back to the radio], the module goes into discoverable mode, she connects to it, and I hit CD twice to get back to aux mode, and it automatically starts playing the last thing she was listening to.<br />
<br />
enough talk, pictures!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHoYAVJQpn43-ThMKHP-swl7IRWw-7x3vprw_D7SN8r30UaJy3rJY77N2spucgOOm9ym1DK4N4XfFvVfBl4LWl5_pw2uT-4NWpNOYcu4abSRyL7rUynpmvmTv-5MMcblwhvEgqY7m7zWZ/s1600/IMG_1045.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHoYAVJQpn43-ThMKHP-swl7IRWw-7x3vprw_D7SN8r30UaJy3rJY77N2spucgOOm9ym1DK4N4XfFvVfBl4LWl5_pw2uT-4NWpNOYcu4abSRyL7rUynpmvmTv-5MMcblwhvEgqY7m7zWZ/s1600/IMG_1045.jpg" height="205" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2AXb2Q0ypmAFZs98Nn63xpBBiM19ytJaNGF6aTrGT3rV7GoD3pLPuXbRi_zOxdcGnpHSYqiSxPUs5a0WD7L_yaPRDPxkjBCgDCUF6IOm1vCSAhpGjx1hLWWo1fStsdrAYrSH2RkNSYlVw/s1600/IMG_1046.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2AXb2Q0ypmAFZs98Nn63xpBBiM19ytJaNGF6aTrGT3rV7GoD3pLPuXbRi_zOxdcGnpHSYqiSxPUs5a0WD7L_yaPRDPxkjBCgDCUF6IOm1vCSAhpGjx1hLWWo1fStsdrAYrSH2RkNSYlVw/s1600/IMG_1046.jpg" height="200" width="320" /></a></div>
<br />Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com5tag:blogger.com,1999:blog-5208420555074305187.post-86663471948982795792014-03-02T15:50:00.002-08:002014-03-02T15:50:28.066-08:00How to build your own 3.5mm version of BlueSaabI get a lot of emails from people on how to build one of these things so here are directions. This involves soldering through-hole components and uploading code to the microprocessor with <a href="http://arduino.cc/en/Main/Software#.UxPBWdwmqPI" target="_blank">Arduino</a>.<br />
<br />
Buy the parts here (~$40) or anywhere else you find similar stuff:<br />
<a href="http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=89c9334eae">http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=89c9334eae</a><br />
<div>
<br /></div>
<div>
If something is out of stock, you'll either have to wait for more to be ordered or delete it from your cart and buy a suitable substitute. i.e., sometimes the atmega328p is out of stock so I order the atmega328.</div>
<div>
<br /></div>
<div>
If you don't want to buy the blank atmega328 chip, you can pay extra for a 328 with a bootloader preinstalled ($5):</div>
<div>
<a href="http://www.mouser.com/ProductDetail/Arduino/A000048/?qs=sGAEpiMZZMs0PWRNvpRp0N8bFGqoofv%2f">http://www.mouser.com/ProductDetail/Arduino/A000048/?qs=sGAEpiMZZMs0PWRNvpRp0N8bFGqoofv%2f</a></div>
<div>
or</div>
<div>
<a href="https://www.sparkfun.com/products/10524">https://www.sparkfun.com/products/10524</a></div>
<div>
<br /></div>
<div>
Buy one of these ($5):</div>
<div>
<a href="http://www.ebay.com/sch/i.html?_odkw=3.5mm+stereo+cable&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.X3.5mm+stereo+cable+25ft&_nkw=3.5mm+stereo+cable+25ft&_sacat=0">http://www.ebay.com/sch/i.html?_odkw=3.5mm+stereo+cable&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.X3.5mm+stereo+cable+25ft&_nkw=3.5mm+stereo+cable+25ft&_sacat=0</a></div>
<div>
<br /></div>
<div>
Buy a CD changer connector ($7/ea, minimum 2, plus S/H: ~$20):</div>
<div>
<a href="http://connectorpeople.com/Connector/TYCO-AMP-TE_CONNECTIVITY/8/827229-1">http://connectorpeople.com/Connector/TYCO-AMP-TE_CONNECTIVITY/8/827229-1</a></div>
<div>
<br /></div>
<div>
Order the PCB (minimum quantity 3, for $30 shipped):</div>
<div>
<a href="http://oshpark.com/shared_projects/uMyNRBbZ">http://oshpark.com/shared_projects/uMyNRBbZ</a></div>
<div>
It takes about 3 weeks for them to get fabbed and shipped.</div>
<div>
<br /></div>
<div>
You'll also need/want 4 screws to hold the PCB to the enclosure; I use 4, 5/16" panhead screws.</div>
<div>
I also secure the CD changer connector to the PCB with 1/2" long 4/40 panhead screws and 4/40 locknuts.</div>
<div>
<ol>
<li>flash the bootloader if necessary (I'm not going to cover how to do that here; <a href="http://bit.ly/1fAMc9d" target="_blank">google it</a>)</li>
<li>Assemble the PCB</li>
<li>Wire up the 3.5mm jack to the PCB with ~5" of wire for each pole</li>
<li>Cut a hole in the enclosure for the CD changer connector and a 1/4" hole for the panel-mount 3.5mm jack.</li>
<li>upload <a href="https://www.blogger.com/blogger.g?blogID=5208420555074305187#editor/target=post;postID=8280312456500408140;onPublishedMenu=allposts;onClosedMenu=allposts;postNum=0;src=postname" target="_blank">the code</a> with an <a href="https://www.sparkfun.com/products/9716" target="_blank">FTDI adapter</a>/<a href="https://www.sparkfun.com/products/9717" target="_blank">cable</a></li>
<li>plug it into the cd changer harness (using <a href="http://www.eeuroparts.com/Parts/7828/CD-Changer-Connector-Harness-0283382/" target="_blank">the adapter cable</a>, <a href="https://www.genuinesaab.com/psi/files/9-5cd.htm" target="_blank">if necessary for 9-5 people</a>)</li>
<li>route the 3.5mm cable from the module to the front of the car under the carpet/door sills</li>
</ol>
</div>
<div>
You'll probably have to contact me regarding flashing the code...just FYI ;)</div>
<div>
<br /></div>
<div>
To get to the aux in on the head unit, hit the CD button twice. If you have a tape player and cd player (9-5 people), hit CD 3 times. You can also hit SRC button on the steering wheel to cycle.</div>
<div>
<br /></div>
<div>
With the minimum quantity orders for some of these items, it's probably a good idea to get together with another Saab buddy and just build 2 or 3 of them.</div>
Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com5tag:blogger.com,1999:blog-5208420555074305187.post-82803124565004081402014-03-02T15:49:00.003-08:002014-03-03T12:48:59.725-08:00Newest version of code// ----------------------------------------------<br />
// SECUDUINO<br />
// http://secuduino.blogspot.com/<br />
// By Igor Real<br />
// 16/05/2011<br />
//<br />
// Saab CDC Changer Emulator<br />
// http://BlueSaab.blogspot.com/<br />
// By Seth Evans<br />
// 29 July 2013<br />
// 19 Feb 2014 - added name, sid text, date to output<br />
// ----------------------------------------------<br />
<br />
#include <CAN.h><br />
<br />
int cdbutton = 0;<br />
int toggleshuffle = 1;<br />
int mute = 0;<br />
int CDCcmd[] = {<br />
0xE0,0x00,0x3F,0x31,0xFF,0xFF,0xFF,0xD0};<br />
// first byte needs to be 32 otherwise 2004 9-5 will throw airbag light; it was 0x62<br />
int ninefivecmd[] = {<br />
0x32,0x00,0x00,0x16,0x01,0x02,0x00,0x00};<br />
int beep[] = {<br />
0x80,0x04,0x00,0x00,0x00,0x00,0x00,0x00};<br />
int playipod[] = {<br />
0xFF,0x55,0x04,0x02,0x00,0x00,0x01,0xF9};<br />
int playpauseipod[] = {<br />
0xFF,0x55,0x03,0x02,0x00,0x01,0xFA};<br />
int stopipod[] = {<br />
0xFF,0x55,0x04,0x02,0x00,0x00,0x02,0xF8};<br />
int next[] = {<br />
0xFF,0x55,0x03,0x02,0x00,0x08,0xF3};<br />
int prev[] = {<br />
0xFF,0x55,0x03,0x02,0x00,0x10,0xEB};<br />
int shuffle[] = {<br />
0xFF,0x55,0x04,0x02,0x00,0x00,0x80,0x7A};<br />
int repeat[] = {<br />
0xFF,0x55,0x05,0x02,0x00,0x00,0x00,0x01,0xF8};<br />
int buttonRelease[] = {<br />
0xFF,0x55,0x03,0x02,0x00,0x00,0xFB};<br />
<br />
void setup() {<br />
// set up CAN<br />
CAN.begin(47); // Saab I-Bus is 47.619kbps<br />
Serial.begin(9600);<br />
//cdbutton = 0;<br />
//toggleshuffle = 1;<br />
CAN_TxMsg.header.rtr=0; // this value never changes<br />
CAN_TxMsg.header.length=8; // this value never changes<br />
// not sure if this is needed; pauses program before it loops<br />
Serial.println("9-5 Test Code 2");<br />
Serial.println("Seth Evans - 'Aux In'");<br />
Serial.println("19 Feb 2014");<br />
delay(2000);<br />
}<br />
<br />
void loop() {<br />
//cdbutton = 1;<br />
//PrintBus();<br />
// CDC code needs sent every second or less so all loops<br />
// running added together need to take less than 1000ms<br />
// but no more or the car won't "see" the CDC<br />
CDC();<br />
for (int i = 0; i <= 860; i++) {<br />
if (CAN.CheckNew()) {<br />
CAN_TxMsg.data[0]++;<br />
CAN.ReadFromDevice(&CAN_RxMsg);<br />
//PrintBus();<br />
if (CAN_RxMsg.id==0x6A1) {<br />
CAN_TxMsg.id=0x6A2; // CD Changer<br />
for (int c = 0; c < 8; c++) {<br />
CAN_TxMsg.data[c]=ninefivecmd[c];<br />
}<br />
CAN.send(&CAN_TxMsg);<br />
}<br />
<br />
if (CAN_RxMsg.id==0x3C0) {<br />
if (CAN_RxMsg.data[0]==0x80) {<br />
switch (CAN_RxMsg.data[1]) {<br />
case 0x24:<br />
cdbutton = 1;<br />
for (int j = 0; j < 8; j++) {<br />
CAN_TxMsg.id=0x430;<br />
CAN_TxMsg.data[j]=beep[j];<br />
}<br />
CAN.send(&CAN_TxMsg);<br />
for (int j = 0; j < 8; j++) {<br />
Serial.write(byte(playipod[j]));<br />
}<br />
delay(3);<br />
//Serial.println("Release");<br />
for (int i = 0; i < 7; i++) {<br />
Serial.write(byte(buttonRelease[i]));<br />
}<br />
break;<br />
case 0x14:<br />
cdbutton = 0; <br />
for (int a = 0; a <=2; a++) {<br />
for (int j = 0; j < 8; j++) {<br />
CAN_TxMsg.id=0x430;<br />
CAN_TxMsg.data[j]=beep[j];<br />
}<br />
CAN.send(&CAN_TxMsg);<br />
}<br />
for (int j = 0; j < 8; j++) {<br />
Serial.write(byte(stopipod[j]));<br />
}<br />
delay(3);<br />
//Serial.println("Release");<br />
for (int i = 0; i < 7; i++) {<br />
Serial.write(byte(buttonRelease[i]));<br />
}<br />
//Serial.println("Radio");<br />
break;<br />
}<br />
if (cdbutton == 1) {<br />
switch (CAN_RxMsg.data[1]) {<br />
case 0x59: // NXT button signal<br />
for (int j = 0; j < 7; j++) {<br />
Serial.write(byte(playpauseipod[j]));<br />
}<br />
break;<br />
case 0x76: // Long press of CD/RDM button<br />
if (toggleshuffle > 3) {<br />
toggleshuffle = 1;<br />
}<br />
switch (toggleshuffle) {<br />
case 1:<br />
for (int j = 0; j < 9; j++) {<br />
Serial.write(byte(repeat[j]));<br />
}<br />
break;<br />
case 2:<br />
for (int j = 0; j < 9; j++) {<br />
Serial.write(byte(repeat[j]));<br />
}<br />
break;<br />
case 3:<br />
for (int j = 0; j < 9; j++) {<br />
Serial.write(byte(repeat[j]));<br />
}<br />
for (int j = 0; j < 8; j++) {<br />
Serial.write(byte(shuffle[j]));<br />
}<br />
break;<br />
}<br />
toggleshuffle++;<br />
//break;<br />
case 0xB1: // Audio mute on?<br />
for (int j = 0; j < 8; j++) {<br />
Serial.write(byte(stopipod[j]));<br />
}<br />
break;<br />
case 0xB0: // Audio mute off?<br />
for (int j = 0; j < 8; j++) {<br />
Serial.write(byte(playipod[j]));<br />
}<br />
break;<br />
case 0x35: // Seek next (Seek+)?<br />
for (int j = 0; j < 7; j++) {<br />
Serial.write(byte(next[j]));<br />
}<br />
break;<br />
case 0x36: // Seek previous (Seek-)?<br />
for (int j = 0; j < 7; j++) {<br />
Serial.write(byte(prev[j]));<br />
}<br />
break;<br />
}<br />
delay(3);<br />
//Serial.println("Release");<br />
for (int i = 0; i < 7; i++) {<br />
Serial.write(byte(buttonRelease[i]));<br />
}<br />
}<br />
}<br />
}<br />
if (CAN_RxMsg.id==0x290) {<br />
if (CAN_RxMsg.data[0]==0x80) {<br />
if (cdbutton == 1) {<br />
switch (CAN_RxMsg.data[2]) {<br />
//case 0x04: // NXT button on wheel<br />
//for (int j = 0; j < 9; j++) {<br />
//Serial.write(byte(repeat[j]));<br />
//}<br />
//break;<br />
case 0x10: // Seek+ button on wheel<br />
//Serial.println("Next");<br />
for (int j = 0; j < 7; j++) {<br />
Serial.write(byte(next[j]));<br />
}<br />
break;<br />
case 0x08: // Seek- button on wheel<br />
//Serial.println("Prev");<br />
for (int k = 0; k < 7; k++) {<br />
Serial.write(byte(prev[k]));<br />
}<br />
break;<br />
}<br />
delay(3);<br />
//Serial.println("Release");<br />
for (int i = 0; i < 7; i++) {<br />
Serial.write(byte(buttonRelease[i]));<br />
}<br />
}<br />
}<br />
}<br />
}<br />
delay(1);<br />
}<br />
if (cdbutton==1) {<br />
//Serial.println("iPod ON");<br />
iPodOn();<br />
}<br />
else {<br />
//Serial.println("iPod OFF");<br />
//iPodOff();<br />
//delay(400);<br />
}<br />
}<br />
<br />
void CDC() {<br />
CAN_TxMsg.id=0x3C8; // CD Changer<br />
for (int c = 0; c < 8; c++) {<br />
CAN_TxMsg.data[c]=CDCcmd[c];<br />
}<br />
CAN.send(&CAN_TxMsg);<br />
}<br />
<br />
void iPodOn() {<br />
// This loop takes 50ms<br />
CAN_TxMsg.id=0x328; // SID audio text<br />
CAN_TxMsg.data[0]=0x42; // message 2<br />
CAN_TxMsg.data[1]=0x96;<br />
CAN_TxMsg.data[2]=0x02; // Row 2<br />
CAN_TxMsg.data[3]=0x20; // _<br />
CAN_TxMsg.data[4]=0x20; // _<br />
CAN_TxMsg.data[5]=0x20; // _<br />
CAN_TxMsg.data[6]=0x41; // A<br />
CAN_TxMsg.data[7]=0x75; // u<br />
CAN.send(&CAN_TxMsg);<br />
delay(10);<br />
<br />
CAN_TxMsg.data[0]=0x01; // message 1<br />
CAN_TxMsg.data[3]=0x78; // x<br />
CAN_TxMsg.data[4]=0x20; // _<br />
CAN_TxMsg.data[5]=0x49; // I<br />
CAN_TxMsg.data[6]=0x6E; // n<br />
CAN_TxMsg.data[7]=0x20; // _<br />
CAN.send(&CAN_TxMsg);<br />
delay(10);<br />
<br />
CAN_TxMsg.data[0]=0x00; // message 0<br />
CAN_TxMsg.data[3]=0x20; // _<br />
CAN_TxMsg.data[4]=0x20; // _<br />
CAN_TxMsg.data[5]=0x20; //<br />
CAN_TxMsg.data[6]=0x20; //<br />
CAN_TxMsg.data[7]=0x20; //<br />
CAN.send(&CAN_TxMsg);<br />
delay(10);<br />
<br />
CAN_TxMsg.id=0x348; // audio text control<br />
CAN_TxMsg.data[0]=0x11; // 11<br />
CAN_TxMsg.data[1]=0x02; // Row 2?<br />
CAN_TxMsg.data[2]=0x05; // 05<br />
CAN_TxMsg.data[3]=0x18; // priority 18?<br />
CAN_TxMsg.data[4]=0x00;<br />
CAN_TxMsg.data[5]=0x00;<br />
CAN_TxMsg.data[6]=0x00;<br />
CAN_TxMsg.data[7]=0x00;<br />
CAN.send(&CAN_TxMsg);<br />
delay(10);<br />
<br />
/*CAN_TxMsg.id=0x368; // SID text priority<br />
CAN_TxMsg.data[0]=0x02; // Row 2<br />
CAN_TxMsg.data[1]=0x18; // priority 18?<br />
CAN_TxMsg.data[2]=0x00;<br />
CAN_TxMsg.data[3]=0x00;<br />
CAN_TxMsg.data[4]=0x00;<br />
CAN_TxMsg.data[5]=0x00;<br />
CAN_TxMsg.data[6]=0x00;<br />
CAN_TxMsg.data[7]=0x00;<br />
CAN.send(&CAN_TxMsg);<br />
delay(10);<br />
*/<br />
}<br />
<br />
void PrintBus() {<br />
if (CAN_RxMsg.id==0x6A2) {<br />
//if (CAN_RxMsg.data[0]==0x80) {<br />
Serial.print(CAN_RxMsg.id,HEX);<br />
Serial.print(";");<br />
for (int i = 0; i < 8; i++) {<br />
Serial.print(CAN_RxMsg.data[i],HEX);<br />
Serial.print(";");<br />
}<br />
Serial.println("");<br />
}<br />
}Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-91662985377300402432014-01-12T06:52:00.001-08:002014-01-12T06:52:08.043-08:00CD Changer ConnectorsI recently found out that "The Connector People" sells these connectors online via their website for under $7! I think they have a minimum order of 2...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeHyP5R1E0WLznKzQ8IxU8BSNd01-oQSQ5dJQHh-8kp4YSwdf_F1OV97Z2L8XsGnJYPhJ0jrGPU96f_KDfKfSVIELmJVZVbd805SLo1QOcj3Jokfifz40HvpnpER-Z3xWf1SnKXdJa0aDt/s1600/img02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeHyP5R1E0WLznKzQ8IxU8BSNd01-oQSQ5dJQHh-8kp4YSwdf_F1OV97Z2L8XsGnJYPhJ0jrGPU96f_KDfKfSVIELmJVZVbd805SLo1QOcj3Jokfifz40HvpnpER-Z3xWf1SnKXdJa0aDt/s1600/img02.jpg" height="320" width="320" /></a></div>
<br />
<br />
<a href="http://connectorpeople.com/Connector/TYCO-AMP-TE_CONNECTIVITY/8/827229-1">http://connectorpeople.com/Connector/TYCO-AMP-TE_CONNECTIVITY/8/827229-1</a><br />
<br />
Awesome!Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com2tag:blogger.com,1999:blog-5208420555074305187.post-5364522633187336732014-01-09T04:02:00.003-08:002014-01-09T04:02:48.006-08:009-5 adapter harnessI've been told by a few people who have 9-5's, that certain years (not sure which) didn't come with the "regular" cd changer plug; Saab made an adapter though, that converts those cars from a 2-plug harness into the single plug connector.<br />
<br />
<a href="http://www.eeuroparts.com/Parts/7828/CD-Changer-Connector-Harness-0283382/" target="_blank">eEuroParts sells them for less than $12.</a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.autopartsapi.com/eEuroparts.com/images/parts/lg_5a4927b7-4d95-466b-a4f6-dba54ef9cadd.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.autopartsapi.com/eEuroparts.com/images/parts/lg_5a4927b7-4d95-466b-a4f6-dba54ef9cadd.jpg" height="240" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
I wish I could tell you which years need this cable, but it shouldn't be too hard to figure out if your 9-5 has 2 connectors or 1 under the rear carpet.Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com3tag:blogger.com,1999:blog-5208420555074305187.post-67917624395747393962014-01-08T13:54:00.000-08:002014-01-08T13:54:06.912-08:00ATMega328 with bootloaderA reader, Jeff, made a good find that I didn't even think about; Mouser sells ATMega328's with the Arduino bootloader preinstalled! I'm not for sure which bootloader is installed, but it should work.<br />
<br />
<a href="http://www.mouser.com/ProductDetail/Arduino/A000048/?qs=sGAEpiMZZMs0PWRNvpRp0N8bFGqoofv%2f">http://www.mouser.com/ProductDetail/Arduino/A000048/?qs=sGAEpiMZZMs0PWRNvpRp0N8bFGqoofv%2f</a><br />
<br />
Sparkfun sells one with the Optiboot bootloader<br />
<br />
<a href="https://www.sparkfun.com/products/10524">https://www.sparkfun.com/products/10524</a><br />
<br />
Thanks for the good find, man! :)Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-64077801473149845142014-01-08T13:19:00.003-08:002014-01-08T13:19:35.618-08:00Bluetooth parts listIt's been requested I post the parts list for the bluetooth board, so here it is, minus the CD changer connector of course.<br />
<span style="background-color: white;"><br /></span>
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><a href="http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=9cf0c26186">http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=9cf0c26186</a></span><br />
<br />
And the bluetooth module is still needed as well.<br />
<br />
The code is still in work; I should have my bluetooth modules in a week or so; the first shipment I ordered (50 days ago!) got lost, so I had to ask for a replacement.Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-28706582806523265042013-11-30T08:18:00.001-08:002013-11-30T08:18:21.461-08:00Prototype Bluetooth ModuleHere's my prototype; still need to do some more testing, write some software, and I'm waiting on some parts to arrive from China but things are looking promising! :) <div><br></div><div><div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUPHaFyzDhvj-MOMdwTzUtoyuFywAHwRkbVmWIE4DMcHTVHzAuvRxKcnO1Lc1aBKQhrgbJrn5B78nOBIXzhyphenhyphenwYVPjMFkWpLZTk7vABaQ1RcyD9zfia5b1DzCkvCXPg-pcwzSyRSfi5pdDQ/s640/blogger-image-1849097054.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUPHaFyzDhvj-MOMdwTzUtoyuFywAHwRkbVmWIE4DMcHTVHzAuvRxKcnO1Lc1aBKQhrgbJrn5B78nOBIXzhyphenhyphenwYVPjMFkWpLZTk7vABaQ1RcyD9zfia5b1DzCkvCXPg-pcwzSyRSfi5pdDQ/s640/blogger-image-1849097054.jpg"></a></div><div class="separator" style="clear: both;"><br></div><div class="separator" style="clear: both;">This module is missing the Bluetooth chip</div><div class="separator" style="clear: both;"><div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVwg3MhuNCRwMyTxCjSxjRiB7u3P3XDQNCAUsqefSyJOe-pEJtunWP0S5whxRyzKD5Tblm9sF6XlMi17WRSWgI3DhPMc9bPUFqzoe2cLx0VxB1wHI65h8ndil8gbjtYzr0vCrgsWsC27cM/s640/blogger-image-1761359968.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVwg3MhuNCRwMyTxCjSxjRiB7u3P3XDQNCAUsqefSyJOe-pEJtunWP0S5whxRyzKD5Tblm9sF6XlMi17WRSWgI3DhPMc9bPUFqzoe2cLx0VxB1wHI65h8ndil8gbjtYzr0vCrgsWsC27cM/s640/blogger-image-1761359968.jpg"></a></div><br></div><br></div>Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com2tag:blogger.com,1999:blog-5208420555074305187.post-1059771929404369332013-09-17T18:15:00.001-07:002013-09-17T18:15:19.412-07:00Module DifferencesI thought I would explain some differences in the 2 modules I'm working on.<div><br></div><div><u>1- 3.5mm input version</u></div><div><br></div><div>This version accepts input from any 3.5mm (1/8") stereo plug such as iPod, iPhone, Android, whatever. You can even plug in a Bluetooth audio receiver that has a 3.5mm plug on it & then you can stream from an iPhone or Android to this device.</div><div><br></div><div>This version also supports iPhone music controls via the steering wheel controls; play/pause, next track, & previous track. BUT this requires that you run another wire (maybe 2?) from this module to the iPhone, to a 30 pin iPod connector. Yes, you can use a 30 pin to Lightning cable adapter & it will work for iPhone 5.</div><div><br></div><div>Being that this module plugs into the trunk mounted cd changer plug, you'll need to route this cable/cables from the trunk to the front if the car, along the door sill & under the carpet, behind the dash, etc. Not terribly hard, just takes a little time. I suggest either a 25' 3.5mm stereo male to male cable for audio only, or maybe an Ethernet cable for audio & iPod controls.</div><div><br></div><div>This version is not "upgradable" to version 2; the guts are completely different with different PCBs.</div><div><br></div><div><u>2- Bluetooth version (still in work, but this is how it <i>should</i> work)</u></div><div><br></div><div>This version doesn't require any wires to be run at all; the audio is wireless, and the iPhone/Android controls are wireless. The steering wheel controls will control next & previous tracks, and at this point, maybe Bluetooth syncing or power toggle, not sure yet; just a matter of software.</div><div><br></div><div><br></div><div>Both modules will display a string of up to 12 characters from the lower ASCII table (up to character 128 I think...?), whenever the radio is put into cd changer mode.</div><div><br></div><div>As of now, and I don't have any plans to do this, there isn't a combo board, that allows either 3.5mm or Bluetooth in one module (unless you just want to plug a Bluetooth receiver into the 3.5mm jack).</div><div><br></div>Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com3tag:blogger.com,1999:blog-5208420555074305187.post-68702180429189029262013-09-12T12:19:00.001-07:002013-09-12T12:19:13.410-07:00Bluetooth PCB<a href="http://oshpark.com/shared_projects/sIXxprRv">http://oshpark.com/shared_projects/sIXxprRv</a><br />
<br />
That's the link for my new PCB incorporating the MB-CM15113 bluetooth module from SureElectronics. I still have the software to play with, but I'm pretty sure it'll work.<br />
<br />
More to come!Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-23981206930902127172013-09-11T06:09:00.003-07:002014-01-12T06:48:21.832-08:00CD ConnectorI found TE Connectivity apparently bought AMP, who makes the CD changer connector. You might be able to contact TE about getting some samples, for free.<br />
<br />
Part # 827229-1<br />
<br />
But I know that Jim at The Connector People has them for under $13/ea. They have a $50 minimum, so you need to buy 4, plus shipping.<br />
<br />
<div id="yui_3_7_2_1_1378902270297_4243" style="background-color: white; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12.222222328186035px; padding: 0px;">
<span id="yui_3_7_2_1_1378902270297_4242" style="font-family: Arial;">Jim McDermott</span></div>
<div id="yui_3_7_2_1_1378902270297_4239" style="background-color: white; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12.222222328186035px; padding: 0px;">
<span id="yui_3_7_2_1_1378902270297_4241" style="font-family: Arial;">NTI - The Connector People ®</span></div>
<span style="font-family: Arial;">420 Valley Rd</span><span style="font-family: Arial;">Warrington, PA 18976</span><span style="font-family: Arial;"><br /></span><span style="font-family: Arial;">$10 Line Minimum</span><span style="font-family: Arial;">$50 Order Minimum</span><br />
<span style="font-family: Arial;">Fax: 215-956-1701</span><br />
<a href="mailto:jim@connectorpeople.com" id="yui_3_7_2_1_1378902270297_4250" rel="nofollow" style="outline: 0px;" target="_blank" ymailto="mailto:jim@connectorpeople.com">jim@connectorpeople.com</a><br />
<br />
<div id="yui_3_7_2_1_1378902270297_4249" style="background-color: white; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12.222222328186035px; padding: 0px;">
<span style="font-family: Arial;">Ph: 215-956-1700</span></div>
Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-50900561752775009232013-09-07T08:38:00.001-07:002013-09-12T08:07:46.863-07:00Bluetooth moduleSo I just tried the Bluetooth module for audio; works good :)<br />
<div>
<br /></div>
<div>
I bought 2 different modules but only tested audio on one.</div>
<div>
<br /></div>
<div>
Here are the 2 modules;</div>
<div>
<br /></div>
<div>
<span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><a href="http://www.ebay.com/sch/i.html?_trksid=p2050601.m570.l1313.TR0.TRC0.XBc05b&_nkw=Bc05b&_sacat=0&_from=R40">http://www.ebay.com/sch/i.html?_trksid=p2050601.m570.l1313.TR0.TRC0.XBc05b&_nkw=Bc05b&_sacat=0&_from=R40</a></span></div>
<div>
<br /></div>
<div>
<a href="http://www.sureelectronics.net/goods.php?id=1747">http://www.sureelectronics.net/goods.php?id=1747</a></div>
<div>
<br /></div>
<div>
I'll be working in a new board design soon :)</div>
Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0tag:blogger.com,1999:blog-5208420555074305187.post-38869954530551154922013-08-26T12:34:00.000-07:002013-08-26T12:34:15.667-07:00Updated BOM<div>
Here's a Mouser project to all the parts:<br /><span style="background-color: whitesmoke; color: #004a85; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;"><a href="http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=89c9334eae">http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=89c9334eae</a></span></div>
<table border="0" cellspacing="0" cols="6" frame="VOID" rules="NONE">
<colgroup><col width="34"></col><col width="123"></col><col width="123"></col><col width="127"></col><col width="182"></col><col width="417"></col></colgroup>
<tbody>
<tr>
<td align="LEFT" height="17" width="34"><b><u><br /></u></b><b><u>Qty</u></b></td>
<td align="LEFT" width="123"><b><u>Value</u></b></td>
<td align="LEFT" width="123"><b><u>Device</u></b></td>
<td align="LEFT" width="127"><b><u>Package</u></b></td>
<td align="LEFT" width="182"><b><u>Parts</u></b></td>
<td align="LEFT" width="417"><b><u>Description</u></b></td>
</tr>
<tr>
<td align="LEFT" height="17">3</td>
<td align="LEFT"><br /></td>
<td align="LEFT">LED5MM</td>
<td align="LEFT">LED5MM</td>
<td align="LEFT">LED1, LED2, POWER</td>
<td align="LEFT">LED</td>
</tr>
<tr>
<td align="LEFT" height="17">6</td>
<td align="LEFT"><br /></td>
<td align="LEFT">PINHD-1X1</td>
<td align="LEFT">1X01</td>
<td align="LEFT">+5V, GND, LIN, RIN, RX, TX</td>
<td align="LEFT">PIN HEADER</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">.1uF</td>
<td align="LEFT">C-US025-025X050</td>
<td align="LEFT">C025-025X050</td>
<td align="LEFT">C2</td>
<td align="LEFT">CAPACITOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">0.1uF</td>
<td align="LEFT">C-US025-025X050</td>
<td align="LEFT">C025-025X050</td>
<td align="LEFT">C1</td>
<td align="LEFT">CAPACITOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">4</td>
<td align="LEFT">100nF</td>
<td align="LEFT">C-US025-025X050</td>
<td align="LEFT">C025-025X050</td>
<td align="LEFT">C3, C4, C5, C6</td>
<td align="LEFT">CAPACITOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">10K</td>
<td align="LEFT">R-US_0207/10</td>
<td align="LEFT">0207/10</td>
<td align="LEFT">R5</td>
<td align="LEFT">RESISTOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">2</td>
<td align="LEFT">10K</td>
<td align="LEFT">R-US_0207/2V</td>
<td align="LEFT">0207/2V</td>
<td align="LEFT">R4, R6</td>
<td align="LEFT">RESISTOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">4</td>
<td align="LEFT">10uF</td>
<td align="LEFT">C-EU025-030X050</td>
<td align="LEFT">C025-030X050</td>
<td align="LEFT">C11, C12, C13, C14</td>
<td align="LEFT">CAPACITOR, European symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">2</td>
<td align="LEFT">10uF</td>
<td align="LEFT">CPOL-EUE2.5-5</td>
<td align="LEFT">E2,5-5</td>
<td align="LEFT">C9, C10</td>
<td align="LEFT">POLARIZED CAPACITOR, European symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">1N4007-01</td>
<td align="LEFT">1N4007-01</td>
<td align="LEFT">D01B</td>
<td align="LEFT">D1</td>
<td align="LEFT">1N4007/SM4007: General purpose silicon diode</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">1uF</td>
<td align="LEFT">CPOL-EUE2.5-5</td>
<td align="LEFT">E2,5-5</td>
<td align="LEFT">C8</td>
<td align="LEFT">POLARIZED CAPACITOR, European symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">3</td>
<td align="LEFT">330R</td>
<td align="LEFT">R-US_0207/2V</td>
<td align="LEFT">0207/2V</td>
<td align="LEFT">R1, R2, R3</td>
<td align="LEFT">RESISTOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">470nF</td>
<td align="LEFT">C-US025-025X050</td>
<td align="LEFT">C025-025X050</td>
<td align="LEFT">C7</td>
<td align="LEFT">CAPACITOR, American symbol</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">7805</td>
<td align="LEFT">78XXS</td>
<td align="LEFT">78XXS</td>
<td align="LEFT">IC4</td>
<td align="LEFT">VOLTAGE REGULATOR</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">827229-1</td>
<td align="LEFT">827229-1</td>
<td align="LEFT">827229-1</td>
<td align="LEFT">U$5</td>
<td align="LEFT"><br /></td>
</tr>
<tr>
<td align="LEFT" height="17">2</td>
<td align="LEFT">DRV134PA</td>
<td align="LEFT">DRV134PA</td>
<td align="LEFT">DIL08</td>
<td align="LEFT">U$3, U$4</td>
<td align="LEFT">Audio Balanced Line Drivers</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">FTDI_1-6</td>
<td align="LEFT">FTDI_BASICPTH</td>
<td align="LEFT">FTDI_BASIC</td>
<td align="LEFT">JP1</td>
<td align="LEFT">FTDI Basic: 3.3V and 5V</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">LTC1144</td>
<td align="LEFT">LTC1144</td>
<td align="LEFT">DIP08L-SETH</td>
<td align="LEFT">N1</td>
<td align="LEFT">LTC1144: Switched capacitor voltage converter (Linear Technology)</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">MCP2515-E/P</td>
<td align="LEFT">MCP2515-E/P</td>
<td align="LEFT">DIL18</td>
<td align="LEFT">IC1</td>
<td align="LEFT"><br /></td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">MEGA8-P</td>
<td align="LEFT">MEGA8-P</td>
<td align="LEFT">DIL28-3-SETH</td>
<td align="LEFT">IC3</td>
<td align="LEFT">MICROCONTROLLER</td>
</tr>
<tr>
<td align="LEFT" height="17">2</td>
<td align="LEFT">RESONATORPTH</td>
<td align="LEFT">RESONATORPTH</td>
<td align="LEFT">RESONATOR-PTH</td>
<td align="LEFT">U$1, U$2</td>
<td align="LEFT">Resonator</td>
</tr>
<tr>
<td align="LEFT" height="17">1</td>
<td align="LEFT">SN65HVD251P</td>
<td align="LEFT">SN65HVD251P</td>
<td align="LEFT">DIL08</td>
<td align="LEFT">IC2</td>
<td align="LEFT"><br /></td>
</tr>
</tbody>
</table>
Willishttp://www.blogger.com/profile/03710653801877780574noreply@blogger.com0