#New mobiflight version
1 messages · Page 1 of 1 (latest)
It is in settings
Step-by-step guide for configuring a board with a button in MobiFlight.
thanks
Since this is :white_check_mark: resolved I'm locking the thread. For additional questions or similar issues please start a new thread in #1028767888242376794. Happy flying!
:pray: Got the help you needed? A small donation fuels the ongoing development of
MobiFlight!
A Nano has 18 pins... where did you intend to wire additional buttons?
please write 🙂
I will use a multiplexer
I put this screenshot here just to show the window I m looking
so if you want to add the multiplexer you need to remove some of the existing devices to free the pins for the multiplexer
Yes, I should have succeeded, I'll order the PCB soon. The diagram might be a bit chaotic cause im beginner
Is it okay if I use analog pins as if they were digital? (here, pins A0 and A1)
Yes, except A6 and A7 on a Nano. Those are only good for analog input. Nothing else.
yea those are free
Yes it was the error I did on my precedent pcb
so hmm, is sw11 only one side?
A single 16-bit multiplexer will need four address lines plus one data pin.
you can put the "x" marks on the unused pins so kicad will not complain in the "design rule check"
what do you mean ?
it is only connected on one pin
Yes it'sON-ON switch
Some are 3 positions, others are 2
ah true
wasnt looking hard enough
also see the green note on the multiplexer page on docs
"In electrically noisy environments, a pull-up resistor can be connected between the microcontroller’s supply voltage and SIG to increase signal reliability. Use a 10kΩ resistor to +5V with 5V data signals, and a 1–5kΩ resistor to +3.3V with 3.3V data signals."
ON-ON switches generally only need one pin connected.
yes GND and 1 pin
thanks I will do it
because Mobiflight can detect the Release status
so you might as well do the 10k ohm pullup to 5V
btw, one tip that I am using that makes the wiring easier
I use the global labels
then I do this
just need to use the same names
it is waaaay easier to move pins around if needed
Thanks for the tip !