Posts

Showing posts from 2013

Logitech camera setup - Raspberry Pi

Image
Webcam on RaspberryPi I had a Logitech C310 Webcam lying idle at home so decided to give it a try with the Raspberry Pi. After hooking any usb device i always have a tendency to run lsusb and lsmod It worked out of the box, i was able to see /dev/video0 Motion detection was good and captured screenshots with date time stamp. Steps sudo apt-get update sudo apt-get install motion sudo nano /etc/motion/motion.conf change these lines to “off” in that file: control_localhost off webcam_localhost off Start the program sudo motion -n Check Video Streams http://raspberry ip address:8081 on the PC Video Streaming was not usable it was very slow even at 320×240 @ 7~10 fps Check these articles for Motion Raspberry Pi • View topic – USB Cams and Motion on Debian Jeremy’s Blog: Raspberry Pi webcam For Arch Linux RaspberryPi birdfeeder webcam « Random Hacks Raspberry Pi • View topic – video surveillance (USB webcam, IP cam…) enough power?

Raspberry pi tips

# Finish headless installation via ssh. See /boot/config.txt ( local ) $ ssh pi@192.168.2.X $ sudo apt-get update && apt-get dist-upgrade $ sudo raspi-config # Add locale en.us-utf8 (but keep en.gb-utf8) $ sudo dpkg-reconfigure locales # Timezone $ sudo dpkg-reconfigure tzdata # Update firmware $ sudo rpi-update # Access remotely using 'raspberrypi.local' $ sudo apt-get install avahi-daemon # Create new user, enable sudo and video privileges $ sudo adduser username $ sudo adduser username sudo $ sudo adduser username video # Increase font size on tv console [utf-8, guess optimal, Terminus, 16x32] $ sudo dpkg-reconfigure console-setup # Echo command to tv console (as root) > /usr/games/nethack >> /dev/tty1   ## /etc/rc.local # Turn off screen blanking /usr/bin/setterm -blank 0 -powerdown off   ## ~/.bash_aliases # Blank screen before playing. I never remember the r-pi media player name. alias omxplayer = &

Raspberry pi initial setup part 9

Image
Now the moment you’ve all been waiting for. Your pi is imaged, plugged in, turned on, connected to the network, you’ve found its IPv4 address, logged into it via ssh and you’ve run “sudo raspi-config”, so lets get it configured. First thing to remember is that this is a text interface so no mouse. You move between the different items with the arrow keys and select them by hitting enter. If you need to select a check box on one of the later screens, you hit space, and when you’re done, you move between the list of actions and the buttons at the bottom by pressing the “tab” key. raspi-config (Click to enlarge) The first thing to do is check that we have the latest version of raspi-config (if your pi doesn’t currently have anyway of connecting to the internet, you can skip this). I’m not sure why they decided to put this as the last option, but there you go. This might take the pi a minute. Once it has either found that you already have the latest version of raspi-co

Reboot Raspberry pi

There are three methods to reboot Raspberry pi Terminal method 1 Type in Terminal sudo reboot Terminal method 2 sudo shutdown -r now Third method See in the bottom right corner for reboot option

Increase font size alternate method

Increase the font size used on the Terminal Monitor sudo nano /etc/default/console-setup FONTFACE=”Terminus” FONTSIZE=”32×16″ #Rotate the screen in Mame4All for games like pacman and frogger so it uses the entire screen sudo nano /home/pi/emulators/mame4all-pi/mame.cfg ror=yes

Increase font size in RPi

Image
RPi Command line font size Jump to: navigation , search Note this will also work for Raspbian installations however you will need to enter the password when you use a sudo command and the console-config allready has some values in unlike wheezy which has "" for FONTFACE and FONTSIZE. TL;DR sudo dpkg-reconfigure console-setup Follow the steps, select "Let the system select a suitable font" and select the Font size you want: Select the Font size sudo reboot Full article: When you first kick off wheezy using an HDMI TV as a monitor the default font size is very small unless you have a very big TV. At this time the default startup kicks into the raspi-config script and some of you may have read the wiki page that covers raspi-config There will however be a large number of noob persuasion that have not. The second option in the raspi-config menu script is overscan and you need this enabled if you want t
Do's and Donts while using Raspberry pi Raspberry pi is a popular platform for students in engineering colleges to work around this beautiful toy cum computer Did just say toy ? Yes it can be made to a full fledged computer. I am Ankit Shah a robotics enthuiast and a student of National Institute of Technology Karnataka and I am here to help you in getting started with raspberry pi