FV-1 Multi effect full forum project ready to go. (ShimmerVerb Also)

Started by Ice-9, September 08, 2013, 09:23:49 AM

Previous topic - Next topic

Ice-9

@Loopmaster  The jacks and the pots are not correct if you want them to be board mounted.

The pots need to be the long legged ones, the pots in your mouser link are short legged, but there is no reason you can't use normal solder lug pots and connect them with wires if you prefer. The correct long legged pots are available from Mammoth in the USA or Musikding in Europe (EDIT. I will have to check where in Europe I got mine from as I can't seem to find those at Musikding now) .
I personally use wired pots now.

The signal jacks are the wrong type also as they have a nut that screws on a protruding thread, I have just checked Mouser and this is the correct type
http://de.mouser.com/ProductDetail/REAN-Neutrik/NYS215/?qs=sGAEpiMZZMv0W4pxf2HiVy2l1tTxTkO1zTDnJB71BQc%3d

The switch and psu connector are ok.

The caps should be fine.

I will post a picture later today of a finished pcb but without the pots so you can see the assembly and component sizes.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Ice-9

I have submitted a little PCB to OSHPark and have shared the file if it's of any use to anyone.

It's a little pcb to hold an 8 position switch for program changes of the FV-1. this one works along with the pic chip that is on my main pcb.

I will have a look at a diode based pcb that can output the S0-S2 hex directly as well if anyone i needing that type of 8 way switch.

www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Hi everyone today I have discovered this thread and this DSP Chip. I want to congratulate with you for your skill in electronic and programming.
I want to ask you if is ready the instruction pdf of the first post or there is a guide to follow to build this pedal.
I'm interested in this EEPROM feature to use more programmed effects, how it works? Is there a guide to follow? I read lot of things on "http://www.spinsemi.com/" and its forum but it is not very clear at the beginning.
I know there is the HEX file posted by Ice-9 but is there also a source code where i can understand what is happening or it is not possible?
I'm sorry for all those questions but I want to know how  to program this kind of DSP and not only copy your work to contribute to the evolution of the project (if it is possible).

thelonious

Quote from: Ice-9 on July 09, 2014, 07:00:51 PM
It's a little pcb to hold an 8 position switch for program changes of the FV-1.

Nice! Thanks for this!

Digital Larry

Quote from: Rebel_88 on July 12, 2014, 10:00:04 AM
Hi everyone today I have discovered this thread and this DSP Chip. I want to congratulate with you for your skill in electronic and programming.
I want to ask you if is ready the instruction pdf of the first post or there is a guide to follow to build this pedal.
I'm interested in this EEPROM feature to use more programmed effects, how it works? Is there a guide to follow? I read lot of things on "http://www.spinsemi.com/" and its forum but it is not very clear at the beginning.
I know there is the HEX file posted by Ice-9 but is there also a source code where i can understand what is happening or it is not possible?
I'm sorry for all those questions but I want to know how  to program this kind of DSP and not only copy your work to contribute to the evolution of the project (if it is possible).

Take a look here:

http://www.diystompboxes.com/smfforum/index.php?topic=107927.0
Digital Larry
Want to quickly design your own effects patches for the Spin FV-1 DSP chip?
https://github.com/HolyCityAudio/SpinCAD-Designer

Ice-9

Quote from: Digital Larry on July 12, 2014, 12:31:06 PM
Quote from: Rebel_88 on July 12, 2014, 10:00:04 AM
Hi everyone today I have discovered this thread and this DSP Chip. I want to congratulate with you for your skill in electronic and programming.
I want to ask you if is ready the instruction pdf of the first post or there is a guide to follow to build this pedal.
I'm interested in this EEPROM feature to use more programmed effects, how it works? Is there a guide to follow? I read lot of things on "http://www.spinsemi.com/" and its forum but it is not very clear at the beginning.
I know there is the HEX file posted by Ice-9 but is there also a source code where i can understand what is happening or it is not possible?
I'm sorry for all those questions but I want to know how  to program this kind of DSP and not only copy your work to contribute to the evolution of the project (if it is possible).

Take a look here:

http://www.diystompboxes.com/smfforum/index.php?topic=107927.0

Yeah Digital Larry's Spincad program really can make build your own programs easy.

All the info on building the FV-1 is within this thread, It has got to be a large thread and may be difficult to find all the info in an orderly fashion.
I will zip everything up that I still have on the hard drive and post it in one file. This will include all the asm files as well which are all just slightly modded files that are available elsewhere.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Thank you for your help and your time spent for us.
The spinsemi site is interesting but it is not very clear, for example on this page http://www.spinsemi.com/mixer_application.html you can find examples of hardware and firmware but it is not for a beginner of this chip.
I have a question about the EEPROM: on the application note http://www.spinsemi.com/Products/datasheets/spn1001/FV-1.pdf (General Description page 4 ) is used an EEPROM without a pic controller and you can select it using the T0 pin and use the S0,S1,S2 to choose one of the 8 program on it. Why did you used the PIC controller? I serached in the Thread but didn't understand why, sorry if you have already answered to this question.
Thank your again for help is very important and appreciated.

slacker

On the schematic on page 5 of the FV-1.pdf it uses switches connected to S0, S1 and S2 to choose which program you want. If a switch is closed the pin is connected to 0 Volts and if the switch is open the pin is connected to 3.3 Volts by the 20K resistor, this gives you eight options from 0 to 7 as shown in the table "Counting in binary" here https://en.wikipedia.org/wiki/Binary_numeral_system. If T0 is connected to 0 Volts this selects the internal programs 0 - 7 as shown on page 4 of the FV-1.pdf, if T0 is connected to 3.3 Volts it selects programs 0 - 7 from the EEPROM instead.

The PIC replaces the 3 switches, 3 of the outputs of the PIC are connected to the S0, S1 and S2 pins and can send either 0 or 3.3 Volts to the pins. A pot connected to one of the PIC's inputs controls what binary number is sent to the S pins and so chooses the program. You can see it in action here, the pot on the left selects between different programs.

Hope that makes sense.


Ice-9

Thanks Ian, you beat me to the answer to that question.

Just to add to this.

I decided to go down the pic route to control the program selection as I found it nearly impossible to find an 8 position binary switch that was small enough to fit everything in a 1590b enclosure (about the size of a 16mm pot) and at a reasonable price. So on the pcb a pic was added with the switching code that can output the needed switching combinations and all from the input of an normal potentiometer. The only drawback with the pot is that there is no distinct switch click positions for the 8 effects.

I then found a source of inexpensive 1P8T switches which were of a good footprint size, so I set about making this work with the pic using the same 3 connection a pot would connect to making it a straight forward replacement for the pot but with the advantage of the position clicks for accurate selection of the 8 effects.

I also put 4 wire connection points on this PCB so that the pic can be left out completely so that other ways to do the switching could be used. It's now quite possible to use the same 8 position switch I have used with a diode configuration to directly output the binary and do away with the pic chip. ( I have to design a little PCB for this as I already did for the previous switch which I will also upload to OSHpark for anyone to use.)

Anyway to put it into the reason for the pic+pot over 3 bit binary switch, it was down to cost and size. the first being about £2 and with a small size while the second option was about £17 and too big to fit.

The PIC software was written by Slacker and performs flawlessly and with a minor mod and a 16 way switch could easily select both the internal and external programs, or for that matter 2 external eeproms could be used with the 16 way switch and code.

I will upload all the files I have in one Rar file tonight if I can get them done in time before the World Cup Final. :) Otherwise it will be Monday.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Ahh ok thank you I've got it! It is only a trick used instead of a 3 way binary selector. I did the same in a Atmega controlled pedal but I used rotary switch and optocoupler between ICs. Now it is very clear and easy to understand.
So you use a selector on the PIC and it creates the 3bit address for the FV-1 used to select the 0..7 program on the EEPROM.
Another question is on the EEPROM programming. I have read the guide of the software used by spinsemi, the SPINAsm http://www.spinsemi.com/Products/datasheets/spn1001-dev/SPINAsmUserManual.pdf, but i have some trouble.
When i want to program the EEPROM (page 20 of the manual) I have to create all my 8 sketch and use the SpinAsm Project Mode Dialog
At the end I have to  connect only the EEPROM to the programmer and after  put it in the circuit board? I cant understand it very well because the manual is referred to the development board and i don't understand if i have to let the SPN1001 connected or not.

In this way i can program N eeprom and I could choose one of them by Mux/demux and have 8*N +8 effects.

Ice-9

The Spin docs describe how to program the Eeprom that is on the Spin Dev board which has it's own usb interface built in and can directly flash the eeprom on the Dev board.

One way to program other FV-1 based designs that have an Eeprom (including this one) is to use the Spin Software to make your programs and and save them as you would normally, tick the box that says 'intel hex' and press the 'build' button.

This saves the hex file to be used in any programmer. I use a Pickit2 which connects with 3 or 4 wires to the pedal as in the picture below. I use 4 wires so there is no need to power the pedal while programming the Eeprom. the Eeprom is flashed in situ, no need to remove it. See picture below for programmer connections which are the same for all suitable programmers.

www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Thankyou very much for your help!I have ordered the FV-1 chip, the EEPROM, and a PICKIT2 programmer, now i have to learn how to use it and program the EEPROM because i have used other chip.

Is there a better quality schematic? i can't read the value of parts also if i download the image.

Ice-9

Here are some of the docs and schematics I have at hand, no asm files in this yet but as soon as I can find them I will post them up as well.

https://drive.google.com/file/d/0BxsnlsbxdciqUFFjZGhIQl9XaFk/edit?usp=sharing

List of files in this rar
1. schematic hi res
2. Parts list
3. Eeprom hex file
4. some pictures.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Thank You for sharing your work it will help me( i sent the request for the access to the material)
I hope to contribute to the thread in the future and give back at least a part of the favour.

Ice-9

The link should work now, I hadn't set it to share before, let me know if you still can't download it.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Lurco


Rebel_88

Thank you, the link works very well!  :icon_biggrin:

The file .hex is referred to the  EEPROM?

Ice-9

Quote from: Rebel_88 on July 15, 2014, 02:11:01 AM
Thank you, the link works very well!  :icon_biggrin:

The file .hex is referred to the  EEPROM?

The file .hex is the file that contains the complete set of  8 effects programs that are compiled ready to write to the Eeprom.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

Rebel_88

Thank you very much!
For the power protection i found a P mosfet that might be good.
It is a AO4407 with :
- Vds -30V
- Vgs +-25v
- Rds on at 9V 14mOhm,
- Vth -2V
And it is very cheap, on ebay 10 for 2 € http://www.ebay.it/itm/10PCS-NEW-4407-AO4407-AO4407A-SOP8-P-Channel-MOSFET-IC-/140876914882?pt=LH_DefaultDomain_0&hash=item20cceb20c2.
If you want to use this kind of mos i think you have to change the 10V Zener diode and use a 6V.

Ice-9

Finally I got around to finding most of the ASM files for the effects, there isn't much change from the original programs that are scattered around on other sites but it is nice to have them in a rar file here. Most of the code has working explanations within the code.

https://drive.google.com/file/d/0BxsnlsbxdciqZklTcGp5VG44ekU/edit?usp=sharing
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.