From Land Boards Wiki
Jump to navigation Jump to search


Raspberry Pi Page[edit]

Raspberry Pi Cards[edit]

Documentation Function 3.3V GPIO 5V GPIO Compatible with
RasPi-GVS GVS card 0 16 All Raspberry Pi Models
RPP-UIO-16 GVS card 3.3V/5V 26 0-16 Raspberry Pi Models A+, B+, Pi 2
RASPI-PLUS-GVS GVS card 5V 9 16 Raspberry Pi Models A+, B+, Pi 2
RASPI-PLUS-GVS-CFG Configurable GVS hat 26 0-8 Raspberry Pi Models A+, B+, Pi 2
RPIO-TINY GVS card 17 0 All Raspberry Pi Models
RPIO-TINY-2 GVS card 17 0-8 All Raspberry Pi Models
RPIO-TINY-3 GVS card 17 0 All Raspberry Pi Models
RPI-MDI Servo card 3 0 All Raspberry Pi Models
RPI-CONSOLE Console extender card (Mini USB) N/A N/A All Raspberry Pi Models
RPI-CONSOLE-U Console extender card (Micro USB) N/A N/A All Raspberry Pi Models
RPI-I2C-HUB I2C Hub/repeater/level translator card N/A N/A All Raspberry Pi Models
RPPSOC Programmable System On a Chip N/A N/A Raspberry Pi Models A+, B+, Pi 2, Pi 3
RPI-PWR Raspberry Pi Recessed Power Card N/A N/A All Raspberry Pi Models
PIATX Raspberry Pi <> ATX Case Connections N/A N/A All Raspberry Pi Models
PC-Case-USB ATX Case USB Connections N/A N/A All Raspberry Pi Models
RPI_PSOC5 Raspberry Pi "Clone" N/A N/A All Raspberry Pi Models

Prototyping plate[edit]

The Adafruit prototyping "plate" (ie, daughtercard) is available here.

Adafruit prototyping plate 801-04.jpg

If you put a mini-breadboard in the middle it obscures the silkscreen markings for the port numbers so the above picture can help determine which header pin corresponds to which channel.

Hardware Interfaces[edit]

The Raspberry Pi roms pack has a 26-pin BERG stick style header which has the interfaces to connect up external hardware. They provide 8 GPIO pins plus access to I2C, SPI, UART), as well as +3.3 V, +5 V and GND supply lines.

WARNING: GPIO voltage levels are 3.3 V and are not 5 V tolerant. There is no over-voltage protection on the board.

GPIO Pins[edit]

I2C Interface[edit]

SPI Interface[edit]

One Wire Interface[edit]

I/O Connector[edit]


Composite Video[edit]

4-Pole A/V Connector[edit]

  • The Raspberry Pi Models A+ and B+ have a 4-pole 3.5mm connector which has right/left audio and video
  • Cheap ebay connector didn't work because of pinout
    • Cable has outer ring as ground
    • Raspberry Pi has outer ring as video



  • Re-wired cable and it worked

CompVideo-cable rewired.jpg

3.5" Composite Output Monitor[edit]


  • 3.5" LCD Display with Composite Video - Was $25 from mcmelectronics (now Newark no longer sold)
  • Specifications:
  • Display ratio: 4:3
  • Backlight: LED
  • Brightness: 300 cd/m2
  • Resolution: 320 x 240
  • Viewing Angle: 40/60 60/60 (U/D/L/R)
  • Inputs: Composite Video
  • Controls: Keypad control board
  • Driving board dimension 62.0x55.2x 9.0mm
  • 12~15VDC 110mA±20mA

Software Setup Composite Output[edit]

  • Using a Mini PAL/NTSC Display with a Raspberry Pi
  • To configure Raspian for composite output
  • Reboot the Raspberry Pi and enter your username and password.
  • To edit the configuration file, enter the command
sudo nano /boot/config.txt


sdtv_mode=0    Normal NTSC
  • Comment out in 2 places
  • Uncomment and add a/r

Raspberry Pi Cluster Home Page[edit]

Pi Mechanicals[edit]

The Raspberry Pi PCB measures 85mm x 56.2mm excluding overhanging connectors and is 20.8mm high. Pi Mechanicals are complicated due to a lack of adequate mounting holes. Various methods have been developed to deal with this deficiency. The primary method is clamping the card from the sides.

Using a Raspberry Pi as Wireless to Ethernet Switch Bridge[edit]


Setting a Static IP on the Raspberry Pi (Raspian Stretch)[edit]

To find out which version of Raspian is running

cat /etc/os-release
sudo nano /etc/dhcpcd.conf

At the bottom of the file add settings:

interface eth0
static ip_address=
static routers=
static domain_name_servers=
static domain_search=example.com
static domain_name=example.com

Setting a Static IP on the Raspberry Pi (Raspian Jessie and earlier)[edit]

cat /etc/os-release


sudo nano /etc/network/interfaces


sudo rm /var/lib/dhcp/*

Network Static IP Addresses[edit]

There are two networks. The .1 network connects to the router to the Internet. The .2 network connects to the PiRouter.

Main .1 Network Static IP Addresses[edit] = PiRouter wireless side (as seen from the main .1 network) 192.168.1.XXX - MotionEyes camera PiCluster Addresses Intend to move the below addresses to the .2 secondary network

Secondary .2 Network Static IP Addresses[edit] = PiRouter wired Ethernet side (as seen from the .2 network) = hpg7i3 - HP laptop = RPP2-02 = RP2-01 = rpp01 = rp256 = B256 = BBB_RevC = BBB_RevB
rpp3-01 =
rpp3-02 =
rpp3-03 =
rpp3-04 =
rpp3-05 =
rpp3-06 =
rpp3-07 =
rpp3-08 =
rpp3-09 =
rpp3-10 =
rpp3-11 =
rpp3-12 =
rpp3-13 =
rpp3-14 =
rpp3-15 =
rpp3-16 =


  • wifi-to-eth-route.sh

# Share Wifi with Eth device
# Loaded from on 2019-01-19
# https://github.com/arpitjindal97/raspbian-recipes/blob/master/wifi-to-eth-rout
# This script is created to work with Raspbian Stretch
# but it can be used with most of the distributions
# by making few changes.
# Make sure you have already installed `dnsmasq`
# Please modify the variables according to your need
# Don't forget to change the name of network interface
# Check them with `ifconfig`


sudo systemctl start network-online.target &> /dev/null

sudo iptables -F
sudo iptables -t nat -F
sudo iptables -t nat -A POSTROUTING -o $wlan -j MASQUERADE
sudo iptables -A FORWARD -i $wlan -o $eth -m state --state RELATED,ESTABLISHED -
sudo iptables -A FORWARD -i $eth -o $wlan -j ACCEPT

sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"

sudo ifconfig eth0 $ip_address netmask $netmask

# Remove default route created by dhcpcd
sudo ip route del 0/0 dev eth0 &> /dev/null

sudo systemctl stop dnsmasq

sudo rm -rf /etc/dnsmasq.d/* &> /dev/null

echo -e "interface=eth0\n\
dhcp-range=$dhcp_range_start,$dhcp_range_end,$dhcp_time" > /tmp/custom-dnsmasq.c

sudo cp /tmp/custom-dnsmasq.conf /etc/dnsmasq.d/custom-dnsmasq.conf
sudo systemctl start dnsmasq

Other Pi/Linux Stuff[edit]

Game Machines[edit]

Raspberry Pi Pico[edit]