Hello, we are trying to connect the button to a TFT LCD screen , our problem is that the screen covers the inputs openings where we are supposed to plug the wires and connect them to the board, so we do not have opening on the Arduino Uno board .
We are new at this, can anyone please help clarifying it ?.
It sounds like you have a TFT LCD shield that plugs into your Uno. It probably doesn't actually use all the pins, just some of them. You can get proto shields will room to connect your button and then the LCD shield will stack on top of that.
Or just solder your button leads onto the LCD shield pins you want to use.
Hello, We are trying to create a simple game such as snake game/dino game which require user input/interactions, is the touch screen better than connecting wires to a button ?.
Design the game. It is entirely an aesthetic choice.
I've not liked the touch screens I've used, but if I need to touch on a screen I go along with it.
Buttons work well but have a look and feel that mightn't please and after some time, as @sterretje points out, will start to disappoint.
In particular, cheap tact switches get to that point sooner than "real" parts.
An alternative is to use touch sensitive switches, either singles or matrices.
I've had good luck with the MPR121 which can be found in inexpensive matrix keypads and also modules for wiring your own switch areas:
The tact switch is nice for the, um, tactile feedback. I use a click on a piezo or a stab of a bright LED to confirm user action if nothing in the actual game woukd all by itself.
Hello , could someone please tell us if we can use the keyboard of the computer which is connected to the Arduino screen on Arduino uno 3 board to manipulate the program ?
We are trying to create simple game programs such as dino game, and it requires the input of user such as press button or press on screen if it is touch screen, is it possible to write a program that ley the user interact with the game from the keyboard?
if you want your arduino to receive data from the computer you need some sort of program running on the PC which is capturing the key pressed and sending that over the Arduino using some communication link
a Serial terminal could be used if configured to send keys right away and not wait for return (coolTerm can do that) . On the Arduino side you would receive the comands over the Serial port.
@mugin you fine ppl now have three threads going on this project.
You will be better served if you flag this and ask the moderators to combine them into one, so we are not needing to repeat ourselves or go elsewhere for details that may matter.
Ok, thanks for the advice, I am new here on this form and Arduino in general, I will try to see how to merge them, sorry for the inconvenience and thank you.
I have a 3.5" TFT LCD shield which display the program we burn when we connect the Arduino studio to the laptop and upload the program.
Is it possible that the user can play through input on the laptop's keyboard, for example the user press enter on the laptop and the creature on the TFT LCD shiel jump ?
I heard that touch foil for screen\touch display are not reliable because they might "go bad" after a few tryouts according to my colleagues, the budget is 50 euros, so I am not sure if we go with screen or buttons.
I have as well included pictures of the tft shield and how it is connected to the board, it was suggested to us to connect few buttons to one pin and control if from there, but we have only the SDA one available and I am not sure if we can use it for that, might you know a little of this?, any input is helpful.
Thank you for your reply, If I may, since I have seen that buttons seem to be more approached, to your knowledge, is it possible to connect one wire to SDA pin and press multiple buttons (say 3 or 4) for the game through it?
(It was suggested to use the i2c concept for that since as displayed in the picture the shield does take most pins although it does not use all of them as was said beforehand).
To be honest I am a bit new to arduino and hardware, it seemed that connecting the arduino and having the program on computer that would capture control key would be easier, since as you can see from the picture we only have few pins open and the suggestion was to connect multiple buttons to SDA pin seemed a bit confusing.
In your opinion, would connecting multiple buttons to SDA pin and controlling the game through them possible?
Unfortunately I do not have it, but if we need the pins that are unused by the shield but still connected, then we have to get a proto-shield to access it, is that correct?
if there are pins on the screen that are unused then bend them away (or just remove them) when you slide the shield onto the arduino so that the female sockets on the arduino are still accessible. you'll have enough space to place a 90° header pin and connect whatever you wanted to connect