We use to call it a "BFC". Big freaking cap. :devil:
Really? More then just a regular linear regulator?
CM5908/5907 Plug-n-Play Bluetooth upgrade board
Collapse
X
-
Yes, try dumping a bunch of capacitance into the circuit, see if that helps, that's what I meant by brute force. You can never have too much capacitance, especially if you have the space.Thanks for the offer Jim. So I'm using 2 identical 3.3V LDOs, one for all the digital stuff, one for the headphone amp that does the differential to single-ended conversion. Both have a 1 uF cap on the input side, 2.2uF on the output side. On the analog one, I have an additional 10 uF and 0.1uF on the output.
One thing that helped isolate noise a lot was to have the analog section ground through the mount points/chassis rather than through the ground in the power connector, which is what the digital section grounds through. Even doing a "star ground" where the analog and digital grounds only meet right at the connector still produced a lot of noise. Both supplies are fed from the same 12V power pin though, so my thought was maybe stick a ton of capacitance between that 12V power pin and ground right where it hits the board? Is that what you mean by "Brute forcing it", i.e. throw a bunch of capacitance at it?
I am using the free version of the XC8 compiler. I guess it's less optimized than the Pro version, but the price increase per chip is cheaper than a Pro license right now.
10uF is not a whole lot at 3.3V. CSRs design references just give bare minimum values to get things working, not what works well... Remember CV^2 relationship, so you have the right idea to start at the 12V. I have access to tons of through hole aluminum caps, let me know if you want me to send you some samples, definitely interested in this project taking off.
That's good you are using separate regulators, and LDOs are super clean. You could also add some small impedance (5-10 ohm) feeding the bluetooth module's LDO (or just after it), then put capacitance on its 3.3V. I've had luck putting low resistors between grounds too, floating the bluetooth module with 1-5 ohms on its ground could help. Noise is mysterious...Last edited by earthwormjim; 04-12-2017, 10:47 AM.Leave a comment:
-
Thanks for the offer Jim. So I'm using 2 identical 3.3V LDOs, one for all the digital stuff, one for the headphone amp that does the differential to single-ended conversion. Both have a 1 uF cap on the input side, 2.2uF on the output side. On the analog one, I have an additional 10 uF and 0.1uF on the output.What are you using for filter caps and 3.3V supply (LDO?) for that CSR dongle? I'm using mine in a mesh application, and saw seriously nasty current switching as the chip switches from send to receive. I had to stick a ton of capacitance to clean things up for the rest of my design, 270uF caps. Could be the source of your "digital noise." The switching was relatively low frequency, so I could imagine it being in the audio spectrum. You've got a lot of space on that board, have you tried just brute forcing the filtering?
I'd be happy to look things over if you'd like, not sure what you have going for IP or non-disclosures right now. I'm a power supply engineer in the lighting business, working on wireless controls.
Are you using an XC8 compiler for your PIC? Saves a lot of space, they give you a free month trial for it.
One thing that helped isolate noise a lot was to have the analog section ground through the mount points/chassis rather than through the ground in the power connector, which is what the digital section grounds through. Even doing a "star ground" where the analog and digital grounds only meet right at the connector still produced a lot of noise. Both supplies are fed from the same 12V power pin though, so my thought was maybe stick a ton of capacitance between that 12V power pin and ground right where it hits the board? Is that what you mean by "Brute forcing it", i.e. throw a bunch of capacitance at it?
I am using the free version of the XC8 compiler. I guess it's less optimized than the Pro version, but the price increase per chip is cheaper than a Pro license right now.Leave a comment:
-
-
What are you using for filter caps and 3.3V supply (LDO?) for that CSR dongle? I'm using mine in a mesh application, and saw seriously nasty current switching as the chip switches from send to receive. I had to stick a ton of capacitance to clean things up for the rest of my design, 270uF caps. Could be the source of your "digital noise." The switching was relatively low frequency, so I could imagine it being in the audio spectrum. You've got a lot of space on that board, have you tried just brute forcing the filtering?
I'd be happy to look things over if you'd like, not sure what you have going for IP or non-disclosures right now. I'm a power supply engineer in the lighting business, working on wireless controls.
Are you using an XC8 compiler for your PIC? Saves a lot of space, they give you a free month trial for it.Last edited by earthwormjim; 04-10-2017, 11:20 AM.Leave a comment:
-
My current best guess would be the start of July. If I ship out the first boards May 1, hopefully they're installed that weekend and people have a good week to live with it, so that goes through mid-May. Assuming there are no significant issues, I'll go ahead and have the first run of the boards fabbed + assembled in China will add something like 4-6 weeks.Leave a comment:
-
When do you think this will be a product that I can buy? I'm ready to throw money at you, I'm so tired of my shitty red and orange head unit.Leave a comment:
-
-
I don't know what to say because I can't even get my fog light to work. Nice work..Leave a comment:
-
Solid weekend of progress. The remaining resistors I was missing came in on Friday so I finished up the last of the analog out section. The noise is almost completely gone, but if you really crank the volume when it's paused, the digital stuff is still down there. I'm going to talk to some EE dudes to see what else I could do, but it's pretty good.
Worked Saturday on the PIC firmware more. Since upgrading to the bigger chip with a roomy 14 KB of program space instead of 3 KB, I had space to stretch out and rewrite some code for readability and reusability rather than brute space efficiency. Debugged all of that and worked out some smaller details of the UX. Like for example, the 5908 auto-silences the audio for about 1 second whenever you make any tape transport or eject commands. So I'd always miss the first half second of a song after hitting next or previous since the BT command would trigger faster than the audio would un-duck. By adding a bit of pre-delay before triggering these commands, I can better line up the change to the audio. It's sort of fun, trying to inconspicuously fit into these odd design requirements imposed by the radio.
Anyway, here's the completed version 3 of the board, the first one to work with no jumpers! Here, it actually has the 5907 mounting hardware attached. It rained on Friday and some of it dripped through my shed and got on the 5908, so it was drying and I was test-fitting in the 5907. Still gotta track down that pinhole...

This has most of the hardware to support the 5907 as well, hence more connectors. Still indecisive on the name, even though I threw "Refilled Radios" on this one. You gotta try these things on. I've also thrown around (my current favorite) Big Button Audio, Inside Out Audio, or Inside Out Radios.
Mounted in the 5908:

Here's the debug and firmware-work setup. The Mac runs the PIC IDE connected to the programming header with their USB programmer, then a homebrew programmer on a breadboard for the CSR BT chip hooked up to the bottom Mac (running Windows for their configuration tool).

Buttoned up the last of the known issues this morning and got on to the best part: finally installing it in my car.
DEATH TO CHEESY PLASTICS AND BLINKY LIGHT SHOWS!!!

Most of the install was painless, I had gotten one radio with its harness, which I had to reinstall in my car. I'm going to try and see what I can do to find suitable replacement speaker connectors though, unless someone knows of some? I assume some people will need those since they don't seem to be standard.
The only issue I found was that the dash hole for the radio is seriously tight, so much that I snagged and shred a microphone cable by coming out the side of the chassis and trying to run it back along the side of the radio. Instead, here's where I ended up running it, which actually seems to work well, just have to make sure there's no burrs on the top lid:

And finally, much improved!

Drove around a bit rockin out, made a phone call, tried all the things, everything is working peachy. It was a good day. Going to try to nail down the last of this digital noise for the next board rev, but I'm going to go ahead and make the other edits for IT (analog stuff for the 5907 and removing some extra debug gear). I've got 3 people who have spoken up wanting to be part of the first round beta, I would do one more if someone wants to participate with feedback and possibly having to swap out boards if there are issues, etc. I'll plan on making 5 boards, hand-assemble them, and get em out to this first round of folks! Goal is to be sending those out by May 1.Leave a comment:
-
Great news! I am installing my factory radio tonight in anticipation of this. ThanksSo I got back rev 3 of the board on Monday, assembled on Tuesday evening, worked on new MCU bring-up Wednesday, and things are moving along well over here. I left out a few parts on my digikey order that should get here tomorrow so that I should hopefully have a full working board with noise-free audio appropriately gained and with no jumper wires working by Saturday, then install it in my E30 on Sunday :)Leave a comment:
-
So I got back rev 3 of the board on Monday, assembled on Tuesday evening, worked on new MCU bring-up Wednesday, and things are moving along well over here. I left out a few parts on my digikey order that should get here tomorrow so that I should hopefully have a full working board with noise-free audio appropriately gained and with no jumper wires working by Saturday, then install it in my E30 on Sunday :)Leave a comment:
-
same here. 9 sitting in a box right now. I will keep 3 and sell the rest upgraded for cost, probably next year.Leave a comment:
-
just keep us updated. I've gathered a few slider radios, and if you need some beta testing I can help with that..Leave a comment:


Leave a comment: