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
All posts by
Creating A Class
Very Simple Class Header file Using it More Complex Class Header file CPP File Using it
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 […]
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 […]
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 […]
Running A Python Script At Boot Using Cron
Running A Python Script At Boot Using Cron The Raspberry Pi Spy method is here.
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 […]
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 […]
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.
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. […]