You may not understand what I do… but it is still awesome.

RPi

Setting up a Raspberry Pi

Setting up a Raspberry PI You will need… Item Price (approx) Raspberry Pi £27 SD Card £10 Monitor £110 HDMI Cable £2 Powered USB Hub1 £20 Mouse £7 Keyboard £10 Ethernet Cable2 £2 Wifi Dongle3 £9 Total Price £197 Note that half of these things are not required if you are going to use your Raspberry […]

How to control the onboard ACT LED in bash

This post will show you how to control the onboard ACT led on the raspberry pi. To start with, run the following command to allow you to use the led: sudo echo none > /sys/class/leds/led0/trigger The above will prevent the light from acting as a disk activity indicator (the default. You may need to run […]

, , ,

Setting up your pi to accept remote desktop connections (and how to connect to it)

Note: rdp is used as an abbreviation for “remote desktop connection” in this article. Step 1 Open a terminal window if you are in the GUI. Type in the following: sudo apt-get install xrdp Now restart your pi. Step 2 SSH into your pi and type startx. Now disconnect from the SSH session. This will […]

Servoblaster: Installation

Firstly you need firmware updated to 3.2.27 I posted about this here http://www.novitiate.co.uk/?p=8 Install Git sudo apt-get install git Then use Git to clone the files git clone git://github.com/richardghirst/PiBits.git Move to the folder cd PiBits//ServoBlaster Load servoblaster sudo insmod ./servoblaster.ko Now do this command to find what number you nee for the following command (its […]

Remote Desktop for the Pi

Many people use TeamViewer, as it is easy and globally used. This only works on conventional processors and is very fiddly to get working on a pi. The alternative is to connect to your pi, as if you were using ssh. Then virtualise a version of x server to allow you to see the exactly […]

Flashing lights (GPIO/Python challenge)

Last week many of you got an LED flashing from the GPIOs using Python. You started with the code from time import sleep #To use the command sleep from the module time import RPi.GPIO as GPIO #To use commands the GPIO control module GPIO.setmode(GPIO.BOARD) #To make the numbering of the GPIOs better GPIO.setup(7, GPIO.OUT) #To […]

GPIO instructions for PI

step 1: Update your Python installs with the python dev package. This will avoid a “fatal error: Python.h: No such file or directory” sudo apt-get install python-dev step 2: download the GPIO module. The version may change so ensure you check for the most up to date version http://pypi.python.org/pypi/RPi.GPIO At the time of writing the […]

Maplin robot arm on PI

Tricky one this, the modules were the pain Step 1: Install wxPython – I think this is the GUI module sudo apt-get update sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n Step 2: Install PyUSB – so python can interact with the robot arm by USB. I ended up having to install PIP to get this sorted. […]

Robotics servo control, how they work…

Servos work on times pulses. Nice explanation here. http://www.robotplatform.com/knowledge/servo/what_makes_a_servo.html

Logic level. Making the 3.3v GPIO output up to 5v

Changing 3.3v (GPIO output) to 5v. http://arduino.cc/forum/index.php?topic=119340.0 I did this and managed to up the 3.3v GPIO output to 4.8v on a prototyping board, might be closer to 5v when soldered.

Previous Posts