Saturday, June 1, 2013

Raspberry Pi and Web camera

  1. Web camera (Logitech C170). In some cases an USB powered hub should be used because the camera uses more power than the Pi.
  2. Update your Pi: 
    • sudo apt-get update
  3. Install Motion application. It will get the web cam output and will send it to the built in web server: 
    • sudo apt-get install motion
  4. Plug in the web cam (directly or via powered USB hub). List the usb devices to verify that the camera is installed:
  5. Configure the motion application by editing the config file:
    • sudo nano /etc/motion/motion.conf
    • deamon=on
    • webcam_localhost=off
    • webcam_port=8081 (default setting)
    • you could play with the other parameters too.
    • sudo nano /etc/default/motion
    • start_motion_deamon=yes
  6. Open your web browser and type the pi_ip_address:8081 and check your result



    Sunday, April 28, 2013

    Raspberry Pi and VNC

    Steps to run VNC server on Raspberry Pi

    1. Install UltraVNC viewer on your laptop
    2. Install PuTTY on your laptop
    3.Connect to your Raspberry Pi from your laptop via the PuTTY (using the IP address of the RaspPi)
    4. Install VNC server on your RaspPi by typing this command in the PuTTY: sudo apt-get install tightvncserver
    4. Start the VNC server on your RaspPi by typing this command in the PuTTY: vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
    5 Start the VNC Viewer from your laptop and type the IP address of the RaspPi. This way you'll have direct GUI connection to your Raspberry Pi.


    Saturday, April 20, 2013

    GDP per inhabitant: Macedonia, Croatia, Bulgaria, Slovenia

    As it is in 2013.

    Sunday, February 10, 2013

    Six Thinging Hats by E.de Bono

    • White Hat: - focus on the data available.
    • Red Hat: - use intuition, gut reaction, and emotion. 
    • Black Hat: - think of all the bad points of the decision.
    • Yellow Hat: - think positively, optimistically.
    • Green Hat: - use creativity, get out of the framework.
    • Blue Hat: -  process control.