Raspberry pi: Difference between revisions
Content added Content deleted
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 62:
<br />
= GPIO Reference
<pre>
pi@raspberrypi ~ $ gpio readall
Line 93 ⟶ 94:
</pre>
<br />
= Sense Hat =
* Features:
8x8 RGB LED Matrix
Barometric Air Pressure Sensor
Temperature Sensor
Humidity Sensor
Inertial Measurement Unit (IMU) — for velocity, orientation and gravity measurement of a space craft, combines an accelerometer, gyroscope and magnetometer into one chip
5-button Joystick
<br />
|
Latest revision as of 12:58, 8 April 2020
- The Raspberry Pi is a credit card-sized single-board ultra-low-cost ($35) Linux computer which was developed by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools
- The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU, and was originally shipped with 256 megabytes of RAM, later upgraded (Model B & Model B+) to 512 MB.
- It does not include a built-in hard disk or solid-state drive, but it uses an SD card for booting and persistent storage, with the Model B+ using a MicroSD.
- The Foundation provides Debian and Arch Linux ARM distributions for download.
- Tools are available for Python as the main programming language, with support for BBC BASIC (via the RISC OS image or the Brandy Basic clone for Linux), C, Java, Perl and Ruby.
- As of February 2014, about 2.5 million boards had been sold.
Specifications
Parameter | Data |
---|---|
Dimensions | 85mm x 56mm |
Chip | Broadcom BCM2835 SoC full HD multimedia applications processor |
CPU | 700 MHz Low Power ARM1176JZ-F Applications Processor |
GPU | Dual Core VideoCore IV® Multimedia Co-Processor |
RAM | 512 MB SDRAM @ 400 MHz |
Storage | MicroSD |
USB 2.0 | 4x USB Ports |
Ethernet | 1x 10/100mb Ethernet RJ45 Jack |
Video Connections | HDMI, Composite RCA (shared with audio jack) |
Supported Resolutions | 640×350 to 1920×1200, including 1080p, PAL & NTSC standards |
Audio | Multi-Channel HD Audio over HDMI, Stereo from 3.5 mm jack |
Operating Systems | Raspbian, RaspBMC, Arch Linux, Risc OS, OpenELEC, Pidora |
Power Draw / voltage | 600mA up to 1.8A @ 5V |
GPIO | 40 |
Other Connectivity | 1x CSI-2 for Raspberry Pi camera modules
1x DSI for Raspberry Pi displays |
Power Source | 1x Micro-USB |
Highlights | Improved power management which improves USB support and allows for high-drain devices such as external USB hard drives.
Larger bank of accessible GPIO ports compared to Model B board allows for direct hardware device control. |
GPIO Reference - WiringPi
pi@raspberrypi ~ $ gpio readall +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5V | | | | 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD | 15 | 14 | | | | 0v | | | 9 || 10 | 1 | ALT0 | RxD | 16 | 15 | | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 | | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 | | 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 | | 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 | | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 | | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 | | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 | | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+
Sense Hat
- Features:
8x8 RGB LED Matrix Barometric Air Pressure Sensor Temperature Sensor Humidity Sensor Inertial Measurement Unit (IMU) — for velocity, orientation and gravity measurement of a space craft, combines an accelerometer, gyroscope and magnetometer into one chip 5-button Joystick
{{#widget:DISQUS |id=networkm |uniqid=Raspberry pi |url=https://aman.awiki.org/wiki/Raspberry_pi }}