background preloader

How to make a DIY home alarm system with a raspberry pi and a webcam

How to make a DIY home alarm system with a raspberry pi and a webcam
Step #1: Make your webcam stealth I wanted to hide the camera in an inconspicuous place outside my door, so I removed the webcam’s casing. The Logitech C270 is a really good choice for this project as (1) it is 100% compatible with pi, (2) it has a really good 720p HD resolution and (3) it is very very small. Here’s how to make the camera ‘stealthy’: You can now connect your webcam to the usb hub. I ended up hiding the webcam within the door (!) (just to clarify: as you can see my door is crap! Step #2: Setup your raspberry pi Your pi needs to boot a linux operating system in order to run motion. To prepare your SD card and install Raspbian I recommend following Adafruit’s excellent tutorials here. Since you are not going to have your pi connected to a monitor or have a keyboard and mouse, I also recommend enabling Secure Shell (SSH) in your pi so that you can remote control your Raspberry Pi over your local network. To do this, first type from the command prompt: ifconfig then run: route -n to: Related:  Raspberry Pi

How to Build a Raspberry Pi Twitter Bot Advertisement Twitter is the world biggest repository of short messages from people with nothing to say – and now you too can contribute to that epic project with an automated Twitter bot, powered by your Raspberry Pi. I’m kidding, of course – some people actually tweet interesting things. I’m not one of them though – I use my mine for shameless product promotion in exchange for free stuff, competition entries, and auto-posting new episodes of our very own Technophilia Podcast. Whatever – my followers love me! How To Use Twitter To Search For Mentors In Your Area Of Interest How To Use Twitter To Search For Mentors In Your Area Of Interest In the real world, a mentor is a wise teacher who supports and guides someone, and helps them maximize their potential. Now I’m going to add to the usefulness of my personal Twitter stream by having a Raspberry Pi automatically tweet its current CPU temperature every hour, and a webcam picture! Getting Started Installing Twython Registering a Twitter app

How to Turn a Raspberry Pi into a Low-Power Network Storage Device Mix together one Raspberry Pi and a sprinkle of cheap external hard drives and you have the recipe for an ultra-low-power and always-on network storage device. Read on as we show you how to set up your own Pi-based NAS. Why Do I Want to Do This? The benefit of having an always-on network storage device is that it’s extremely convenient to have your data (or backup destination) always accessible to the computers both inside and outside your network. The downside, in most instances, is that you’re consuming a fair amount of power for the convenience. Our office server, for example, runs 24/7 and consumes almost $200 worth of power a year. We’ll be the first to grant you that a full fledged server is going to have more storage space and the capability to do more work (such as transcoding a multi-terabyte video collection in a reasonable span of time). What Do I Need? In addition to the gear you’ll need from the Getting Started with Raspberry Pi tutorial, you’ll only the following hardware: or

installer-un-serveur-web-lamp Que signifie LAMP ? ⇒ Linux Apache Mysql Php Connectez-vous en local sur votre raspberry ou par ssh avec l'utilisateur pi. Faites les mises à jours du système : sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade Installation des différents paquets : sudo apt-get install apache2 php5 mysql-server phpmyadmin Pendant le processus d'installation, on nous demande quelques informations : Configuration de mysql-server-5.5 Nouveau mot de passe du superutilisateur de MySQL : Password Confirmation du mot de passe du superutilisateur de MySQL : Password Veuillez changer le mot de passe par un mot de passe sécurisé !!! Configuration de phpmyadmin Serveur web à reconfigurer automatiquement : apache2 Faut-il configurer la base de données de phpmyadmin avec dbconfig-common ? Mot de passe de l'administrateur de la base de données : Password Mettez le même mot de passe que celui de la configuration Mysql-server Mot de passe de connexion MySQL pour phpmyadmin : Vérifications Dans mon cas:

Guide To…Direct Network Connection | Meltwater's Raspberry Pi Hardware Raspberry Pi Remote Connections – Without A Network! No keyboard or screen available for your Raspberry Pi, but you have a laptop? There are often times when a HDMI monitor is not available to use with your Raspberry Pi. So how can we make use of a laptop screen and keyboard when there is no network? As discussed previously (in the Guide to…Remote Connections), there is the option of using a (console) TTL-serial cable, however this only provides rather slow access. The answer is a simple network cable! Connect and use your Raspberry Pi with just a Network Cable, a standard Imaged SD Card and Power! It is advisable to set this up before you need it so you can be sure that it is configured and working correctly. Remember if you need the wired network for your computer (i.e. to get internet) then you shall have to make a choice about which one you wish to use (or get an extra network port by adding a USB network dongle). In A Nut Shell…Direct Network Connection How to use a direct network cable

Framboise 314, le Raspberry Pi à la sauce française…. | Le Raspberry Pi, un ordinateur à 35€ ? Je demande à voir ! MagPi issue 20 – your free Raspberry Pi magazine, out now Issue 20, February 2014, of the excellent MagPi Magazine was released this week. I’m completely stealing the editorial by Matt from The MagPi team to introduce this issue (as you may have guessed, Liz is away. And I am not as good as Liz at this. There, I said it :)) Anyway, read The MagPi! It’s jam packed with brilliant stuff as ever: — After a massive response, we are pleased to write that the article series ‘Bake your own Pi filling’ is back by popular demand! We have more from the Caribbean with Project Curacao. Deepak Patil introduces his project for panoramic photography using Pi-Pan, a robotic arm controlled by his Raspberry Pi to move his Pi Camera. We have more from Andy Baker’s Quadcopter series with this issue reviewing his pre-flight checks. We have a great article detailing John Hobson’s and Efrain Olivares’ journey into managing the frustrating problem of internet dropout.

Diffuser une webcam à partir du Raspberry Pi (grace à motion) Comme je vous l'avais annoncé dans mon précédent article, mon objectif premier avec le Raspberry Pi était de mettre en place la diffusion d'une webcam pour surveiller mon bébé dans son lit (faire un visiophone du pauvre geek). L'étape la plus longue a été les tests des différentes solutions et le choix du logiciel final. Une fois le logiciel choisi (motion), sa mise en place a été plutôt simple et rapide. Explications : I. Besoin Mon besoin était simple, diffuser une vidéo au moins sur mon réseau local afin de pouvoir surveiller mon bébé dans son lit. Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. J'ai commencé par tester une application ffserver couplée avec ffmpeg. II. L'application motion est packagée debian, donc comme j'utilise une distribution Raspbian, une simple ligne de commande suffit à l'installer : apt-get install motion III. Toute la configuration se fait dans un seul fichier : /etc/motion/motion.conf. IV. Pour ma part, voici ce que j'ai fait : V. VI.

MagPi issue 25 – out now! For your weekend reading pleasure, here’s issue 25 of the MagPi! Published just yesterday, the latest issue of everyone’s favourite free, monthly, community-produced Raspberry Pi magazine is as full of fantastic stuff as ever. Click to read The MagPi! The cover story is one that’ll definitely get some attention in our house this weekend: it’s a full Python simulation of the Pocket Enigma Cipher Machine, a cleverly devised toy that demonstrates some of the principles of a real Enigma machine like the one many of you will recognise in the cover photo. Used by the German armed forces during World War II to encipher messages, these used rotating disks to achieve a sophisticated substitution cipher; the Pocket machine, and its Python simulation, use two disks to arrive at a fun, if not exactly unbreakable, cipher. We’re delighted to see an article by Andrew Suttle, the MagPi’s youngest guest writer so far.

Music hack of the decade: Panflute Hero! Jhonny Göransson was part of the team that made what’s simply the daftest and most wonderful music hack we’ve seen so far. The moment he tweeted about it last night, we knew we had to show it to you as soon as we could. It’s called Panflute Hero. Panflute Hero was the result of a weekend at Way Out West Hackathon 2013. The game itself is built in Lua, and runs on a PC (no reason you couldn’t run a port on a Pi). Instructions, code (Jhonny says: “In the spirit of hacking and hackathons, our code really blows (get it?).

Related: