jepperaskdk
Posts: 4
Joined: Mon Apr 14, 2014 6:48 pm

Monitor the Pi through USB on PC.

Mon Apr 14, 2014 6:52 pm

Is it possible to monitor the Raspberry Pi Model A, through a USB-connection, in a program on my PC? (Windows 7).
I've found a Wi-Fi solution, but i'm looking for a USB-solution. If i'm not using any of the outputs on the Pi, is it then also possible to both supply the Pi with current (through the USB) and to monitor the Pi, through the same USB-connection?

Thanks in Advance.

suicidal_orange
Posts: 217
Joined: Sun Mar 16, 2014 10:56 am

Re: Monitor the Pi through USB on PC.

Mon Apr 14, 2014 7:48 pm

Short answer - no. The USB power port is just for power, the Pi doesn't even register as being connected to the computer.

The closest you can get is getting lucky and finding a computer that will reliably power a Pi from USB (if it follows the official USB specifications it wont provide enough current) and use a model A with a USB wifi adaptor, that's what I do.

It may also be possible to rig up a network using second USB connection to the other end of the Pi, but I've not tried that. Or maybe an out of spec USB3 port would give enough power to run a model B in which case you could connect it using a crossover cable...

Hope that helps!

fruitoftheloom
Posts: 20900
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Monitor the Pi through USB on PC.

Mon Apr 14, 2014 8:32 pm

I have never tried to use a USB Data Transfer Cable (USB needs a Host & Slave, so a basic cable will not suffice ) but it may be feasible

http://ecx.images-amazon.com/images/I/3 ... SX300_.jpg

http://www.linux-usb.org/usbnet

Though you will still need a Power Supply for the Pi
Retired disgracefully.....

keithellis
Posts: 142
Joined: Thu Dec 12, 2013 10:39 pm
Location: Suffolk, UK
Contact: Website

Re: Monitor the Pi through USB on PC.

Mon Apr 14, 2014 9:11 pm

One way of doing this is by using a USB serial console cable. The console cable connects to the USB port of your computer and to the GPIO serial pins on the Raspberry Pi. This can also be used to power the Pi so no need to plug a power lead into the Pi USB port, though it is very easy to connect up the console cable incorrectly and blow your Pi up.

The console cable will give you a connection very similar to a SSH connection. No graphical user interface but you will have full access to the command line interface.

I have a video tutorial which talks about headless setup of the Raspberry Pi using a console cable, this is biased on using a Mac as the main computer, but Adafruit has a very good tutorial here which also details Windows setup.

Video tutorial http://bit.ly/headless_install
Adafruit tutorial https://learn.adafruit.com/adafruits-ra ... sole-cable

jepperaskdk
Posts: 4
Joined: Mon Apr 14, 2014 6:48 pm

Re: Monitor the Pi through USB on PC.

Fri Apr 18, 2014 8:59 pm

keithellis wrote:One way of doing this is by using a USB serial console cable. The console cable connects to the USB port of your computer and to the GPIO serial pins on the Raspberry Pi. This can also be used to power the Pi so no need to plug a power lead into the Pi USB port, though it is very easy to connect up the console cable incorrectly and blow your Pi up.

The console cable will give you a connection very similar to a SSH connection. No graphical user interface but you will have full access to the command line interface.

I have a video tutorial which talks about headless setup of the Raspberry Pi using a console cable, this is biased on using a Mac as the main computer, but Adafruit has a very good tutorial here which also details Windows setup.

Video tutorial http://bit.ly/headless_install
Adafruit tutorial https://learn.adafruit.com/adafruits-ra ... sole-cable
I don't have that cable, but does it do anything else than split each of the 4 USB-wires up, and change the voltage to 3.3V? I tried with a cable, but it seems there's a bad connection, since it keeps poppin' up..

User avatar
Burngate
Posts: 6044
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Monitor the Pi through USB on PC.

Sat Apr 19, 2014 9:58 am

jepperaskdk wrote:...I don't have that cable, but does it do anything else than split each of the 4 USB-wires up, and change the voltage to 3.3V?...
It does an awful lot more than that

Yes, both USB and serial use just two data lines, but that's where the similarity ends.
A serial connection, AKA RS232 or UART, sends and receives data at a known fixed rate - 75, 150, 300, ... 115k ... bits per second - and with a simple format - usually 1 start bit, 7 or 8 data bits, maybe a parity bit, and 1 or 2 stop bits
USB by comparison is so complicated it may as well be magic ;)

jepperaskdk
Posts: 4
Joined: Mon Apr 14, 2014 6:48 pm

Re: Monitor the Pi through USB on PC.

Sun Apr 20, 2014 8:38 am

Alright, thank you for your replies.. I managed to make it work with the Adafruit Ethernet guide.. Its impressive and works perfectly. Now i can grab my laptop, ethernet-cable and a USB/USB-micro and run my pi, without external screen, mouse etc.. Thank you!

reggi
Posts: 1
Joined: Sun May 25, 2014 7:52 pm

Re: Monitor the Pi through USB on PC.

Sun May 25, 2014 7:54 pm

There is a way to connect via USB there's a wire https://www.adafruit.com/products/954.
I'm trying to get it to work http://gist.github.com/reggi/2ccc955a4a6ce119d64d/.

Return to “Beginners”