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?
#Input SHifter Problems
1 messages · Page 1 of 1 (latest)
Can u show us the wiring diagram of ur setup
Have u tried to connect all CE pins to gnd?
you mean pin7?
I believe its pin 15 of the SR
Yes that one
pin15 is grounded at all 3 of them
Why is the SER from ur master SR connected to gnd?
the right one is the master
its connected as its said in the mobiflight wiki
Still i belive SER is not supposed to be connected to gnd
yes in te first SER goes to gnd
so my curcit is correct?
if the green line on the button is GND is corretc
I did mine like that and it works just fine
don't mix thats for outputs
Oop misread that one
the green bottom line is ground yes
I meant the 2nd one
Ser is connected from SER slave to master Q7, u didnt have to connect it to ground
so if i select button 6 in mobiflight it uises button 24 for some reason
did you try first with 1 IC?
no
please share the complete picture with the button part
i don't know why I'm seeing a +5V there in the midle
did you double check you dont mix the 3 pins going to the arduino?
check with only one IC
pin 9 of the left most to the arduino
what you get on the debug windows?
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
What kind switches are you using?
6x6mm tactile push buttons
May i see how you wired them
Its kinda difficult to comprehend it from the schematic
Its like u have the voltage connected to both of the poles of the switch
one of the buttons leg is ground and the other one is connected to a pull up resisitor and a pin at the register
show the press, that is normal when you start running
with each press you get that log?
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
Would it be correct if its like: cuz if u swap the resistor with the Vin, it make all the switches On
that's what i think you mix data and latch
like that
ill check
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
push buttons dont need vin
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
please just use 2 pins of the push button 1 to gnd and other to the IC input
doesnt need vin
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