#Input SHifter Problems

1 messages · Page 1 of 1 (latest)

trim sand
#

im currently trying to get my input shifters to work (3 Shifters daisy chained like the wiki shows). My problem is that regardless of which number i selected from the 24 numbers i have due to the shifters only always one physical button works. even if i have different functions with different pinnumbers(not 100% sure how to call this number) only one physical button works, that somehow controls both digital buttons in the sim. what am I doing wrong?

distant tundra
#

Can u show us the wiring diagram of ur setup

trim sand
distant tundra
#

Have u tried to connect all CE pins to gnd?

trim sand
#

you mean pin7?

distant tundra
#

I believe its pin 15 of the SR

trim sand
distant tundra
#

Yes that one

trim sand
#

pin15 is grounded at all 3 of them

distant tundra
#

Why is the SER from ur master SR connected to gnd?

trim sand
#

its connected as its said in the mobiflight wiki

distant tundra
#

Still i belive SER is not supposed to be connected to gnd

mighty pebble
#

yes in te first SER goes to gnd

trim sand
#

so my curcit is correct?

distant tundra
mighty pebble
#

if the green line on the button is GND is corretc

distant tundra
#

I did mine like that and it works just fine

mighty pebble
#

don't mix thats for outputs

distant tundra
#

Oop misread that one

trim sand
distant tundra
#

I meant the 2nd one

mighty pebble
distant tundra
trim sand
#

they are all there

#

its seams like its only reading the 24th input

distant tundra
#

Ser is connected from SER slave to master Q7, u didnt have to connect it to ground

trim sand
#

so if i select button 6 in mobiflight it uises button 24 for some reason

mighty pebble
#

did you try first with 1 IC?

trim sand
#

no

mighty pebble
#

please share the complete picture with the button part

#

i don't know why I'm seeing a +5V there in the midle

trim sand
mighty pebble
#

did you double check you dont mix the 3 pins going to the arduino?

trim sand
#

yep

#

ive gone everything through with a multimeter

mighty pebble
#

check with only one IC

#

pin 9 of the left most to the arduino

#

what you get on the debug windows?

trim sand
#

so it does recognice the inputs?

#

oh no wait thats just the clock going through

#

so i dont know how to explain properly but, when i click one specific physical button the clock goes through once and it looks like in the screenshot. when i press any other physical button nothing happens

distant tundra
#

What kind switches are you using?

trim sand
#

6x6mm tactile push buttons

distant tundra
#

May i see how you wired them

trim sand
distant tundra
#

Its kinda difficult to comprehend it from the schematic

#

Its like u have the voltage connected to both of the poles of the switch

trim sand
#

one of the buttons leg is ground and the other one is connected to a pull up resisitor and a pin at the register

mighty pebble
# trim sand

show the press, that is normal when you start running

#

with each press you get that log?

trim sand
#

mobiflight seems to only recognice the 24th button from the unput shifters

#

so only the last button from the last shifter

#

or if im pressing the 24th button mobiflight things i have pressed all the 24 buttons at the same time

#

thats my understanding of the logs

distant tundra
#

Would it be correct if its like: cuz if u swap the resistor with the Vin, it make all the switches On

mighty pebble
trim sand
distant tundra
#

Ohh thats prolly why

#

The pole separation for tactile switches is vertical

#

Youd turn them on if its wired like that

#

The SR pin must be with the GND

trim sand
#

what do you mean?

#

its like the wiki said

distant tundra
#

This is basically how SR read each pin input if you wired it like that. If SR pin is connected to Vin, its on, else its off. Try connecting all the SR pins to the GND side instead of the Vin

mighty pebble
#

please just use 2 pins of the push button 1 to gnd and other to the IC input

#

doesnt need vin

trim sand
#

ive found the problem

#

for some reason the dlock tracer from my pcb seems to have been damaged so there was no connection to the arduino. ive bridge the tracer with a wire and now it works fine. i dont know why the tracer isnt working becuase at all 4 other pcbs that i have (which are 100% identical) the tracer works just fine. i guess i was just unlucky here but whatever now it works with that small walk around

#

thx for your help anyway