Having brought my RPi.GPIO documentation (almost) up-to-date with the previous blog post, I realised it was time to update my RPi.GPIO Quick Reference ‘cheat sheet’ as well. It’s quite a useful reference. Page 1 gives you the basic RPi.GPIO commands and usage. I like to take one of these the Jams in case someone needs help and I can’t remember the necessary commands. Page 2 has a Raspberry Pi GPIO pinout diagram for all versions (except compute module). This part has been updated to add the pinouts for the B+ (and A+). Page 3 gives a list of links to all 13 of my RPi.GPIO tutorial pages (including yesterday’s).

I had to redo parts of it from scratch because I couldn’t find the main source file. But it didn’t take too long.

OK. I did wonder what you were referring to. I hadn’t changed the .txt file at all (have now) :)
Will get to the PWM thing. Wanted a quick fix to correct the errors as I’ve already worked too hard this week and need to switch off the computer and go and have a life ;)

As far as I understand it though, the BCM only has 2 PWM channels, but both can be used if you’re not using analog sound?

Please do not consider this criticism — your efforts are more than worthy.

Are there not some other useful pins, at least in Rev 2. Particularly, but not limited to the headers P5, which contains 4 GPIO pins as well as some power and ground pins. Header P6 also provides for a reset.

I did it just to try them out and then never used them again. There is only one add-on board I know about for the rev 2 that uses the P5 header (Wolfson audio card). The pins are generally so un-utilised that I’m going for the ‘thick end of the wedge’ here. I expect the new B+ design will get people using more of the pins.

For one of the applications I’m working on it’s useful for one Pi to be able to able to hard-reset a second Pi if it stops responding to commands sent over the serial port (which is a pretty good indication it’s crashed / locked up).

[…] few weeks ago I blogged about RPi.GPIO updates for the model B and updated my RPi.GPIO documentation and quick reference sheets. But there was one feature I held back on because I needed a bit more time to mess about with it. […]

OK. so, you have seen the face of a noob to the RPi B+. I know a lot about Linux, studied electronics back in 92/93(dating myself here….sigh), run my own company(computer hardware/software repair)…where should i start in the tree of learning on this?

I don’t want the “”N” for Dummies”(chapter one, hello world->console, chapter 2, hacking the government websites with cryptographic analyzers using asymmetrical flux capacitors).

Hi Alex – could you update your 40-pin header to show the SDIO bus (4 bit mode on 22-27, 1-bit mode on 22-25), which recent (> May 2015) firmwares & drivers have made available. This bus has decent (for the Pi) ~200Mbps bandwidth, useful to attach extra SD card storage or SDIO peripherals eg WiFi. That would leave fewer yellow pins, but by showing it it might help designers of future HATs to keep off SDIO territory unless absolutely essential.

Yes, those pins. The 2835/6 contain two peripherals which support SD cards – one which has lain dormant until PhilE wrote a driver for it, namely the sdhost peripheral, which is latterly providing SD card duties for the Pi. The previously used peripheral, the emmc block from Arasan has been retired to SDIO duties available on GPIOs 22-27.

The “get off my lawn” message needs to get out there somehow! I’m a tinkerer, doesn’t stop me designing my own SDIO !HAT though, inspired by this brilliant piece of hacking https://hackaday.io/project/8678-rpi-wifi