RaspberryPi

From blwiki
Jump to: navigation, search

Tindie-mediums.png

Raspberry Pi Page

Our Raspberry Pi Products

Our Raspberry Pi Products

Prototyping plate

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:

801-06.jpg

Hardware Interfaces

The Raspberry Pi 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

I2C Interface

SPI Interface

One Wire Interface

I/O Connector

gpio-descriptions.png

Composite Video

4-Pole A/V Connector

  • 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

Model-B-Plus-Audio-Video-Jack-Diagram.png

Av-pinouts-zune.jpg

  • Re-wired cable and it worked

CompVideo-cable rewired.jpg

3.5" Composite Output Monitor

CompVideo-Setup-2015-02-01.jpg

  • 3.5" LCD Display with Composite Video - $25 from mcmelectronics. 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~15VDC110mA±20mA

83-15136.jpg

Software Setup Composite Output

sudo nano /boot/config.txt
  • Add
sdtv_mode=0    Normal NTSC
  • Comment out in 2 places
#hdmi_force_hotplug=1
  • Uncomment and add a/r
framebuffer_width=320
framebuffer_height=240

Raspberry Pi Cluster Home Page

Game Machines

Pi Mechanicals

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.

Other Pi Stuff

Using a Raspberry Pi as Wireless to Ethernet Switch Bridge

Raspberry Pi as Wireless to Wired Ethernet Bridge

Notes

  • Thunderbird version of Debian is called icedove.
  • Firefox is called "Iceweasel".

Static IP

RPI-staticIP.PNG

sudo nano /etc/network/interfaces

address 192.168.1.81
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

sudo rm /var/lib/dhcp/*

Addresses

  • rpp01-static = 192.168.1.150 - RPI-I2C-HUB
  • RP2-01-static = 192.168.1.202 - RP-Console
  • raspi3-static = 192.168.1.204 - RPI-MDI