Micro controlled program select - odd behavior
Moderator: frank
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact:
Micro controlled program select - odd behavior
Hi,
I've made a nice effects unit which contains a SKRM-ETAP2 module.
I am using an Arduino Nano micro to control the program select. The problem is that the program on the SKRM module doesn't change every time I change the program on the Arduino. It changes some times but not others.
I have 3 digital outputs of the Nano attached to S0, S1 and S2 via a resistor divider to give me 3.3v. These outputs are set by an up and down push button. Additional to this are eight leds which indicate the selected program.
I've checked the output logic going to the SKRM module with leds and it all appears to change here.
I did think that maybe the Nano wasn't changing each of the outputs fast enough for the SKRM so I made the output changes as fast as I can using direct port addressing to no avail.
Any suggestions would be appreciated.
Steve.
I've made a nice effects unit which contains a SKRM-ETAP2 module.
I am using an Arduino Nano micro to control the program select. The problem is that the program on the SKRM module doesn't change every time I change the program on the Arduino. It changes some times but not others.
I have 3 digital outputs of the Nano attached to S0, S1 and S2 via a resistor divider to give me 3.3v. These outputs are set by an up and down push button. Additional to this are eight leds which indicate the selected program.
I've checked the output logic going to the SKRM module with leds and it all appears to change here.
I did think that maybe the Nano wasn't changing each of the outputs fast enough for the SKRM so I made the output changes as fast as I can using direct port addressing to no avail.
Any suggestions would be appreciated.
Steve.
What are the voltages at the S0, S1 and S2 pins of the SKRM module? You said you are using a voltage divider so you may need to adjust the values to make sure you are at gnd and 3.3V
Frank Thomson
Experimental Noize
Experimental Noize
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact:
Well, you said you are using a voltage divider for the signals so adjust it to give you 3.3V at the pins when they are high. Without a lot more info like a schematic, the voltage you are dividing down from, etc. not much else to suggest.
Frank Thomson
Experimental Noize
Experimental Noize
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact:
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact:
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact:
Had another chance to attempt a fix on this issue. I've attached my schematic for the Arduino controller side of things. I simply attach the shown schematic directly to S0, S1 and S2.
While I was at it I breadboarded the schematic that the guy who created the eTap2 universal hardware controller used. I've attached the basic schematic of this showing a 1N4148 coming from the arduino digital output. Difference here is that the 3.3v is referenced from the SKRM. Sorry the ground is connected from J1 to the Arduino.
The etap2 has the correct voltage at S0 whereas mine has only 1.99V.
My hunch is that the reference to 0v is different on both units ? Beyond my simple understanding of electronics.
Here's my schematic:-
Here's the etap2 controller - simplified - note 1k5 resistor:-
While I was at it I breadboarded the schematic that the guy who created the eTap2 universal hardware controller used. I've attached the basic schematic of this showing a 1N4148 coming from the arduino digital output. Difference here is that the 3.3v is referenced from the SKRM. Sorry the ground is connected from J1 to the Arduino.
The etap2 has the correct voltage at S0 whereas mine has only 1.99V.
My hunch is that the reference to 0v is different on both units ? Beyond my simple understanding of electronics.
Here's my schematic:-
Here's the etap2 controller - simplified - note 1k5 resistor:-
Since the SKRM has the 10K to ground on the select pins you will need to adjust the values you are using for the voltage divider. The 20K from the divider is basically in parallel with the 10K on the board which will result in an effective resistance of less than 10K. So you need to calculate the proper values for the voltage dividers keeping in mind the 10Ks on the SKRM board.
Frank Thomson
Experimental Noize
Experimental Noize
Have a look at this:
http://www.echotapper.nl/wp/wp-content/ ... G_0515.png
I would suggest using the logic port setup in this image.
You can use the 3.3v tap on the skrm pins(pin 6)
So that would be:
adruino digital pin -> diode -> FV-1 S0
|
->1.5k resistor -> 3.3v tap
Rinse and repeat this for S0-S2.
scrap the 10k and 20k resistors and just use the 3.3v from the skrm module!!
http://www.echotapper.nl/wp/wp-content/ ... G_0515.png
I would suggest using the logic port setup in this image.
You can use the 3.3v tap on the skrm pins(pin 6)
So that would be:
adruino digital pin -> diode -> FV-1 S0
|
->1.5k resistor -> 3.3v tap
Rinse and repeat this for S0-S2.
scrap the 10k and 20k resistors and just use the 3.3v from the skrm module!!
-
- Posts: 11
- Joined: Thu Oct 08, 2015 2:59 pm
- Location: Blackwood, South Australia
- Contact: