[Elphel-support] Elphel camera with Raspberry Pi

Alexandre Poltorak polto at alsenet.com
Mon Jan 7 14:22:08 PST 2013


David,

On the camera you can use http://wiki.elphel.com/index.php?title=Parsedit.php to set camera parameters once.

The camera run PHP scripts, you can see some examples here: http://wiki.elphel.com/index.php?title=PHP_Examples

But all you need for your usage is to set the camera in triggered mode (external trigger) http://wiki.elphel.com/index.php?title=Trigger and use http://wiki.elphel.com/index.php?title=Imgsrv to download a single image. 

on Raspberry pi side all you need is "wget http://192.168.0.9:8081/bimg"

Regards,
Alexandre Poltorak
Alsenet SA

----- Mail original -----
| De: "David Haberthür" <david.haberthuer at psi.ch>
| À: "lengacher_p" <patrik.lengacher at psi.ch>
| Cc: support-list at support.elphel.com
| Envoyé: Lundi 7 Janvier 2013 16:18:03
| Objet: Re: [Elphel-support] Elphel camera with Raspberry Pi
| 
| Dear all.
| 
| Thanks to one of the Masterstudents here, which has extensive
| experience
| with LAN-Parties I managed to find and correct the problem.
| The non-working connection was not based on the auto-negotiation, but
| a
| problem of correct setting of the involved the IPs. Somehow DHCP on
| Raspbian [1] doesn't "get" it when the camera is connected.
| 
| Typing
| 	$ sudo ifconfig 192.168.0.1
| , unplugging and reconnecting the camera did the trick.
| 
| Now I'm onto the next problem. The user-interface over
| 192.168.0.9/camvc.html is unuseably slow on that whimsy computer, so
| I
| need to whip up some Python code to download single images as fast as
| possible...
| 
| David
| 
| [1]: http://www.raspberrypi.org/downloads
| 
| On 10/30/2012 07:45 AM, Alexandre Poltorak wrote:
| > David,
| > This should solve the problem on raspberry pi:
| > mii-tool -A 100baseTx eth0
| >
| > Best regards
| > Alexandre Poltorak
| > Alsenet SA
| >
| > ----- Mail original -----
| > | De: "Alexandre Poltorak"<alexandre at elphel.com>
| > | À: "David Haberthür"<david.haberthuer at psi.ch>
| > | Cc: support-list at support.elphel.com
| > | Envoyé: Lundi 29 Octobre 2012 19:42:25
| > | Objet: Re: [Elphel-support] Elphel camera with Raspberry Pi
| > |
| > | Hello David,
| > |
| > | Auto-negotiation between raspbery-pi and Elphel 353 with a
| > | power-injector in the middle may not work. Please try to manually
| > | set
| > | the network link using mii-tool on Raspbery-pi.
| > |
| > | Regards,
| > | Alexandre
| > |
| > | On Mon, Oct 29, 2012 at 6:03 PM, David Haberthür
| > |<david.haberthuer at psi.ch>  wrote:
| > |>  Dear All.
| > |>  I intend to run an Elphel NC353L [1] on a Raspberry Pi [2], but
| > |>  run
| > |>  into
| > |>  troubles with the connection. Whenever I connect the camera via
| > |>  Ethernet,
| > |>  the yellow LED starts to blink, but I cannot connect to the
| > |>  camera
| > |>  with the
| > |>  Browser. Whenever I ping the camera on 192.168.0.9, the green
| > |>  LED
| > |>  periodically blinks, but the terminal of the Raspberry Pi
| > |>  complains
| > |>  that the
| > |>  "host is unreachable".
| > |>  Whenever I plug the Ethernet cable into my Macbook Pro I get a
| > |>  connection
| > |>  without troubles. Do I need to configure the Ethernet port on
| > |>  Debian to talk
| > |>  to the camera while I don't need to do that on OS X? Whenever I
| > |>  connect a
| > |>  LAN cable I can access the web on the Raspberry Pi, just not
| > |>  the
| > |>  camera...
| > |>  I would be grateful for some help,
| > |>  David
| > |>
| > |>  [1]: Currently on loan by the "Swiss office" of Elphel,
| > |>  Alexandre
| > |>  Poltorak.
| > |>  [2]: http://www.raspberrypi.org/
| > |>
| > |>  --
| > |>  Dr. David Haberthür
| > |>  Swiss Light Source
| > |>  Paul Scherrer Institut
| > |>  WBBA/207
| > |>  CH-5232 Villigen
| > |>  +41 56 310 31 80
| > |>
| > |>  _______________________________________________
| > |>  Support-list mailing list
| > |>  Support-list at support.elphel.com
| > |>  http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
| > |
| > | _______________________________________________
| > | Support-list mailing list
| > | Support-list at support.elphel.com
| > | http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
| > |
| 
| 
| _______________________________________________
| Support-list mailing list
| Support-list at support.elphel.com
| http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
| 




More information about the Support-list mailing list