Archive for September, 2013

Ready for tomorrow’s lunch club I am installing the Raspberry Pi camera for the first time.

I have purchased a camera mount and USB led light (£4.99) from eBay to hold the camera securely in place. As seen in this image.

20130929-200430.jpg

The Raspberry Pi camera module needs to be installed, to do this I followed this YouTube video

As stated in the video the install takes approx 30 mins depending on your internet connection.

Raspberry Pi Guy is also on twitter, well worth a follow @RaspberryPiGuy1

JW might get a wi-pi

Posted: September 28, 2013 by bungleofhay in General News

A wi-pi is a wireless adapter designed for the Raspberry Pi. It is used for getting wi-fi on the Raspberry Pi.

JW
http://www.bungleofhay.co.uk

Raspberry Pi camera

Posted: September 28, 2013 by schoolpiclub in General News, Raspberry Pi Camera

20130928-093552.jpg

Our club now has access to a Raspberry Pi camera.

Over the next few weeks we shall be looking at how to set up the camera for the first time and then how to film a time lapse video.

Watch this space!

Creating a desktop shortcut for Minecraft Pi

Posted: September 21, 2013 by schoolpiclub in General News

20130921-192023.jpg

Once you have set up Minecraft Pi Edition (as seen in our previous post here) on your Raspberry Pi you may not want to launch it from terminal each time.

We decided to look into how we could launch it straight from the Pi desktop.

First we needed to choose an icon, then make the Minecraft file executable. Here are the instructions we followed.

1. MAKE MINECRAFT PI EXECUTABLE
In your main mcpi directory you need to make the Minecraft file executable. To do this open a terminal, navigate to the main mcpi directory and make Minecraft executable the following commands:

cd ~/mcpi
chmod +x minecraft-pi

2. FIND AN ICON
Next thing we need is an icon for our desktop shortcut. You can make your own or search for one online. We used this Minecraft Logo.

Save the file into the main mcpi directory and call it logo.png (or whatever other extension you’re using e.g. logo.jpg).

3. CREATE A FILE ON THE DESKTOP
Navigate to the Desktop directory within the pi directory using the terminal and create a new file called “minecraft.desktop” with the nano text editor:

cd ~/Desktop
nano minecraft.desktop

Now right click and paste the following code into the file:

[Desktop Entry]
Name=Minecraft Pi
Comment=Creative Block Game
Exec=/home/pi/mcpi/minecraft-pi
Icon=/home/pi/mcpi/logo.png
Terminal=false
Type=Application
Categories=Games;Education;
StartupNotify=true

Save and exit the file. You should now have a Minecraft Pi shortcut on your desktop. When you double click it the game should launch. If the icon doesn’t show up immediately try restarting the desktop or rebooting the Pi.

Traffic Light LED

Posted: September 21, 2013 by schoolpiclub in General News

20130921-162133.jpg

Our next project is trying out the OCR recipe for the Traffic Light LED’s.

It’s Saturday afternoon and Mrs H has managed to get the Traffic Lights up and running on her Raspberry. Mrs H did have a little trouble with the red light and had to tweak the recipe and swop the gpio settings. Mrs H swapped 3 to 11 and 25 to 14. This also meant changing the python code accordingly. This was the amended code:-

import time
import RPi.GPIO as GPIO
GPIO.cleanup()
GPIO.setmode(GPIO.BOARD)
GPIO.setup(11,GPIO.OUT)
GPIO.setup(5,GPIO.OUT)
GPIO.setup(7,GPIO.OUT)
while True:
GPIO.output(11,GPIO.HIGH)
time.sleep(2)
GPIO.output(5,GPIO.HIGH)
time.sleep(2)
GPIO.output(5,GPIO.LOW)
GPIO.output(11,GPIO.LOW)
GPIO.output(7,GPIO.HIGH)
time.sleep(2)
GPIO.output(7,GPIO.LOW)
GPIO.output(5,GPIO.HIGH)
time.sleep(2)

I hope JW and LD have had chance to have a go! But if not it doesn’t matter because we have School Pi Club Monday lunchtime – cannot wait!

Flashing LED Jelly Baby

Posted: September 17, 2013 by schoolpiclub in General News, Recipes

We recently got a Flashing LED Jelly Baby up and running during our lunch club.


We followed the OCR Recipe Sheet and JW input the code, LD helped to set up whilst we connected all the necessary ingredients:-

Ingredients needed in addition to your Raspberry Pi:
1x LED
1x 220Ω Resistor
2x Jumper Wire (female to female)

For the full recipe click the image below

Flashing LED Recipe

Hard work setting up my pi

Posted: September 17, 2013 by drydo13 in General News

hello i am LD and a few weeks ago my friend (JW) helped me set up my pi via teamviewer. Teamviewer is a tool which allows friends to control your screen for help (like me).

i went to the pi club yesterday and we did JW’s Raspberry pi on minecraft it was very good. i am official that i am going to get minecraft this week!