background preloader

RPi Beginners

RPi Beginners
Back to the Hub Getting Started: Buying Guide - for advice on buying the Raspberry Pi. SD Card Setup - for information on how to prepare the SD Card used to boot your Raspberry Pi. Basic Setup - for help with buying / selecting other hardware and setting it up. Beginners Guide - you are up and running, now what can you do? Advanced Setup - for more extensive information on setting up. Trouble Shooting - some things to check if things don't work as expected. There is some restructuring going on , we are sorry for the inconvenience. Any easy question to ask, but a very difficult one to answer! If you are looking for any information related to SD Cards and setup look here If you need to get a RPi, the see the Buying Guide. References needed (idea for new section Living Without RPi, which can guide users or link to info to users who haven't got RPis) Link to emulation builds or live linux cds setup for beginners (RacyPy2 for example) For more information about Linux see Wikipedia sudo raspi-config Related:  RaspberryPi

Enregistrer des objets dans des fichiers - Python Dans beaucoup de langages de haut niveau, on peut enregistrer ses objets dans un fichier. Python ne fait pas exception. Grâce au module pickle que nous allons découvrir, on peut enregistrer n'importe quel objet et le récupérer par la suite, au prochain lancement du programme, par exemple. En outre, le fichier résultant pourra être lu depuis n'importe quel système d'exploitation (à condition, naturellement, que celui-ci prenne en charge Python). Enregistrer un objet dans un fichier Il nous faut naturellement d'abord importer le module pickle. On va ensuite utiliser deux classes incluses dans ce module : la classe Pickler et la classe Unpickler. C'est la première qui nous intéresse dans cette section. Pour créer notre objet Pickler, nous allons l'appeler en passant en paramètre le fichier dans lequel nous allons enregistrer notre objet. 1>>> with open('donnees', 'wb') as fichier: 2... mon_pickler = pickle.Pickler(fichier) 3... # enregistrement ... Bon. 1>>> score = { 2... 3... 4... 5... En résumé

Mediacenter - OpenELEC Forum - Topic: CEC OpenELEC (2/7) Using Build R11535 with Samsung Series C I included a key map file "remote.xml" in the /usedata/keymaps folder ALL buttons now work except FF & REW. The up and down seeks forwards and backwards and Left and Right does chapters, the select button brings up OSD, Coloured buttons make it easier for Context menu and other shortcuts. <!-- /home/pi/.xbmc/userdata/keymaps/remote.xml --> <! Based on following mappings of CEC buttons to XBMC commands:-

R-Pi Hub Notice: The Raspberry Pi Wiki pages on this site is collaborative work - the Raspberry Pi Foundation is not responsible for content on these pages. Now shipping to customers See the Buying Guide on how to order one, or visit the Raspberry Pi Foundation Home Page About The Raspberry Pi production board (model B Rev 2.0) 3D CAD Model of the Raspberry Pi 3 Model B (Download) The Raspberry Pi (short: RPi or RasPi) is an ultra-low-cost ($20-$35) credit-card sized Linux computer which was conceived with the primary goal of teaching computer programming to children. Raspberry Pi is manufactured and sold in partnership with the worldwide industrial distributors Premier Farnell/Element 14 and RS Components, and the Chinese distributor Egoman Technology Corp[1]. You can get the latest news from the Foundation Home Page, the Twitter Feed or in the forums. Products are RoHS, CE, FCC, CTick, CSA and WEEE compliant[2]. History Getting Started Resources Books Education Material Community About the RPi Wiki

Raspberry pi loves Sensors and LEDs make sure the tools are installed... to test if the tool are installed run the following command..sudo i2cdetect -y 0 this will scan all devices connected to the I2C bus. it should look like the pic below. if you see that i2ctools are not installed run the following comand sudo apt-get install i2c-tools also install sudo apt-get install python-smbus sudo apt-get install python-pip sudo pip install rpi.gpio sudo /home/pi/Desktop wget -O geekman-python-eeml.tar.gz tar zxvf geekman-python-eeml.tar.gz cd geekman-python-eeml* sudo python setup.py install note down the address of the I2C device that you have connected. in this case i have connected a temp. sensor PMODTEMP2 from digilent.we use the sumbus function for I2C communcation. XBian | XBMC on the Raspberry Pi, the bleeding edge

The life of Pi - clever ideas with a tiny computer 21 March 2013Last updated at 10:05 ET While the Chancellor was delivering his budget yesterday, I was in a room near Cambridge full of young people who may be part of the answer to Britain's economic future. They had all come up with clever ideas to use the Raspberry Pi, the ultra-cheap computer developed in Cambridge, and they were the finalists in a competition held by the technology advisors PA Consulting. I was one of the judges deciding who should win - and it was a tricky task. There was the London primary school with a plan to recycle old computer components to turn the Raspberry Pi into a communications device for schools in developing countries. Then there was the North Yorkshire community school which had turned the Pi into an RFID (radio-frequency identification) reader to measure lap times in their cross-country races, and the London independent school whose pupils had come up with Teacher's Pet, a way of delivering homework via USB sticks plugged into the tiny computer.

COSM Account and Feed | Send Raspberry Pi Data to COSM COSM (used to be Pachube) helps connect little devices like the raspberry pi to the internet. You will need to do the following to use COSM.Setup a AccountCreate a FeedSave the API_KEYSave the FEED ID You will need to create a COSM account. Click the blue plus to add a feed. Select Arduino Give your new feed a title and tags. Title: "Raspberry Pi Temperature" (or whatever you like)Tags: raspberry pi, temperature, adc (or make up your own) Select the "Create" button. You need to extract the API_KEY and FEEDID from the code sample that COSM provides. In this example the API_KEY is: 5RNOO3ShYJxYiq2V2sgSRtz3112SAKxFQjNDQmNXc0RScz0gThe FEEDID is: 68872 Do not use those numbers, use your own!

Openelec vs Raspbmc vs Xbian | goshawk's digital nest Version tested: 1.0 final installed on 3th of Feb 2013 Seriously. Don’t do that. I tried to install the *byobu* package. (The best part was when I tried to install some software from XBMC repository. It may be the fact that Raspbmc is a one person project but the fact is that I found it really unstable and not flexible. Sam Nazarko politely commented that Raspbmc is not a one man project. ModMyPi The Raspbery Pi 26 Pin (2 x 13) GPIO Connector Header Extender can be used to raise the height of the GPIO pins on your Raspberry Pi. Each GPIO header will raise the height of the GPIO Pins by approximately 10mm. The GPIO Header Exetender can also be used to protect those sensitive pins from accidental bending or damage. Features: Gold Plated 26 Pin Double Row (2x13) Socket Connector Extension for the Raspberry Pi GPIO Connectors Dimensions (L x W x H) 33.0 x 12.5 x 11.7 mm Pitch 2.54mm Contact Resistance Max 20 mΩ Nominal Current 3A Fully Tested on the Raspberry Pi Model B Downloads Specification Sheet

I2C Installation for Raspberry Pi – Step by Step Guide | SK Pang Electronics Ltd This is a step by step guide on installation I2C driver for the Raspberry Pi. It is for the Raspbian image. Raspberry Pi Starter Kits Make sure your Raspberry Pi is connected to the internet when installing the drivers. The new Raspbian distro already have the I2C driver installed but they are disabled by default. To enable it all you need to do is comment out a line by putting # in front. sudo nano /etc/modprobe.d/raspi-blacklist.conf then add a # on the 3rd line. Press CTRL X then y to save and exit. Next edit the modules file by: sudo nano /etc/modules Add i2c-dev to a new line. Now install the i2c-tools package by: sudo apt-get install i2c-tools If you get a 404 error do an update first: sudo apt-get update then run the install the i2c-tools again. Note : The installation could take a few minutes to do, depend on how busy the server is. Now add a new user to the i2c group: sudo adduser pi i2c Reboot the machine by: sudo shutdown -r now After the reboot test to see any device connected by: .

Guide To Test a Remote and Remap Keys This guide will help demonstrate the process to get a remote functioning properly. Plug in your reciever and test out your remote. Two things may happen. You will need to have SSH access to your box. When you log in via SSH type the command irw. root ~ # irw 17b 0 KEY_C devinput 17b 0 KEY_C_UP devinput Where "KEY_C" is the key name, and "devinput" is the device name. Make sure you have a proper remote.xml in your keymaps folder which is inside your userdata SMB share (or located at /storage/.xbmc/userdata/keymaps/remote.xml) It will look something like this <keymap><global><remote><play>Play</play><pause>Pause</pause><stop>Stop</stop><title>ContextMenu</title> ... Next we will create a file call Lircmap.xml inside the userdata SMB share (/storage/.xbmc/userdata/Lircmap.xml) We will combine these two things from above to make the lircmap. The lircmap format is as follows <lircmap><remote device="devicename"><XBMC_button>LIRC_button</XBMC_button></remote></lircmap>

Related: