background preloader

Programming Raspberry Pi

Programming Raspberry Pi
Nearly all of the fuss about the low-cost Raspberry Pi computer's hardware has died down and we finally have some details of its software that is easy enough for the rest of us to follow. So what can you do with it out of the box? Dr Eben Upton, founder of the Raspberry Pi Foundation, has just posted some easy-to-follow details of how to get started programming the Raspberry Pi. It was initially a webinar but if you missed it then you can download the information as a PDF - but be warned there is some strange formatting and repetitions due to the change in presentation format. The first half or so of the presentation is about unboxing and getting started, so the emphasis on hardware hasn't entirely evaporated. Once we do get to the software details then things are much more interesting. The good news is that the boot image contains a program editor, JOE, which features syntax highlighting for Python and C. Notice that this criticism by no means implies that the Raspberry Pi is a failure.

Turning the Raspberry Pi Into an FM Transmitter - Imperial College Robotics Society Wiki Steps to play sound: (Created by Oliver Mattos and Oskar Weigl. Code is GPL) sudo python >>> import PiFm >>> PiFm.play_sound("sound.wav") Now connect a 70cm (optimally, ~20cm will do) or so plain wire to GPIO 4 (which is pin 7 on header P1) to act as an antenna, and tune an FM radio to 103.3Mhz. Download the module here: [Download Now!] (this contains both source and a ready to go binary. New! sudo . How to change the broadcast frequency Run the . The second command line argument is the frequency to transmit on, as a number in Mhz. sudo . It will work from about 1Mhz up to 250Mhz, although the useful FM band is 88 Mhz to 108 Mhz in most countries. Most radio receivers want a signal to be an odd multiple of 0.1 MHz to work properly. The details of how it works Below is some code that was hacked together over a few hours at the Code Club pihack. If you're v. smart, you might be able to get stereo going! Accessing Hardware

Ultimate Raspberry Pi Set-up Kit ModMyPi's Raspberry Pi Ultimate Kit has everything contained in the Supreme Kit with the addition of a USB Hub, Wifi Dongle, Bluetooth Dongle, Heatsink Kit and SD Card Reader! We've carefully compatibility tested all components, and only selected the very best manufacturer guaranteed, high quality parts available! You won't find a better kit at a better price, and all our kits are fully customisable from our huge range of Raspberry Pi accessories, cases and cable colours! We also stock UK, US, AUS and EU variants of the majority of our components so there's no need to worry if you're ordering internationally. This kit does NOT include a Raspberry Pi ModMyPi's Raspberry Pi Ultimate Kit Includes: - Raspberry Pi Case of Your Choice - Including ModMyPi, Cyntech, PiBow's and more! Click the links above for information on the available choices, and customise your kit on the right hand side! Any EU, US or AUS products marked with *** consist of a UK plug with regional adapter. Set Up Kit Key

Introducing the Pi Store We’ve been amazed by the variety of software that people have written for, or ported to, the Raspberry Pi. Today, together with our friends at IndieCity and Velocix, we’re launching the Pi Store to make it easier for developers of all ages to share their games, applications, tools and tutorials with the rest of the community. The Pi Store will, we hope, become a one-stop shop for all your Raspberry Pi needs; it’s also an easier way into the Raspberry Pi experience for total beginners, who will find everything they need to get going in one place, for free. The store runs as an X application under Raspbian, and allows users to download content, and to upload their own content for moderation and release. Applications menu As ever with things Pi, the community is going to be key to making the Pi Store great. Content page for Storm in a Teacup An updated Raspbian image which includes the Pi Store is available from the downloads page. sudo apt-get update && sudo apt-get install pistore

Pi Crust breakout board makes it easy to get peripherals on Raspberry Pi Joe Walnes, a Chicago-based hacker and maker, has just released a design for what he has dubbed the Pi Crust: a very cheap new hardware add-on for the Raspberry Pi. The breakout board, which debuted on Wednesday, is meant to make it easier to tack various hardware peripherals onto the cheap computer, and it does so in an compact design. The new board only adds 2mm of height to the existing Raspberry Pi. As Walnes lays out on his site, there are various well-labelled pins, including GPIO, I2C, SPI, UART, and power. "This makes it so you can connect things directly to a Raspberry Pi. Expanding access to the Raspberry Pi's General Purpose Input/Output (GPIO) pins is probably one of the most important aspects of this add-on—Arduinos, for example, use GPIOs to read from various environmental sensors. "However all the different signals are grouped together, which makes them hard to connect to. Walnes isn’t selling the Pi Crust; he's just making the design specification available.

Sneak Peek: Adafruit Raspberry Pi WebIDE September 19, 2012 AT 2:14 pm We love the Raspberry Pi. This tiny computer has so much potential for makers, and it is offered at an extremely reasonable price. The one thing we didn’t like about the Pi is how inaccesible it is to those who are new to Linux. So, the tiny team that brought you the Adafruit Learning System set out to develop our own way to open up the Raspberry Pi for everyone. What started out as a barebones, and basic way to get code running on your Pi, turned into something much more awesome. As the name suggests, the Raspberry Pi WebIDE is entirely web based. We have also included a built-in terminal so you can listen to, and talk directly with your Raspberry Pi. We have so many cool things planned for the WebIDE, and expect to have plenty of updates (especially at the beginning). Like I said, this is just a sneak peek, and covers only a few of it’s many features. Stay tuned to the Adafruit blog for more updates. Related Sorry, the comment form is closed at this time.

ModMyPi case covers the $35 Raspberry Pi PC for about $13 The Rasbperry Pi is a full-fledged computer which you can buy for about $35. It has a processor, memory, USB and Ethernet ports. But one thing the RaspBerry Pi doesn’t have is a protective case. It’s basically a system-on-a-board and not much else. But a company called ModMyPi is taking pre-orders for a case designed to put some clothes on the Raspberry Pi Model B and make it look respectable. The ModMyI sells for £7.99 including VAT in the UK, or a little less than $13. The cases will start shipping April 5th. Geek.com reports that ModeMyPi will donate 5 percent of the proceeds from case sales to the Raspberry Pi Foundation. The company also sells Raspberry Pi Set-up Kits with an 8GB SD card loaded with Debian Linux, a wireless keyboard and mouse, USB hub, WiFi dongle, and other accessories for £64.99, which is a little over $100 US. The $35 Raspberry Pi has a 700 MHz Broadcom BCM2835 ARM-based processor, 256MB of RAM, HDMI output, 2 USB ports and an Ethernet jack.

Raspberry Pi, activist tool The tiny, $35, Linux-based Raspberry Pi computer has drawn a lot of attention in the last few months, and though it was originally developed to teach computer programming to young students, Internet activists have taken notice as well. A recent BBC interview with developer Nadim Kobeissi, creator of a web-based secure communications program called Cryptocat, shows off just one potential use of the low-cost hardware and free software system. Kobeissi says he's looking forward to the arrival of Raspberry Pi as a way to bring extra-secure communication to web chat, especially in places where conversations might be watched. Kobeissi's Cryptocat is an open-source program that encrypts chat conversations before they're sent to a server. Considering general privacy concerns and recent NSA surveillance probes, the idea could be intriguing for westerners too.

Raspberry Pi announces the Gertboard expansion board – Computer Chips & Hardware Technology When the Raspberry Pi $25 PC makes an appearance next year, it won’t be the only piece of hardware available to buy from the foundation’s online store. Today, it has been revealed the first expansion board for the tiny computer will also be available to purchase (if things go to plan). Expansion boards allow for additional functionality otherwise not possible with the standard PC board. In this case, the so-called Gertboard will add the option to play with flashing LEDs, hook your Raspberry Pi up to motors, and mess around with a range of sensors. A Raspberry Pi-powered robot, anyone? The board has been developed by Gert van Loo, another Broadcom employee just like Eben Upton. One thing to note in the image of the Gertboard above is the white rectangle printed on the board. With the announcement of the Gertboard, the Raspberry Pi changes from being just a cheap PC to a platform for experimentation. More at Raspberry Pi

Credit card-sized Raspberry Pi computer gets a video cam! Just when you thought you can no longer squeeze anything else into the tiny Raspberry Pi computer, think again: the puny device is getting a video camera. A report on PC World said developers expect to make the HD camera available by early spring, though the camera's specifications have yet to be finalized. "The first cameras are expected to come with a 15-centimeter (just under 6 inches) flat cable and sell for around $25. It quoted Raspberry Pi developers as saying the camera board is an alternative to using USB cameras with the Raspberry Pi. They said a camera board may give a better-quality resolution at a lower price, compared to USB-based counterparts. Raspberry Pi is a credit-card sized computer that plugs into a TV and a keyboard. While tiny, it can do many things a regular desktop PC does, including playing high-definition video. — TJD, GMA News

Je ne parle pas francais, sorry by daffyd Mar 25

Quelques élément de réponses sur la programmation du Raspberry Pi mais sans beaucoup de détails ou d'exemples. by romaincrozon Mar 24

Related: