Eeprom switch bck1001

Hardware questions and issues with the FV-1

Moderator: frank

Post Reply
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Eeprom switch bck1001

Post by leetut »

Hi, about the below bck1001 switch schematic, it takes me 4 turns/clicks to get the next program, and only loads 2 programs /repeated, so 4 programs in total, any ideas what I could be doing wrong?

Image
Last edited by leetut on Wed Jul 24, 2019 11:02 am, edited 1 time in total.
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Eeprom switch bck1001

Post by ice-nine »

I see that you are swapping between EEproms by switching power to pin pin1, the best way is to change state of one of the address line pins. that may work better.
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

http://www.pedalpcb.com/docs/Octagon.pdf

This is the schematic of the circuit I’m trying to add the rotary switch to, after removing the attiny85 nothing else seems to be connected to s0 s1 s2 but the mode pot still affects the rotary switch somehow, mode pot needs to be fully ccw to get the above behavior (4 turns to select a program)
If it turn the mode pot clockwise the rotary switch won’t work at all,
Tried removing the mode pot but the rotary switch wouldn’t work again

Just to clarify, I’m trying to remove the mode pot that selects between 8 programs via the attiny85,
And replace it with the rotary switch circuit
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Eeprom switch bck1001

Post by ice-nine »

leetut wrote: Thu Nov 22, 2018 8:26 am http://www.pedalpcb.com/docs/Octagon.pdf

This is the schematic of the circuit I’m trying to add the rotary switch to, after removing the attiny85 nothing else seems to be connected to s0 s1 s2 but the mode pot still affects the rotary switch somehow, mode pot needs to be fully ccw to get the above behavior (4 turns to select a program)
If it turn the mode pot clockwise the rotary switch won’t work at all,
Tried removing the mode pot but the rotary switch wouldn’t work again

Just to clarify, I’m trying to remove the mode pot that selects between 8 programs via the attiny85,
And replace it with the rotary switch circuit
Best way would be leave the atiny in place and replace the pot with the 8 way rotary switch with resistor ladder to control the control the atiny. Simplest and most effective way. The other way is remove the atiny and use the switch with diodes to make it a 3 bit selector for S0-S2
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

It’s a 16 position rotary switch not 8, and I don’t think I can connect it where the mode pot is, it has 5 lugs A B C D E and the mode pot only has 3
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Eeprom switch bck1001

Post by ice-nine »

leetut wrote: Thu Nov 22, 2018 4:24 pm It’s a 16 position rotary switch not 8, and I don’t think I can connect it where the mode pot is, it has 5 lugs A B C D E and the mode pot only has 3
Ok, that is not a switch as such,it is a 4 bit grey code binary encoder. Take a look at the SpinSemi docs for similar configs, you will be able to replace the entire Atiny chip and wire that encoder to the S0-S2 pins of the FV-1. If it is a grey code encoder you will have to place your programs in the order of the you want them to match the encoder output. see the encoders datasheet for output .

Here is a similar encoder setup [urlhttp://www.spinsemi.com/app_download/3K_SKE.pdf][/url] you would need to wire yours according to the datasheet of your switch.
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

But it doesn’t work, that’s why I’m here!
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Eeprom switch bck1001

Post by ice-nine »

leetut wrote: Thu Nov 22, 2018 5:30 pm But it doesn’t work, that’s why I’m here!
In that case, I would suggest you wire the encoded up on breadboard using LED's on the output and note down the truth table when each LED illuminates, check that the encoder is actually working correctly as per the data sheet. If the encoder is working correctly then you will need to look at how you have the EEPROM and the S0-S2 wire up. Have you programmed the EEPOMS with 8 programs each ?
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

I’m afraid I just have to accept defeat with this one, thank you for the info and advice anyway
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

Update: I wasn’t even going into s0 s1 s2, worked perfectly when I figured that out 😆
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Eeprom switch bck1001

Post by ice-nine »

leetut wrote: Sun Dec 02, 2018 11:04 am Update: I wasn’t even going into s0 s1 s2, worked perfectly when I figured that out 😆
Glad you got it figured out, although I don't get that you never connected to S0-S2 in the first place??
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

My point of access is the 8 pin socket that holds the attiny, it’s connected to the fv1 but it’s upside down on the schematic, so pins 5 6 7 are connected to s0 s1 s2, but on the pcb it looks like pins 1 2 3
leetut
Posts: 20
Joined: Sat Oct 27, 2018 2:33 pm

Re: Eeprom switch bck1001

Post by leetut »

Finally got this working with the lorlin 16 position switch, thanks for the tips!

Image

Image
tomsouthtrader
Posts: 3
Joined: Sun Jan 10, 2021 7:44 pm

Re: Eeprom switch bck1001

Post by tomsouthtrader »

Glad to hear you got it working! And your board looks great. :D
Though I am wondering what the third IC on the board is? Assuming the others are the two EEPROMs you are switching between..
How did you deviate from the original schematic?
And are there any differences in how you are coding your proms to make it work?
Many Thanks!
Tom.
Post Reply