2

I stumbled on this tutorial: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/ok01.html Unfortunately this is only made for the B rev2 board, whereas I got a B+ board and the board setup is slightly different. On the schematics of the rev2 version one can see that the ok LED is connected to the pin 16, which allows to activate the LED by writing into the respective registry.

But I couldn't find any schematics for the B+ version and thus could not identify to which pin any of the LED is connected. I am an absolute beginner regarding to this low-level approaches but would like to get through this tutorial with my board but got stuck at this point. I am not sure if I could damage the board by just trying to activate all the pins on the board and check what happens.

Do you guys know how and whether the on-board leds are connected to the pins? Or any other way to continue with my tutorial?

Ghanima
  • 15,958
  • 17
  • 65
  • 125
nemo
  • 23
  • 5

2 Answers2

2

On the Pis with the 40 pin expansion header (except Pi3)

  • the power LED (red) is connected to GPIO 35 (not present on the Pi Zero)
  • the activity LED (green) is connected to GPIO 47

Pi3 uses a GPIO expander to drive the LEDs which can only be accessed from the VPU.

Milliways
  • 62,573
  • 32
  • 113
  • 225
joan
  • 71,852
  • 5
  • 76
  • 108
1

While there is a full schematics of the B, rev2 on Raspberrypi.org only some "Reduced Schematics" for the B+ are available. This is stripped down to the absolute minimum, but it is at least possible to figure out the pin numbering on the GPIO expansion header.

Another nice spot to visit is elinux which is updated with information of the different pin numbering of the numerous headers of the different models of the Pi.

Glorfindel
  • 620
  • 1
  • 9
  • 16
Ghanima
  • 15,958
  • 17
  • 65
  • 125