ohall
Newbie level 6

Dear All,
Please excuse this post if it's really easy stuff, but I'm more at home with software, and very much the novice with hardware design (but I'm keen to learn!).
I have a small project that is essentially an RS485 slave device connected to a domestic HiFi amplifier. I send messages to the device and it controls the amp (source selection, volume control, etc.) all via i2c.
The problem I have is that if I power my controller board from the 5v supply within the amp, I get an audible "bleep" on the output audio. This bleep coincides with my device responding to a message on the RS485 bus. If I disconnect the RS485, or stop sending messages, the bleeps stop - as soon as I send messages again, the bleeps recur. I think I've narrowed this down the a fluctuation in power when my micro enables the RS485 send enable (and draws additional power). I should say, if I power the board from an external 5v supply, there's no bleep.
I've also found that, when powered from the external supply, if I connect the amp's ground, the bleeps remain silent, but if I connect the amp's 5v supply (effectively in parallel with my external supply) the bleeps come back.
So - my question is, what should I be doing to stop whatever noise is getting down the 5v line and causing the amp to play back my power fluctations (as musical as they are! Actually, it gets a bit repetetive :wink
I thought a decoupling capacitor might do the trick, but either that strategy is wrong, or I used the wrong value/type? Suffice to say, I'm stuck!
I've managed to overcome all the other issues so I'd hate to fall at the final fence - can anyone advise on what I should do?
Many thanks,
Oliver
Please excuse this post if it's really easy stuff, but I'm more at home with software, and very much the novice with hardware design (but I'm keen to learn!).
I have a small project that is essentially an RS485 slave device connected to a domestic HiFi amplifier. I send messages to the device and it controls the amp (source selection, volume control, etc.) all via i2c.
The problem I have is that if I power my controller board from the 5v supply within the amp, I get an audible "bleep" on the output audio. This bleep coincides with my device responding to a message on the RS485 bus. If I disconnect the RS485, or stop sending messages, the bleeps stop - as soon as I send messages again, the bleeps recur. I think I've narrowed this down the a fluctuation in power when my micro enables the RS485 send enable (and draws additional power). I should say, if I power the board from an external 5v supply, there's no bleep.
I've also found that, when powered from the external supply, if I connect the amp's ground, the bleeps remain silent, but if I connect the amp's 5v supply (effectively in parallel with my external supply) the bleeps come back.
So - my question is, what should I be doing to stop whatever noise is getting down the 5v line and causing the amp to play back my power fluctations (as musical as they are! Actually, it gets a bit repetetive :wink
I thought a decoupling capacitor might do the trick, but either that strategy is wrong, or I used the wrong value/type? Suffice to say, I'm stuck!
I've managed to overcome all the other issues so I'd hate to fall at the final fence - can anyone advise on what I should do?
Many thanks,
Oliver