Copyright Dr A Dawson 2005 - 2016

This file is: http://www.annedawson.net/rpi1.html
First created: Sunday 25th January 2015, 18:11 PT, AD
Updated: Saturday 21st March 2015, 21:00 PT, AD
Last updated: Tuesday 18th August 2015, 12:36 PT, AD




Sponsors: Sponsors:


Raspberry Pi 1

by Dr A. Dawson

This page explains how to build
simple electronic circuits attached
to a Raspberry Pi 1 and control them
using Python scripts.

RPi 1 related movies:

Resistors
RPi 1 LED circuit
RPi 1 controlling LED with Python 2 script

Python 2 scripts:

led_blinking.py

from the desktop in RPi 1:

1. open a terminal window:
2. sudo -s (you have to be superuser to have access to GPIO)
3. idle
4. File -> Open led_blinking.py
5. Run -> Run module

led3_blinking.py

from the desktop in RPi 1:


1. open a terminal window:
2. sudo idle (you have to be superuser to have access to GPIO)
3. File -> Open led3_blinking.py
4. Run -> Run module










RPi 1 LED circuits:

Raspberry Pi 1 Model B (2014) - wired to one LED RPi Model B LED circuit



Raspberry Pi 1 Model original (2011) - wired to three LEDs RPi 3 LEDs circuit




Sponsors:

Example Python 2 Programs (HTML format)

Example Python 2 Programs (text format)

Example Python 3 Programs (text format)


Sponsors:
 


Search for more computer science topics
on www.annedawson.net


www.annedawson.net

Valid HTML5!

Valid CSS!