Here you’ll find details of the Raspberry Ladder board layout and software to use for it. Please see the original blog posting for details of the board, assembly and how to get one!
The ladder board has 10 LEDs and 4 buttons. They are connected up as follows:
+-----------------------------+ | ............. | | ............. | | | | Red (9) | | (0) Green (8) | | Red  | | (1) | | | | (2) | | Yellow  | | (3) | | | | (4) | | Green  | | (5) | | | | (6) | | Blue  | | (7) | | | +-----------------------------+
The numbers – in (round brackets) refer to the LED numbers and in [square brackets] refer to the switches. The numbers here are native wiringPi pin numbers and not the BCM_GPIO numbers.
- After the change in the pin assignments form the Rev 1 to the Rev 2 boards, I do not recommend using the native BCM_GPIO numbers anymore.
Firstly to use my demonstration software, you need to have wiringPi installed. Please see here for download and installation instructions.
Please use GIT to download the latest version of the demonstration software for the Ladder board:
- git clone git://git.drogon.net/ladder
Or browse the GIT archive here:
This will fetch the latest version of the ladder software. What you’ll get:
This is a bash script that you can use to test your newly assembled board. It’s also a demonstration of how to use the board from bash. Run by typing ./ladderTest.sh
This is the Tux (aka Pelican) road crossing simulator written in bash script. It uses button A as the “Push to walk button”.
This is a version of my original ladder program written in C and adapter for the Raspberry ladder board. Run it with sudo ./ladder and it uses button A as the climb button.
This is a LED sequencer program, again written in C. Run with sudo ./cylon
To compile the C programs, just type make.
There are some programs written in BASIC (RTB; Return to BASIC – See here for details)
These are a simple reaction timer, the “simon says” game and a version of the LED sequencer in BASIC which uses the Pi’s display as well as the Ladder board.
Additionally, there are some library/include files to help you write your own programs:
These can be used when writing your own programs for the ladder board.