Omschrijving
Specificaties (Raspberry Pi 4 B, 4 GB RAM)
De Raspberry Pi 4 B zet een nieuwe mijlpaal in processorsnelheid en prestaties van single-board computers. Raspberry Pi 4 B is 3x sneller dan zijn 3 B+ voorganger en biedt 4x snellere multimedia prestaties (vergelijkbaar met de desktop prestaties van een entry-level x86-gebaseerde PC).
Features
- Krachtige 64-bit quad-core processor
- Ondersteuning voor twee schermen met resoluties tot 4K via een paar micro-HDMI-poorten
- Hardware videodecodering tot 4Kp60
- 4 GB RAM
- Dual-band 2,4/5 GHz draadloze LAN
- Bluetooth 5.0
- Gigabit Ethernet
- USB 3.0
- PoE-mogelijkheid (via een aparte PoE HAT add-on)
Specificaties
SoC |
Broadcom BCM2711 |
CPU |
64-bit ARM Cortex-A72 (4x 1,5 GHz) |
GPU |
Broadcom VideoCore VI |
RAM |
4 GB LPDDR4 |
Wireless LAN |
2,4 GHz and 5 GHz IEEE 802.11b/g/n/ac wireless LAN |
Bluetooth |
Bluetooth 5.0, BLE |
Ethernet |
Gigabit Ethernet |
USB |
2x USB-A 3.0 2x USB-A 2.0 |
GPIO |
Standard 40-pin GPIO header (fully backwards-compatible with previous boards) |
Video |
2x micro-HDMI ports (up to 4Kp60 supported) 2-lane MIPI DSI port (display) 2-lane MIPI CSI port (camera) |
Audio |
4-pole stereo audio and composite video port |
Multimedia |
H.265 (4Kp60 decode) H.264 (1080p60 decode, 1080p30 encode) OpenGL ES, 3.0 graphics |
SD card |
microSD (for operating system and storage) |
Power |
5 V | 3 A (via USB-C) 5 V | 3 A (via GPIO) Power over Ethernet (PoE) enabled – (requires separate PoE HAT) |
C Programming on Raspberry Pi (boek)
The Raspberry Pi has traditionally been programmed using Python. Although this is a very powerful language, many programmers may not be familiar with it. C on the other hand is perhaps the most commonly used programming language and all embedded microcontrollers can be programmed using it.
The C language is taught in most technical colleges and universities and almost all engineering students are familiar with using it with their projects. This book is about using the Raspberry Pi with C to develop a range of hardware-based projects. Two of the most popular C libraries, wiringPi and pigpio are used.
The book starts with an introduction to C and most students and newcomers will find this chapter invaluable. Many projects are provided in the book, including using Wi-Fi and Bluetooth to establish communication with smartphones.
Many sensor and hardware-based projects are included. Both wiringPi and pigpio libraries are used in all projects. Complete program listings are given with full explanations. All projects have been fully tested and work.
The following hardware-based projects are provided in the book:
- Using sensors
- Using LCDs
- I²C and SPI buses
- Serial communication
- Multitasking
- External and timer interrupts
- Using Wi-Fi
- Webservers
- Communicating with smartphones
- Using Bluetooth
- Sending data to the cloud