Raspberry Pi camera use: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


   connect cat6 cable to onenet switch (next to it)
   connect cat6 cable to onenet switch (next to it)
   connect monitor (HDMI)
   [connect monitor (HDMI)]
   connect keyboard
   [connect keyboard]
   the wireless mouse should already be there
   [the wireless mouse should already be there]
   connect the usb power plug
   connect the usb power plug


Line 12: Line 12:
   192.168.203.2
   192.168.203.2


  The pi user password is now the default DGS password, not the default one!!
  The pi user password is now the default DGS password, not the default pi one!!


Booting it up with the cat6 cable attached, is the easiest way to make sure it comes up on onenet.
Booting it up with the cat6 cable attached, is the easiest way to make sure it comes up on onenet.
Line 34: Line 34:
=To configure the raspberry pi to use the streaming software do=
=To configure the raspberry pi to use the streaming software do=


   TBD
   TBD [have history log file]
 
=thanks=
 
Thanx to Kalle for setting up this system

Revision as of 20:59, April 29, 2019

To boot the raspberry pi up

 connect cat6 cable to onenet switch (next to it)
 [connect monitor (HDMI)]
 [connect keyboard]
 [the wireless mouse should already be there]
 connect the usb power plug

It should then boot up and connect itself to onenet where it will have the IP

  192.168.203.2
The pi user password is now the default DGS password, not the default pi one!!

Booting it up with the cat6 cable attached, is the easiest way to make sure it comes up on onenet. On some machines it can also be reached as darekpi02 if DNS is set up properly


To use the raspberry pi camera to stream data

 sudo service motion stop
 ./motion -c motion-mmalcam-both.conf

that should start a little webserver so that you can see the live stream from a web browser as:

 http://192.168.203.2:8081

You will have to be on onenet to see the the video stream.

When you want to stop the stream, simply type crtl-c in the window you started the stream in

To configure the raspberry pi to use the streaming software do

 TBD [have history log file]

thanks

Thanx to Kalle for setting up this system