This is a library of perfboard and single-sided PCB effect layouts for guitar and bass. I'm not an electrical engineer by any stretch of the imagination, just a DIY'er who likes drawing layouts. It is meant for the hobbyist (so commercial use of any of these layout is not allowed without permission) and as a way to give back to the online DIY community.

Wednesday, November 30, 2016

PIC Relay Bypass

If you feel like getting into a bit of programing with your pedal building, this is probably a good place to start. The legwork was done and graciously shared by Coda Effects. It uses a PIC micro-controller to trigger a relay and LED indicator. To learn how to program the PIC12F675 read the original blog post on Coda Effects. Benoit has since updated the schematic, adding a photoFET to get rid of a pop that happened when triggered. So you'll need to read and use the code from this post as well. Thanks again to Benoit for sharing his code and all his hard work!


Update March 2, 2017: Benoit updated his schematic and code recently, so I've updated the layout to reflect that, as well as the hyperlinks above to the correct code.

7 comments:

  1. Hello,

    Is the switch momentary closed ? What kind of switch could be a good one ?

    ReplyDelete
    Replies
    1. Double check the Coda Effects post, but I believe it's a momentary normally open. The momentary footswitches from Tayda have worked well for me in the past.

      Delete
  2. Hi!
    How much current consumption device?

    ReplyDelete
  3. Hi,

    Were you able to gets this up and running with Benoit's code? The first attempt, the pedal would turn on but not off. I tried erasing the PIC and reprogramming it and now it won't switch at all unless I jump pins 1 and 2 of the PIC. Any inisght would be greatly appreciated.

    ReplyDelete
    Replies
    1. I have not built this yet, so I don't know. :\ You may want to ask your questions over on the Madbean forum. There was a fair amount of discussion on this over there:

      http://www.madbeanpedals.com/forum/index.php?topic=22627.0

      Delete
    2. Thanks for the reply. I can definitely confirm it WILL NOT work with the coding Benoit provided, he has a closing bracket misplaced that causes the loop to, well...loop! I made some changes to the code and got it to work but it's far from silent. I'll take a look at the thread and go from there.

      Delete
  4. Hi!
    Benoit has updated both the code and the schematic for his relay project: http://www.coda-effects.com/2017/02/relay-bypass-final-code.html?showComment=1488043444691

    ReplyDelete