Raspberry Pi Introduction

Software tutorials of interest.
Post Reply

Raspberry Pi Introduction

#1 Post by jasonraimondi »

Please, view it here!: http://www.jasonraimondi.com/blog/raspberry-pi/
or here!

Digital Presentation for my Sensors and Electronics based Art class.

Nope not that.

Raspberry Pi

Identify the components

How to start using your Raspberry Pi

Some items that you are going to need initially

-Micro USB for power

-SD card (larger than 2GB) to run the OS

-HDMI or RCA cable for Video

Since all that comes with the Raspberry Pi is the computer without an operating system, the first thing you are going to need to do to get your Raspberry Pi operational is download an operating system for the Raspberry Pi to install on your SD Card. The first OS you should probably start with is called Raspbian. It is available for download via torrent or html here:

Once you download the OS you are going to need to unzip the file to get the iso of the OS. Follow this guide for mounting your OS:

Now for the initial boot.

If everything goes according to plan, you should see the Raspi-config screen

This gives you a few initial setup options to configure.

expand_root – Expand the install to fill the entire SD card (if there is extra room available)
overscan – Configure the overscan of the picture on your monitor or television
change_pass – change the password for the user ‘pi’ (default user is ‘pi’ and password is ‘raspberry’
overclock – over clock the raspberry pi from 700mHz to 1000mHz and it doesn’t void the warranty
ssh – enable ssh access to the Raspberry Pi via terminal
boot_behavior – default is to boot to terminal, you can enable auto boot to desktop
update – definitely update always, make sure you are connected to the internet
When you finish, it will put you back to the terminal. To access your desktop type ‘startx’

Explore around.It looks like Windows wrapped in a new UI. Raspbian is based off KDE, KDE is a UI variation of linux that has a very similar look, but much more elegant in my opinion, than windows.

You can install programs via the LXTerminal on your desktop. To download the Arduino IDE the code is:
sudo apt-get install ardunio
To get the chromium web browser (open source Chrome), the command is
sudo apt-get install chromium

Here are a few links for new users to Raspbian and Linux

http://www.raspberrypi.org/phpBB3/viewt ... =26&t=4751

http://www.raspberrypi.org/phpBB3/viewt ... 66&t=15123

Elinux.org has great beginner guides for the Raspberry Pi

Adafruit has made a really great web interactive developer environment that you can install on your raspberry pi. It was made for people to learn how to program Python.

If you want to remote desktop to your Raspberry Pi, you will want to check out Raspberry Pi VNC Server. This will let you control your Raspberry Pi’s desktop through your computer.
http://elinux.org/RPi_VNC_Server” title=”http://elinux.org/RPi_VNC_Server

Cambridge University released a course on building a Raspberry Pi operating system online for free. The course is available here:

http://www.cl.cam.ac.uk/freshers/raspbe ... orials/os/
The course is called “Baking Pi” and it is meant to help incoming freshmen get familiar with basic computer science before starting school, but it is available for everyone.

A brief introduction to the course:
Throughout the course, you are learning to write in assembly code. Assembly code is very close to what the computer actually understands, what it actually understands is Binary Code. Assembly code is a translation of binary into human readable text.

Binary Code –> Assembly Code –> Programming Code –> Application –> User

When programming normally, the programmer writes code in languages such as C++, C#, Java, and Python, and then a program called the compiler translates what the programmer wrote into assembly code, which is then later translated into binary.

Raspberry Pi Artworks

I have a message for you… Art Project

All of the Art Installations on the raspberry pi website
http://www.raspberrypi.org/archives/tag ... stallation

Raspberry Pi Projects

xbox media center avaialbe for raspberry pi

Raspberry Pi synth
http://www.theverge.com/2012/9/1/328334 ... y-pi-synth

Raspberry Pi DSLR battery Grip
http://www.theverge.com/2012/8/20/32549 ... ttery-grip
http://www.reddit.com/r/raspberry_pi/co ... _it_right/

Brew Beer

AmbiPi – home made ambiPi consists of a custom XBMC with modifications to capture the screen and send a data stream to a RaspberryPi running my modified version PixelPi to drive 104 RGB LEDs via the RaspberryPi’s SPI bus. https://www.youtube.com/watch?v=AP2fJgS-b8g

Raspberry Pi Micro Arcade Cabinet
http://www.youtube.com/watch?feature=pl ... npkz0xY1fo

Want to demonstrate that the raspberry pi can be used to maintain long term autonomous operations on water.
The vessel will be battery powered and only run the bare essentials needed for navigation.
The Raspberry Pi will run the Electronic Speed Controller that manages the Motor and rutter, taking GPS positioning information for navigation. The vehicle will take photographs and or video during its mission.

Stepper Motor Raspberry pi
http://www.reddit.com/r/raspberry_pi/co ... nd_python/
Driving a stepper motor using raspberry pi and python
What is it for? Control 2 stepper motors for a DSLR pan/tilt system. Since it is python and on a network, you can easily control software via the web

Quadcopter using a Raspberry Pi
Gyroscope and accelerometer for stabilization. All of the on board processing is handled by the Raspberry Pi. “This initially seems rather counter intuitive, as time sliced operating systems like Linux are not as predictable in their execution time as a simple real-time microcontroller program, but I’ve found in practice preemption allows the main control loop to run at a very reliable frequency.”

Runs an SSH interface to your laptop via a wireless adapter.
Log data to the on board SD card
Potential for complex route mapping and real-time integration into Google Maps
GoPro & PiCopter on Vimeo

Explaining this at the airport should be interesting… http://www.reddit.com/r/raspberry_pi/co ... should_be/

Beer Can Keyboard http://www.engadget.com/2012/10/16/beer ... -and-beer/

MaKey MaKey
Turn everyday objects into touchpads and combine them with the internet. It’s a simple Invention Kit for Beginners and Experts doing art, engineering, and everything inbetween:
http://www.kickstarter.com/projects/joy ... r-everyone

Raspberry Pi & Arduino

Why would you need an arduino then if you have a raspberry pi?
Well the microprocessor in the arduino makes it great for quick processes and on the fly tasks. It is good for very quick, but somewhat basic calculations in real time.

The raspberry pi is capable of doing on the fly tasks, the has the extra task of having to process the whole Operating system through the chip, and can get laggy quickly.

Raspberry Pi and Arduino

Raspberry Pi and Arduino team up to make a php web interface
http://hackaday.com/2012/08/31/what-you ... n-arduino/

Raspberry Pi + Arduino + SPI

Arduino and Raspberry pi Serial Communication
http://www.doctormonk.com/2012/04/raspb ... duino.html
http://codeandlife.com/2012/07/29/ardui ... unication/

Arduino 8×8 LED Matrix RASPI
http://kimondo.co.uk/raspberry-pi-ardui ... ed-matrix/
Use With Arduino-control an 8×8 led matrix-have a program running on the computer, then it can verify and post messages to the matrix

http://tech2077.blogspot.com/2012/06/ru ... 2c-on.html

ArduinoPi Python Library
http://www.fritz-hut.com/arduinopi-v1-6 ... pi-python/

Raspberry Pi Bluetooth Connection
http://www.fritz-hut.com/raspberry-pi-b ... bluesmirf/

Post Reply