Just a few buttons/switches perhaps a 7 segment display any help is greatly appreciated please assume i know basically nothing.
First aid come here: How to get the best out of this forum - Development Tools / IDE 1.x - Arduino Forum
Closer description, please.
A 5161AH 7-segment display
That is a common cathode LED.
Connect the cathode to GND. Use a 220 Ohm resistor in serie with each segment.
Connect the other side of the resistors to free digital pins.
For buttons use INPUT_PULLUP mode. Connect the button between a digital input and GND,
Careful with the UNO R4 WiFi, the I/O pins have a maximum current of 8mA, 220 ohms is too low a value.
Thanks! My lack of R4 knowledge! (5 volt - LED forward voltage) / 0.008 Amp == ca 2.5 / 0.008 = ca 330 Ohm.
OP! Please check the datasheet for segment forward voltage!
Thank you for the help but that’s not quite what I’m looking for I’m trying to make a switch/display panel for a flight sim, I understand the hardware I just need help getting my Mac to recognize it as a controller or something like that.
Thomas
Which flight sim? I use FlightGear with a Mega 2560.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.