Initial Commit
1 parent 68bd21d commit c3800c69c460bdb82074697ed169d6cb77a76210
root authored on 16 Mar 2020
Showing 18 changed files
View
42
1-wire.txt 0 → 100644
1)(2
3)(4
5)(6
DATA 7)(8
9)(10
11)(12
13)(14
15)(16
17)(18
19)(20
21)(22
23)(24
25)(26
27)(28
29)(30
31)(32
33)(34
35)(36
37)(38
39)(40
 
- W1-GPIO - One-Wire Interface -
To enable the one-wire interface you need to add the following line to /boot/config
dtoverlay=w1-gpio
or
dtoverlay=w1-gpio,gpiopin=x
if you would like to use a custom pin (default is BCM4, as illustrated in pinout herein).
 
Alternatively you can enable the one-wire interface on demand using raspi-config, or the following:
 
sudo modprobe w1-gpio
Newer kernels (4.9.28 and later) allow you to use dynamic overlay loading instead, including creating multiple 1-Wire busses to be used at the same time:
 
sudo dtoverlay w1-gpio gpiopin=4 pullup=0 # header pin 7
sudo dtoverlay w1-gpio gpiopin=17 pullup=0 # header pin 11
sudo dtoverlay w1-gpio gpiopin=27 pullup=0 # header pin 13
once any of the steps above have been performed, and discovery is complete you can list the devices that your Raspberry Pi has discovered via all 1-Wire busses (by default BCM4), like so:
 
ls /sys/bus/w1/devices/
n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 k pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips.
 
View
6
README.md
PiPins
===============
 
Documents to help with Pi Zero / Pi Zero W pinouts and protocols
Documents to help with Pi Zero / Pi Zero W pinouts and protocols.
 
Simple text files to keep on the pi for use as quick and dirty emergency hardware hacking lab.
View
12
URLs.txt 0 → 100644
Collection of random useful URL's
 
http://acoptex.com/project/8003/raspberry-basics-project-29a-raspberry-pi-zero-w-board-raspberry-pi-gpio-pinout-at-acoptexcom/
 
https://pinout.xyz/
 
https://payatu.com/using-rasberrypi-as-poor-mans-hardware-hacking-tool
 
https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/
 
https://github.com/superzerg/logic-analyzer
https://sigrok.org/wiki/PulseView
View
30
dpi.txt 0 → 100644
1)(2
V-SYNC 3)(4
H-SYNC 5)(6
Blue 0 7)(8 Green 2
9)(10 Green 3
Green 5 11)(12 Green 6
Red 7 13)(14
Red 2 15)(16 Red 3
17)(18 Red 4
Blue 6 19)(20
Blue 5 21)(22 Red 5
Blue 7 23)(24 Blue 4
25)(26 Blue 3
CLK 27)(28 DEN
Blue 1 29)(30
Blue 2 31)(32 Green 0
Green 1 33)(34
Green 7 35)(36 Green 4
Red 6 37)(38 Red 0
39)(40 Red 1
 
- DPI - Display Parallel Interface -
One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals.
 
This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0.
 
The pinout presented here is for the RGB24 mode, see url below for documentation of the RGB666 and RGB565 modes.
https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/
View
36
gpclk.txt 0 → 100644
1)(2
3)(4
5)(6
GPCLK0 7)(8
9)(10
11)(12
13)(14
15)(16
17)(18
19)(20
21)(22
23)(24
25)(26
27)(28
GPCLK1 29)(30
GPCLK2 31)(32
33)(34
35)(36
37)(38
39)(40
 
General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control.
 
The following clock sources are available:
 
0 0 Hz Ground
1 19.2 MHz oscillator
2 0 Hz testdebug0
3 0 Hz testdebug1
4 0 Hz PLLA
5 1000 MHz PLLC (changes with overclock settings)
6 500 MHz PLLD
7 216 MHz HDMI auxiliary
8-15 0 Hz Ground
 
Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096.
View
gpio.txt 0 → 100644
View
i2c.txt 0 → 100644
View
jtag.txt 0 → 100644
View
logic_analyser.txt 0 → 100644
View
pcm.txt 0 → 100644
View
pinout.jpg 0 → 100644
View
pinout2.png 0 → 100644
View
power.txt 0 → 100644
View
sdio.txt 0 → 100644
View
software.txt 0 → 100644
View
spi.txt 0 → 100644
View
uart.txt 0 → 100644
View
wiringpi.txt 0 → 100644
Buy Me A Coffee