1
  • Is it possible to send keys to a computer connecting the RPi A+ via USB on the computer?
  • Will the RPi have enough power?
  • If yes, how?
Drarig29
  • 113
  • 5

1 Answers1

2

Partly no.

Based on what I inferred(guessed) from your question, no. Plugging in the Pi to a computer via USB using the micro-USB port will not provide you the chance to send data over it since, from what I've guessed, you're trying to use the Pi's micro-USB port. That port is strictly for power only except on the Pi Zero, one is for data and one is for power. Nevertheless, all Pis can only work as a host (you cannot plug it into a USB port and use it as a device or "slave").

You'll need adapters like a USB to serial adapter and some programming skills to pull it off. So, yes.

Aloha
  • 7,136
  • 1
  • 28
  • 52
  • There's no mention in the question or any of the subsequent comments of a micro USB port. Kinda funny seeing it in a potential answer? – goobering Feb 18 '16 at 15:30
  • @goobering "based on what I inferred". This is a common question where people ask if it's possible to connect their Pi via USB and use it as a slave. – Aloha Feb 18 '16 at 15:32
  • @goobering But he's entirely right. It's the answer I expected ;) – Drarig29 Feb 19 '16 at 10:26
  • 1
    @goobering Sometimes you just gotta take a guess. – Aloha Feb 19 '16 at 13:00