replace button

Hi Everybody,

Please give me advice. I would like to exchange the manual button for an Arduino nano program. I plant to the program controls my device.
How can I solder the wire? I have only two buttons (up, down). Please send a wiring scheme.

Thx
Br Andras

I have no clue what youre even saying.

Perhaps a better translator should be used?

That image? what is it? Doesnt look like a NANO to me? So what is it?

And why does it matter? How does it have anything to do with your post above?

My attempt at trying to understand your question/needs here:

1.) You have a 'device/pcb' that has a manual BUTTON on it? (yes or no?)
2.) This 'device' with the button on it.. that is the image you supplied? (yes or no?)

3.) You want to use a NANO to 'press' the button for you through a sketch... (yes or no?)

Questions:

What does the current button do? If it active high or active low?

This is a VERY basic task IMHO... when you have an legit 'button/switch'.. or want to use your external PCB 'pads'.. doesnt matter.

What you need to know is should the single be high or low..

Without knowing the voltages on the pcb I would opt for a small SPST relay

Use the 'C' (common) and 'N.C.' (normally closed) contacts of the relay.

Helló xl97,
1, yes
2,yes
3, yes?

where should I connect the wires?
Thx
BR
Andras

1, yes
2,yes
3, yes?

where should I connect the wires?

And you are willing to bet your Nano that none of the voltages on the PCB exceeds 5V ?

Yes :slight_smile:

where should I connect the wires?

You should connect the wires to the ion pin and sruddr port on the nano

ion pin and sruddr port on the nano

??

20200207_135117.jpg
OK, cute picture but nowhere near comprehensive enough for us to track down all the connections to know how to connect things. I see some buttons going to ground but not the "ON" button.

Need a full picture of the board, and to know the battery voltage. Also, you seem to have taken the picture inside and the glare is not helping. Take it out in full daylight but not in the sun and take a high-resolution picture of the whole board neatly framed and nothing else.

Thx Paul
Battery 2pcs AAA

20200209_111817.jpg
Expand.

Well, now we know that all three pushbuttons are connected to the negative of the 3 V battery.

You need to connect the battery negative - "GND" on that PCB - to the Arduino negative. Connect each button that you wish to control, to the anode of a Schottky diode, the cathode going to an Arduino pin to control that button. There are pads on the PCB already provided for you to solder the wires easily - but you will require some care to re-assemble it to the LCD.

In the Arduino setup() code, you first digitalWrite the pin for each button to HIGH, then set that pin as an OUTPUT.

To actuate the button, you digitalWrite the pin LOW for half a second or so and then HIGH again.

Paul,
Thank you so much. It is very helpful.

I marked a place in the picture. is it worth soldering there?

Picture

20200209_14341.jpg
Expand

szaharin:
I marked a place in the picture. is it worth soldering there?

No.

Coming up from the button there is a thin track going up to a round dot. That dot is there for you to solder to. To the right are "VDD" and "GND" points as well. (For the present, you only want the "GND".)