News:

Forum may be experiencing issues.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mjg

#1
Shit, that really sucks Paul. 

Hoping that the treatment goes as well as it can for you. 
#2
Build Reports / Breath of the Wylde
March 12, 2025, 09:39:03 AM
Forgive me Bean, for I have sinned.  It has been 3 years, 8 months since my last pedal build confession.

This one came about because my son expressed an interest in building a pedal, and he chose the Zakk Wylde branded MXR ZW44 distortion, and ZW90 phaser as something he wanted.

I whipped up a schematic, then set him up with a quick lesson in board layout in Eagle, and let him design the board. Manufacturing was done by Elecrow. He had a great time doing the board design.

Next step was soldering, and he completed the ZW44 side of the board, and it fired up first try, which was impressive. I then soldered on the 4 SMD parts, and left it for him to finish up the phaser side.

About a year later, after bugging him every few months to finish it, he finally admitted that maybe I should finish it for him. Half an hour later, it was done.





I've fitted it into a Jack Daniel's metal tin, which is apparently appropriate for the artist involved. As it's thin metal, and is prone to dinting and bending, I've put the switches and board onto some steel sheeting, to make it a bit more solid. The power and jacks are connected with detachable plugs, for easy access if any repairs are needed.





The lettering has been done using a Cricut cutting machine with some sticky vinyl. It was a bastard to get all the lettering lined up, but I'm super happy with the end result.  It almost looks like it is part of the original print on the tin.

Gold numbers on the knobs, and orange leds, to invoke the colour of the drink.



Overall, it's such a tacky concept, but perfect for a teenage boy who's just shy of being legally allowed to drink (here in Aus). And just to show that class is something you have to learn, and teenage boys just don't tend to have it... the pedal with his matching Jack Daniel's brand flying-V guitar. So tacky that it almost works.




#3
Maybe try it on a different power point in your house?  It may be interference coming from the house circuit.  Also try a different 9v supply if you've got a spare. 

Some effects are more susceptible to picking up outside interference. 
#4
Open Discussion / Re: Spring cleaning
July 16, 2024, 04:22:25 AM
I'm currently on an island in the middle of the Indian Ocean, can recommend.   ;D
#5
Nice!  It's good to see it really coming along. 
#6
Here's what worked for me...
#7
Glad you got it working.  I breadboarded something very similar and that worked for me.  Only thing I left out is the opto chips.  If you have a common power supply for the Arduino and transistors, you don't need the opto chips.  But if you need that power isolated from each other, put them in. 

I think with your 100r resistors at 5v you will have 50mA going through the transistor, so check the data sheet to see what they can handle.  Or try 1k and see if that still works.

I've got with transistors as a buffer, rather than an inverting buffer.  Makes no real difference, as you just invert the logic on the Arduino pins to do what you want. 
#8
Using a 555 would probably work, but all it's doing there is being a voltage controlled switch.  Which is the same as a transistor or mosfet really.  Not sure it will get you anything different to what you've already tried?
#9
I'll see if I have time to breadboard something tomorrow for you.  Hopefully I've got a spare relay sitting around somewhere. 

I think what you need is two pins from the Arduino, connected through a transistor or mosfet each as a buffer, and then switch one pin high, other low.  Then reverse the high and low to switch back the other way. 

I think that diagram you've been looking at is a non latching relay?  That might be why it's not quite working. 
#10
A 4010 or 4050 are pretty standard buffer chips, maybe start with one of those and see whether it does what you want. 

Have you been able to confirm the relay works by itself, by just hard wiring the voltage to it?  It should only need a quick touch of voltage to switch a latching relay.  No need to hold the voltage on for long.  Then you reverse the wires to switch back the other way, again, only for a brief moment. 
#11
Another thing for you to research - look at non inverting buffer chips, and use one of those instead of your opto and transistors.  As pedal designers we tend to use transistors and opto chips as it's traditional, I guess... but there are usually better options for just signal control. 

You may find a hex buffer chip in a dip package that is cheaper and smaller than piles of opto and transistors.  That should fulfil your need of separating the Arduino from the relay. 
#12
Another thing you could try, if you don't want to have the Arduino connected directly to the relay, is to have your opto chip controlling 2 transistors.  One will set 5v or ground, and the 2nd transistor will set the opposite.  Hook those up to your relay, and should be golden. 

Look for "transistor not gate" in your favourite search engine if you need pointers on how to do that?
#13
Yep, if it's a latching relay, you need to be able to completely reverse the voltage.  Giving 5v and ground one way will switch the relay to position 1.  Giving ground and 5v opposite will switch it to position 2.  So your current schematic is definitely not doing that. 

I've had no issues with just switching using the Arduino directly.  You will need 2 pins on the Arduino to do this, as you will be reversing which one is  High and Low to flip the relay. 

Here is a build doc for one of my projects that used a relay, schematic on page 2, have a look around the attiny chip to see what it's doing. 

https://graybloomfield.com/guitar/docs/clippy1.0.pdf

And the code that goes with it:  https://www.graybloomfield.com/guitar/docs/clippy-code1.0.zip

#14
"Latching"...that's the word I was failing to remember above. 😅

Check whether your relay is latching or not.

Also, if you are open to modifications, I have done plenty of Arduino and relay effects, and I don't think you need the opto or transistor at all.  I would normally just use a latching relay, and hook it up directly to 2 of the Arduino pins.  Put one high, the other low, for 100ms or so, to switch one way, and reverse the high / low for switching the other way.  That would require changing quite a bit of your board though. 
#15
The Arduino code isn't going to make any difference here, so I'd concentrate on the other parts. 

You can even take the Arduino out of it, and just apply 5v or ground to the opto to simulate what will happen when the pin goes high or low.

I'm struggling to work out the layout around that relay.  If the transistor is on, then you get 5v at one pin and ground at the other.  If the transistor is off, you get 5v at one pin, and the other pin is floating.  That doesn't seem right? 

I'd probably use a multimeter to check how voltages are changing when you switch the opto, that might help isolate the issue, and you could also try just apply your 5v and ground to the relay pins to check it works. 

I can't remember if that relay is only on when voltage is applied, and off when no voltage, or if it is one where you reverse the voltage to switch the other way.  Might be worth checking what sort of relay you have, to make sure it will work with this schematic. 

Hope some of that is useful!