#New mobiflight version

1 messages · Page 1 of 1 (latest)

jovial copper
#

hello, I updated my mobiflight, where is the interface to create new buttons on my arduino board please ?

pliant oasis
#

It is in settings

jovial copper
#

thanks

stuck whaleBOT
#

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 MobiFlight!

brave pivot
#

A Nano has 18 pins... where did you intend to wire additional buttons?

stuck plank
#

please write 🙂

jovial copper
#

I put this screenshot here just to show the window I m looking

stuck plank
#

so if you want to add the multiplexer you need to remove some of the existing devices to free the pins for the multiplexer

jovial copper
#

Is it okay if I use analog pins as if they were digital? (here, pins A0 and A1)

brave pivot
#

Yes, except A6 and A7 on a Nano. Those are only good for analog input. Nothing else.

stuck plank
#

yea those are free

jovial copper
stuck plank
#

so hmm, is sw11 only one side?

brave pivot
#

A single 16-bit multiplexer will need four address lines plus one data pin.

stuck plank
#

you can put the "x" marks on the unused pins so kicad will not complain in the "design rule check"

jovial copper
stuck plank
#

it is only connected on one pin

jovial copper
#

Yes it'sON-ON switch

stuck plank
#

yea so only one function needed

#

the others are three position?

jovial copper
#

Some are 3 positions, others are 2

stuck plank
#

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."

brave pivot
#

ON-ON switches generally only need one pin connected.

jovial copper
brave pivot
#

because Mobiflight can detect the Release status

stuck plank
#

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

jovial copper
#

Thanks for the tip !