ArduinoYum - starter questions

Hello ,
I want to make a project that connect the arduino to a device on SSH
so I have 3 questions:

  1. can I use the ArduinoYum for it? right ? the Yum know how to enter to another device using SSH and read\write to it ?
  2. can I "save" the answer from the device and them "work" with it
    for example -
    the Arduuno will ask the device a question - "get device name"
    and if the answer is "name1" then pin4=high , and if the answer is "name2 " pin5=high
    can I do this?
  3. how many digital pins I can use ?
  4. is there any device like the Yum that doesn't have a WiFi in it?
    can I disable the WiFI ?

Thanks ,

@david1234,

Please read these articles to get started

Arduino Yún

Getting Started with the Arduino Yún

TIA
Jesse

Its Yun, with an 'n'.
To avoid some XY problems, share with us what is your project about, and why do you need to talk over ssh and not another protocol like telnet (yun has a friendly Telnet library called Console).

I can use telnet - doesn't matter to me.
I have a device that I connect to it using serial (Rx,Tx,GND)
the purpose of the project is :
the Arduino will be able to "talk" with the device - read data from it and display it on LCD(connected to the Arduino) , also to be able to change setting in the device according to the data it receive.
for example -
The Ardiuno will send the device - "working time?"
the device will return "26:00:04",
he will send reset to the device,and show in the LCD massage "Reboot"

david1234:
...
4. is there any device like the Yum that doesn't have a WiFi in it?
can I disable the WiFI ?
...

Disable the WiFi:

nano /etc/config/wireless
config wifi-device 'radio0'
	...
        option disabled '0'
...
config wifi-device 'radio0'
	...
        option disabled '1'
...

reboot Yun.

david1234:
...
3. how many digital pins I can use ?
...

ATmega32U4:

Digital I/O Pins:20
PWM Channels:7
Analog Input Pins:12

https://www.arduino.cc/en/Main/ArduinoBoardYun

Atheros AR9331:

sonnyyu:
Biggest problem Yun did not break out any GPIO pin (total of 29) which could provide I2C connection.

Now we have software but hardware.

Digital I/O Pins:0

david1234:
...

  1. can I use the ArduinoYum for it? right ? the Yum know how to enter to another device using SSH and read\write to it ?
    ...

for interactive to another device using SSH:

ssh "ip address of another device"

If you need to program to another device using SSH.

Passwordless SSH client at Yun

david1234:
...
2. can I "save" the answer from the device and them "work" with it
for example -
the Arduuno will ask the device a question - "get device name"
and if the answer is "name1" then pin4=high , and if the answer is "name2 " pin5=high
can I do this?
...

Yes.