-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analog button #44
Comments
As I understand it, you are talking about such a scheme. I don’t understand at all what the circuit will look like if it is divided into two, 8 buttons each. This will be very difficult. And you will need to run 8 wires to your gearbox. Now there is a diagram in the description where you can do all this using 3 wires. I don't think it makes sense to add buttons on a matrix circuit to the firmware. Buy 74HC165 shift registers. They are cheap)) |
The reason I want this system is because I have ready-made connections. And I asked, thinking that maybe there was a suitable scheme in the system you prepared. I don't think about money. Which system can I use the most buttons using the least amount of cables? Which one should I choose? |
Ok. Well, I don’t think it will be difficult to redo the wires on your assembly. It would be better and more compact. But you can ask @vsulako to do this if he wants. But again, other connection options are much better. Currently, the firmware does not implement the button connection option that you need. |
|
thanks for the answer. I will try to use 74HC165 shift register for gear (8 buttons). (I hope I can succeed) I will try to make the 8 buttons on the steering wheel with analog button connection. This seems to be the easiest. |
You can do everything on analog buttons or everything on registers. Just keep in mind that you won't be able to press multiple buttons on an analog connection. Analog buttons are more suitable for gearboxes. |
Added support for button matrix.
|
Thank you very much. I think the other methods you mentioned make more sense. If I fail to do so, I will go back to the matrix link. |
Hellı again. I'm trying to make a connection using the analog button method. I made the button connections with 4.7k resistors. I cannot assign buttons because I cannot see the values. How can I see the values? Also, can I use both analog connection and shift register at the same time? |
|
Okay, I took care of the analog buttons. I decided to use matrix connection instead of shift register for gear, but I could not understand the pin connections in the matrix codes. 234 567 says 6 pins in total, but 8 cables are needed for 16 buttons. Should I make the connection according to the diagram in the picture above? |
You say you already have button matrix.
And connect to your button matrix accordingly. Usually rows/cols pins are interchangeable, but sometimes matrix can have diodes inside, to prevent ghosting. |
I've been trying to find where the problem is for hours. I was connecting the buttons but it wasn't working. You have uploaded a new ino file. I was trying to write the Matrix code myself. When I downloaded the new ino file, my problem was solved. thanks a lot. |
Hi bros again. After giving direction with hatswitches, can we add a button that we can use instead of backspace(actually ESC) and enter? Is the button code available? @vsulako |
For example, you entered the settings tab in the menu. I meant a button you can use when you want to go back to the main menu tab. Like the X and O buttons on the playstation controller. Is this possible? |
Hello. How many buttons can I connect to a single pin in the analog button connection? I want to use 4x4 matrix button connection (8 for gear and 8 for steering wheel). Also, are resistors necessary?
The text was updated successfully, but these errors were encountered: