Saturday, October 3, 2015

Python on Raspberry Pi to control DSLR with python-piggyphoto and libgphoto2


This post show how to control DSLR (Nikon D7000) with Raspberry Pi 2 (running Raspbian Jessie), using Python 2, with libgphoto2 and piggyphoto. The camera connect to Raspberry Pi via USB.


piggyphoto is a Python bindings for libgphoto2. You have to install libgphoto2.

To install piggyphoto for Python 2, enter the command:
$ sudo apt-get install python-piggyphoto

Try in Python 2:
import piggyphoto

C = piggyphoto.camera()
print C.abilities
C.capture_preview('prev.jpg')
C.capture_image('image.jpg')


Reference: https://github.com/alexdu/piggyphoto

Remote run JavaFX on Raspbian Jessie, from Netbeans/Windows 10


This video show how to setup Remote Java SE Platform in Netbeans IDE running on Windows 10, deploy JavaFX application running on Raspberry Pi 2/Raspbian Jessie. Actually, it's same as in Raspbian Wheezy.




Related:
- Remote develop C/C++ program from Windows 10, run on Raspberry Pi, using NetBeans IDE

Friday, October 2, 2015

Official Raspberry Pi Foundation Case For Model B+ & Raspberry Pi 2 Model B

Official Raspberry Pi Foundation Case For Model B+ & Raspberry Pi 2 Model B

Official case of the the Raspberry Pi Foundation
Preassembled 5 part enclosure--Removable Lid for easy access to the camera and display ports--Removable Top Frame--Removable Side Panels with easy access to the GPIO port
Designed with Pi HAT's in mind
Dimensions: 96mm x 70mm x 25mm
Compatible with the Raspberry Pi 2 Model B and Raspberry Pi Model B+