CAS Community   >   Resources   >  

Screenshot
RPi GPIO python simulator and quick start guide

Control inputs and outputs on a Raspberry Pi GPIO with python

Pete Dring

Created by Pete Dring
last edited Oct 07 2016 by Pete Dring


Following on from the micro:bit python simulator on create.withcode.uk, many students and staff have requested a python simulator for the Raspberry Pi GPIO pins.

This quick start guide talks you through how to start writing code for physical computing using the GPIO pins on a Raspberry Pi.

It’s designed for teaching students how to do physical computing without having to invest in a separate Raspberry Pi for each student.

You can write, run, debug and share code that simulates the GPIO pins reading inputs and controlling outputs in a web browser then just have one (or more) Raspberry Pis set up with LEDs and switches connected up to demonstrate the same code.

This speeds up development time and reduces set up time and costs.

Physical computing is much more fun when students can actually see their code controlling a real life device - so this isn’t designed to replace actually plugging in and connecting up the physical components.

This simulator is designed to supplement and complement the actual physical computing: to iron out the more frustrating parts of the development process so students can focus on tinkering with the code, debugging, sharing, collaborating and exploring.

I hope it’s useful.

Downloaded 6380 times.

Download

This resource has attached files: to access these files, please tick the box below to assent to the license terms
License: The resources on CAS website are under Creative Commons Attribution-Share Alike 3.0 licence unless otherwise specified by the resource creators.

You must confirm that you have read and agree the licence's ToS before you can download the attachments of this resource.

I have read the licence agreement of this resource and agree to abide by its terms and conditions.

Feedback and Comments


Available when logged in (join via the front page, for free):
  • View 0 comments on this resource.
  • View resource history, links to related resources.
  • Leave feedback for the author(s), or help by editing the resource.
Categories: