Search found 1244 matches

by frank
Tue Mar 26, 2024 11:44 am
Forum: Algorithm development
Topic: Need help with log for 1/X block
Replies: 6
Views: 67

Re: Need help with log for 1/X block

I never think of it as a /16, I always treat it as a log number being directly entered so try:

Code: Select all

;------ Ratio
RDAX REG0,1.0000000000
SOF 0.6666666667,0.3333333333
WRAX REG1,1.0000000000
LOG -1.0,-1.584964
EXP 1.0,0.0
by frank
Tue Mar 26, 2024 10:55 am
Forum: Algorithm development
Topic: Need help with log for 1/X block
Replies: 6
Views: 67

Re: Need help with log for 1/X block

I think we are looking at a range issue here, if we look at your code: ;------ Ratio RDAX REG0,1.0000000000 SOF 0.6666666667,0.3333333333 WRAX REG1,1.0000000000 LOG -1.0,-0.09906015629507227 EXP 1.0,0.0 And assuming I understand it, the smoothed POT ranges from 0.333 to 0.999 which is then fed to th...
by frank
Sun Mar 24, 2024 2:03 pm
Forum: Algorithm development
Topic: Need help with log for 1/X block
Replies: 6
Views: 67

Re: Need help with log for 1/X block

The important thing about LOG/EXP and POT ranging is to remember the following equations: X^N = EXP2(N*LOG2(x)) 1/X = X^(-1) = EXP2((-1)*LOG2(x)) If you want a POT to range A to B (where 0<A<B) as the POT ranges 0 to 1.0 then you need to do: POT*(B - A) + A Of course you need to make sure that all t...
by frank
Tue Jan 30, 2024 7:56 am
Forum: General Announcements
Topic: New scam email going around
Replies: 0
Views: 573

New scam email going around

Another scam email is going around claiming to be from Spin and has a hotmail address for the "new" accounting address. Total scam, delete it if you get it. Reported to Microsoft as a scam hotmail address asking it be deleted. Spin has not changed banking info and has never and will never ...
by frank
Mon Dec 18, 2023 7:47 pm
Forum: FV-1 software questions
Topic: Roast my delay
Replies: 3
Views: 11573

Re: Roast my delay

OK, I'll start:
agsilvio wrote: Mon Dec 18, 2023 7:53 am

Code: Select all

skp 	run,	START

START:

Waste of an instruction, since you are not doing anything between the "skp' and "START:" there is no need for the skp or the START: label.
by frank
Mon Dec 18, 2023 10:29 am
Forum: FV-1 hardware questions
Topic: Extending FV-1 I/O
Replies: 2
Views: 9536

Re: Extending FV-1 I/O

Really depends on many factors, first figure out what can be done outside the chip (i.e. feedback might be able to be done in analog). If only a mono pedal can you use the second ADC and DAC for something? As to which micro, use one you already know unless you know it does not support what you need....
by frank
Sun Dec 17, 2023 5:58 pm
Forum: FV-1 software questions
Topic: How to make delay Time pot adjust gracefully?
Replies: 2
Views: 5075

Re: How to make delay Time pot adjust gracefully?

You need to use a low pass filter on the POT value so it smoothly changes. Look at other code on here and you will see things like "smoothing" or "smooth the pot" in the comments in the code.
by frank
Thu Sep 14, 2023 7:36 am
Forum: FV-1 hardware questions
Topic: Two FV1 sharing a common EEPROM?
Replies: 7
Views: 18226

Re: Two FV1 sharing a common EEPROM?

A SPDT 3-way (ON-OFF-ON) should work for 3 programs for 2 FV-1s. The program select inputs are very low current draw so a single pull-up should be fine for both but what you save in parts may complicate layout of the PCB.
by frank
Tue Sep 12, 2023 3:12 pm
Forum: FV-1 hardware questions
Topic: Two FV1 sharing a common EEPROM?
Replies: 7
Views: 18226

Re: Two FV1 sharing a common EEPROM?

Will not work, if both FV-1s change at the same time they will both try to control the EEPROM as both expect to be the only bus master and will not detect a bus contention.

Additionally as each FV-1 has an internal pull up on the lines you will not be in spec for the lines.

Use 2 EEPROMs.
by frank
Thu Sep 07, 2023 8:02 am
Forum: FV-1 hardware questions
Topic: Microcontroller and FV1 in parallel
Replies: 6
Views: 32400

Re: Microcontroller and FV1 in parallel

Use a lower POT value like 5K and it should be fine. The only real issue I can think of is using a POT value at the top of the range like 10K as that may supply enough current for one of the converters but not both so they would current starve.
by frank
Mon Apr 17, 2023 3:22 pm
Forum: FV-1 hardware questions
Topic: Using several EEPROMNs to have more than 8 programs
Replies: 9
Views: 21101

Re: Using several EEPROMNs to have more than 8 programs

I think I need to use some sort of flip-flop that addresses one EEPROM while the other one is "un-adressed". A simple inverter should do, one EEPROM is addressed by the debounced switch and the other by the debounced switch through the inverter. As long as A0 (or which ever pin is conveni...
by frank
Sun Apr 16, 2023 8:52 am
Forum: FV-1 hardware questions
Topic: Using several EEPROMNs to have more than 8 programs
Replies: 9
Views: 21101

Re: Using several EEPROMNs to have more than 8 programs

Currently doing this, but how do I avoid timing issues? I need to have this order I suppose: - disable EEPROM 1 - enable EEPROM 2 - change the FV-1 program number I was planning to use a rotary switch to select programs. Will the time needed for the FV-1 to change programs be sufficiently high to b...
by frank
Wed Apr 12, 2023 5:01 pm
Forum: FV-1 hardware questions
Topic: Dry/Wet functionality
Replies: 3
Views: 8617

Re: Dry/Wet functionality

Lot of ways to do it, if looking for an analog solution then look at some of the designs at a site like DIY Stompboxes.
by frank
Tue Mar 28, 2023 7:20 am
Forum: FV-1 hardware questions
Topic: Error in datasheet?
Replies: 1
Views: 7600

Re: Error in datasheet?

Missing a dot on the connection. Will fix in future rev.
by frank
Sat Mar 25, 2023 10:38 am
Forum: FV-1 hardware questions
Topic: Vf-1 chips availability
Replies: 2
Views: 8148

Re: Vf-1 chips availability

This type of question is best sent directly to the distributors or to support at Spin as they may miss a posting on the forums and they are the only ones that know anything about the production schedule. FV-1 is in full production and has a 3 month lead time. So plan to send a PO to the distributor ...