DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: patrick398 on May 18, 2023, 02:45:53 PM

Title: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: patrick398 on May 18, 2023, 02:45:53 PM
Hi,

I wonder if anyone else has noticed this strange behaviour when using microcontrollers to control bypass relays when they are powered with Strymon power supplies. I've heard that Strymon supplies ramp power from 0-9v on startup and this seems to fool the uC's into thinking there's no juice. I can repeat this behaviour with my bench supply, if i plug the pedal in and then turn the voltage up from 0-9v the uC's dont function...seems very strange and i can't find a solution  :icon_eek:

Any ideas?
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: niektb on May 18, 2023, 03:44:09 PM
Check how the reset pin is wired, you should have a little RC filter between the voltage rail and the reset pin (to delay the reset coming up)
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: patrick398 on May 19, 2023, 03:59:00 AM
Interesting, I hadn't heard that and I just leave pin 1 unconnected. What values would you suggest?

Thank you!
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: niektb on May 20, 2023, 01:21:34 PM
I have very good experiences with these values: 10k, 100nF and then a 1N4148 anti-parallel to the resistor (so pointing towards the power rails) (this is to make sure that on power-down the reset pin is discharged quickly and not through the 10k
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: Sweetalk on May 20, 2023, 05:23:01 PM
Quote from: niektb on May 18, 2023, 03:44:09 PM
Check how the reset pin is wired, you should have a little RC filter between the voltage rail and the reset pin (to delay the reset coming up)

Had the same behavior with some circuits and this boards and the problem was this, the reset pin. I use a 10K pullup resistor, a 10uF cap and a diode, solved the ramp up problem.
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: patrick398 on May 21, 2023, 04:16:51 AM
Fantastic, thanks guys, I'll will give this a go and play around with some values
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: Buffalo Tom on July 29, 2023, 10:42:07 AM
Quote from: niektb on May 20, 2023, 01:21:34 PM
I have very good experiences with these values: 10k, 100nF and then a 1N4148 anti-parallel to the resistor (so pointing towards the power rails) (this is to make sure that on power-down the reset pin is discharged quickly and not through the 10k

Is this correct with 100nf from reset pin to ground?

(https://live.staticflickr.com/65535/53078589887_00e48bbc7b_o.png)
Title: Re: Attiny85 used for relay bypass won't work with Strymon power supplies
Post by: niektb on July 29, 2023, 11:54:17 AM
Yess looks correct to me!