Using avrdude on a Raspberry Pi

avrdude can be used to program Arduino boards from a Raspberry Pi. Resources https://github.com/kcuzner/avrdude http://kevincuzner.com/2013/05/27/raspberry-pi-as-an-avr-programmer/ This guide for the AlaMode board details setting up the RPi to program the AlaMode Arduino compatible board via the IO pins: AlaMode: Getting started

Read More

SPI Pins

Enabling The SPI Port Via the desktop GUI In the desktop GUI select the Start button > Preferences > Raspberry Pi Configuration Select the interfaces tab and then select the relevant option. Via the config file Use the sudo raspi-config config tool: Select ‘Interface Options’ and then select the relevant option. Test the SPI Port […]

Read More

Configuration Tool

Launching the Configuration Tool sudo raspi-config   Closing X windows after it auto started You can use CTRL + ALT + F1 Performance Tuning If you are not using the HDMI out and want maximum performance from the RPi because you are using memory intensive processes such as Apache, MySQL, etc then it is sensible […]

Read More

IDLE Python IDE

The IDLE IDE (Integrated Development Environment) is included with the Raspbian image. Starting Programming With IDLE Run IDLE which will open the Python Shell window. Select Menu > File > New Window Write your program, e.g. #!/usr/bin/python print “Hello!”; To run it select Menu > Run > Run Module and you should see “Hello!” appear […]

Read More

Using the I2C Interface

Enabling The I2C Port The I2C port needs to be enabled in Rasbian before it can be used. See here. Checking For Connected Devices At the command prompt type one of these depending on whether you are using the I2C0 or I2C1 port: The 7 bit I2C address of all found devices will be shown […]

Read More

UART Pins

Turning off the UART functioning as a serial console UPDATE – You can now disable serial via the GUI or command line raspi-config tool.  The below is no longer good for Raspbian Jessie and above, it doesn’t work (This is based on Clayton Smiths nifty guide). Backup the /boot/cmdline.txt file before you edit it just in case of […]

Read More

I2C Pins

Enabling The I2C Port Via the desktop GUI In the desktop GUI select the Start button > Preferences > Raspberry Pi Configuration Select the interfaces tab and then select the relevant option. Via the config file Use the sudo raspi-config config tool: Select ‘Interface Options’ and then select the relevant option.  

Read More

Autorun browser on startup

Configuring LXDE to start the Midori browser on login This solution works really well.  Once the browser loads there is a small black square in the top left of the screen which seems to be a general bug (its mentioned on forums by others) but otherwise the fullscreen mode hides everything except the browser page. […]

Read More