3rd Edition – Fully updated for Raspberry Pi 4
The Raspberry Pi is a very cheap but complete computer system that allows all sorts of electronics parts and extensions to be connected. This book addresses one of the strongest aspects of the Raspberry Pi: the ability to combine hands-on electronics and programming.
Combine hands-on electronics and programming
After a short introduction to the Raspberry Pi you proceed with installing the required software. The SD card that can be purchased in conjunction with this book contains everything to get started with the Raspberry Pi. At the side of the (optional) Windows PC, software is used which is free for downloading. The book continues with a concise introduction to the Linux operating system, after which you start programming in Bash, Python 3 and Javascript. Although the emphasis is on Python, the coverage is brief and to the point in all cases – just enabling you to grasp the essence of all projects and start adapting them to your requirements. All set, you can carry on with fun projects.
The book is ideal for self-study
No fewer than 45 exciting and compelling projects are discussed and elaborated in detail. From a flashing lights to driving an electromotor; from processing and generating analog signals to a lux meter and a temperature control. We also move to more complex projects like a motor speed controller, a web server with CGI, client-server applications and Xwindows programs.
Each project has details of the way it got designed that way
The process of reading, building, and programming not only provides insight into the Raspberry Pi, Python, and the electronic parts used, but also enables you to modify or extend the projects any way you like. Also, feel free to combine several projects into a larger design.
De Raspberry Pi 400 biedt een quad-core 64-bits processor, 4 GB RAM, draadloos netwerken, uitvoer op twee schermen, 4K-videoweergave en een 40-pins GPIO-header. Het is een krachtige, compacte computer ingebouwd in een draagbaar toetsenbord.
Specificaties
Processor
Broadcom BCM2711 quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.8 GHz
RAM
4 GB LPDDR4-3200
Connectivity
Dual-band (2.4 GHz and 5.0 GHz) IEEE 802.11b/g/n/ac wireless LANBluetooth 5.0, BLEGigabit Ethernet2 × USB 3.0 and 1 × USB 2.0 ports
GPIO
Horizontal 40-pin GPIO header
Video & Sound
2 × micro HDMI ports (supports up to 4Kp60)
Multimedia
H.265 (4Kp60 decode)H.264 (1080p60 decode, 1080p30 encode)OpenGL ES 3.0 graphics
SD card support
MicroSD card slot for operating system and data storage
Keyboard
US keyboard
Power
5 V DC via USB connector
Operating temperature
0°C to +40°C
Dimensions
286 × 122 × 23 mm (maximum)
The 16 mm lens provides a higher quality image than the 6 mm lens. It has a narrow angle of view which is more suited to viewing distant objects.
Specifications
Resolution
10 MegaPixel
Image format
1'
Focal length
16 mm
Aperture
F1.4-16
Mount
C
Field Angle 1'Field Angle 2/3'Field Angle 1/1.8'Field Angle 1/2'
44.6° × 33.6°30.0° × 23.2°24.7° × 18.6°21.8° × 16.4°
Back Focal Length
17.53 mm
Optical Length
67.53 mm
Distortion
1'(-0.7%) 1/2'(-0.5%) 1/3'(-0.15%)
M.O.D.
0.2 m
Dimension
39 × 50 mm
Weight
133.7 g
Raspberry Pi Pico Breadboard Kit helps the user to configure GPIO of Raspberry Pi Pico for use with external devices.Raspberry Pi Pico Breadboard Kit is a multi-purpose Kit that consists of a “400 points half-size breadboard” on top, a Programmable Buzzer, 4 programmable LEDs, 4 push buttons, and dedicated 5 V, 3V3, and GND pins at a single place. SB Components developed Raspberry Pi Pico Breadboard Kit with advanced features like independently controllable LEDs, Switches, a 400 points half-size breadboard that helps the user to prototype their projects with Raspberry Pi Pico in an efficient way.Raspberry Pi Pico Breadboard Kit can be interfaced with Raspberry Pi Pico from which a user can run electronics experiments, prototypes, mini robots, games, interact with Linux-ready Raspberry Pi, Exploration of circuits, etc. One can also connect external components with the breadboard provided on the top of the Raspberry Pi Pico Breadboard Kit.Features
Four independent controlled LEDs
Four independent controlled push buttons
Compatible with Pico
A 400 points half size breadboard
Programmable buzzer
Dedicated 5 V, 3V3 and Gnd pins for easy use
Specifications
Operating voltage
3.3 VDC
Communication interface
GPIO
Dimensions
85 x 133 mm
Applications
Electrical experiments
Prototypes
Mini robots
Games
Exploration of circuits
Downloads
Manual
Example codes
Circuit diagram
GitHub
Included
1x Pico Breadboard Kit
5x Male to Male Jumper Wires
5x Female to Female Jumper Wires
5x Male to female Jumper Wires
Note: Raspberry Pi Pico is not included.
Het boek “Sensoren aan de Raspberry Pi” richt zich tot iedereen die zich wil verdiepen in een Raspberry Pi 2 of 3 in combinatie met Windows 10 IoT Core. Dit besturingssysteem biedt samen met een RPi weliswaar veel rekenkracht, maar voor de communicatie met de buitenwereld zijn nog externe modules en sensoren nodig. Daartoe wordt in dit boek gebruik gemaakt van een sensor-kit met 35 modules die nog geen 60 euro kost.Auteur Florian Schäffer begint zijn boek met de introductie van de Raspberry Pi en hij beschrijft welke hardware u nodig hebt om met de RPi te kunnen werken. Dan volgt een eerste kennismaking met Windows 10 IoT Core. Daarna wordt dieper ingegaan op het gebruik van Visual Studio 2015 en worden de eerste programmeervoorbeelden beschreven. Ook wordt uitgelegd hoe een MySQL-databank kan worden aangestuurd via een app en hoe de Rpi2 als webserver kan worden ingezet.In het tweede deel worden de sensoren stuk voor stuk beschreven met hun eigenschappen en worden er veel toepassingsvoorbeelden gegeven. De source-codes van de programma’s zijn als download bij het boek beschikbaar. Tot slot wordt nog aandacht besteed aan het gebruik van druktoetsen en schakelaars, en het werken met digitale uitgangen en analoge ingangen.
De standaardconfiguratie bevat een mini-breadboard (meegeleverd), een SD-kaartadapter, 2 micro-SD-kaarten, 2 USB-apparaten, een micro-USB-shim en natuurlijk de Raspberry Pi Zero zelf.
Gebruikers kunnen ervoor kiezen om de micro-USB-shim-sleuf te gebruiken voor een micro-HDMI-adapter, of misschien een Portsplus of vergelijkbare GPIO-referentiekaart in de SD-adaptersleuf te plaatsen. Je kunt ervoor kiezen om je USB-micro-SD-kaartlezer of zelfs andere grotere USB-apparaten zoals de USBDoctor te plaatsen. Gebruik hem zoals jij dat het beste vindt.
Alle poorten van de Raspberry Pi Zero zijn toegankelijk vanaf de ZeroDock, inclusief de camerapoort en de reset-/composietpinheader. De pHAT-poorten zijn ook vrij, dus je kunt gerust prototypen met je favoriete uitbreidingsborden.
De behuizing is een stijlvolle mix van heldere en zwarte acryllagen, zwarte bevestigingen en een helder breadboard, en past goed naast de meeste desktop-pc's/monitoren.
De montagehandleiding is hier beschikbaar.
Inbegrepen
4-laags lasergesneden acryl behuizing
Behuizing en Raspberry Pi-bevestigingen
Mini-breadboard Feedback
Soldeerloos breadboard gelabeld voor de Raspberry Pi Pico Het kan lastig zijn om uit te zoeken welke pin welke is wanneer de Raspberry Pi Pico is bevestigd op een soldeerloos breadboard. Het MonkMakes Breadboard voor Pico lost dit probleem op door de Pico pinnen te labelen op het 400 point soldeerloos breadboard. Features 400 verbindingspunten 2 stroombussen Afmeting: 8,2 x 5,5 x 0,85 cm Zelfklevende achterkant
Multitasking and multiprocessing have become a very important topic in microcontroller-based systems, namely in complex commercial, domestic, and industrial automation applications. As the complexity of projects grows, more functionalities are demanded from the projects. Such projects require the use of multiple inter-related tasks running on the same system and sharing the available resources, such as the CPU, memory, and input-output ports. As a result of this, the importance of multitasking operations in microcontroller-based applications has grown steadily over the last few years. Many complex automation projects now make use of some form of a multitasking kernel.This book is project-based and its main aim is to teach the basic features of multitasking using the Python 3 programming language on Raspberry Pi. Many fully tested projects are provided in the book using the multitasking modules of Python. Each project is described fully and in detail. Complete program listings are given for each project. Readers should be able to use the projects as they are, or modify them to suit their own needs.The following Python multitasking modules have been described and used in the projects:
Fork
Thread
Threading
Subprocess
Multiprocessing
The book includes simple multitasking projects such as independently controlling multiple LEDs, to more complex multitasking projects such as on/off temperature control, traffic lights control, 2-digit, and 4-digit 7-segment LED event counter, reaction timer, stepper motor control, keypad based projects, car park controller, and many more. The fundamental multitasking concepts such as process synchronization, process communication, and memory sharing techniques have been described in projects concerning event flags, queues, semaphores, values, and so on.
SD card quality is crucial for a good Raspberry Pi experience. Raspberry Pi's A2 microSD cards support higher bus speeds and command queuing, improving random read performance and narrowing the gap with NVMe SSDs. These cards are rigorously tested for optimal performance with Raspberry Pi models.
Kenmerken
Capacity: 64 GB
Support for DDR50 and SDR104 bus speeds and command queueing (CQ) extension
Speed Class: C10, U3, V30, A2
Random 4 KB read performance: 3,200 IOPS (Raspberry Pi 4, DDR50) 5,000 IOPS (Raspberry Pi 5, SDR104)
Random 4 K write performance: 1,200 IOPS (Raspberry Pi 4, DDR50) 2,000 IOPS (Raspberry Pi 5, SDR104)
Shock-proof, X-ray–proof, and magnet-proof
microSDHC/microSDXC formats
Downloads
Datasheets
Met de Raspberry Pi M.2 HAT+ kunt u M.2-randapparatuur, zoals NVMe-schijven en AI-versnellers, aansluiten op de PCIe 2.0-interface van Raspberry Pi 5, en ondersteunt snelle (tot 500 MB/s) gegevensoverdracht naar en van NVMe-schijven en andere PCIe-accessoires.
Raspberry Pi M.2 HAT+ ondersteunt apparaten met de M.2 M key edge-connector, in de 2230- en 2242-vormfactoren. Hij kan tot 3 A leveren aan aangesloten M.2-apparaten.
Kenmerken
Ondersteunt single-lane PCIe 2.0-interface (piekoverdrachtssnelheid van 500 MB/s)
Ondersteunt apparaten die de M.2 M Key Edge-connector gebruiken
Ondersteunt apparaten met de 2230- of 2242-vormfactor
Kan tot 3 A leveren aan aangesloten M.2 apparaten
Stroom- en activiteits-LED's
Inbegrepen
1x Raspberry Pi 5 M.2 HAT+
1x Lintkabel
1x GPIO-stapelheader
4x Afstandhouders
8x Schroeven
Downloads
Datasheet
Schematics
Assembly instructions
This aluminium-based Armor Case is perfect for your Raspberry Pi 4 if it gets hot, as this protects it against shocks and heat equally. Channel milling combined with dual fans offers best cooling performance. That‘s why it is suitable for extreme settings. Another benefit is that this case does not need more space than the Raspberry Pi itself and can be integrated in existing projects.Features
Material: CNC milled aluminium alloy
Compatible with Raspberry Pi 4B
Assembly: 4 included screws connect the case to the Raspberry Pi
Special features: Large heat sink and dual fan each Ø24 mm, massive protection against heat and shocks, no additional space needed
Wiring: Fan 5V (Red) - 5V (Pin4), Fan GND (Black) - GND (Pin6)
Scope of delivery: Armor case “BLOCK ACTIVE”, screws, thermal tape
Size top side: 69 x 56 x 15.5 mm
Size bottom side: 87 x 56 x 7.5 mm
DownloadsManual
Geen gezoek meer naar micro-SD-kaarten, SD-adapters, USB-C-adapters of USB-apparaten. Het zit er allemaal in, elke keer dat je klaar bent om een prototype van een project te maken, in één overzichtelijk pakket.
Onze voorbeeldconfiguratie bevat je Raspberry Pi 4, een transparant breadboard met 400 punten, 4 micro-SD-kaarten, een SD-adapter, 4x USB-apparaten en 2x universele sleuven (ideaal voor USB-C-adapters of alles wat je maar wilt opbergen).
Je kunt de opslagsleuven natuurlijk gebruiken voor wat je maar wilt... Pas ze aan en gebruik ze zoals je het beste uitkomt!
Ondanks dat de dock vlak ligt met de bovenste acryllaag met glaseffect, zijn alle poorten van de Raspberry Pi toegankelijk, inclusief de micro-SD-sleuf. Er kunnen ook HAT's worden gemonteerd.
Het dock bestaat uit 4 gladde, op elkaar geplaatste lagen matzwart en lasergesneden acryl met glaseffect! Een werkelijk prachtige en handige behuizing voor je Raspberry Pi en projecten!
De montagehandleiding is hier beschikbaar.
Inbegrepen
4-laags lasergesneden acryl dock
400-punts transparant breadboard
Bevestigingen en afstandhouders
SD card quality is crucial for a good Raspberry Pi experience. Raspberry Pi's A2 microSD cards support higher bus speeds and command queuing, improving random read performance and narrowing the gap with NVMe SSDs. These cards are rigorously tested for optimal performance with Raspberry Pi models.
Kenmerken
Capacity: 32 GB
Support for DDR50 and SDR104 bus speeds and command queueing (CQ) extension
Speed Class: C10, U3, V30, A2
Random 4 KB read performance: 3,200 IOPS (Raspberry Pi 4, DDR50) 5,000 IOPS (Raspberry Pi 5, SDR104)
Random 4 K write performance: 1,200 IOPS (Raspberry Pi 4, DDR50) 2,000 IOPS (Raspberry Pi 5, SDR104)
Shock-proof, X-ray–proof, and magnet-proof
microSDHC/microSDXC formats
Downloads
Datasheets
The robust plastic housing made of acrylic convinces by modern design and technical innovation. The only distinguishing feature is the new locking mechanism of this housing. It can be assembled in a few steps and the magnetic lock provides easy access to the GPIO pins and the Raspberry Pi 4 B at any time. Thanks to the strong magnets in the upper, middle and lower part of this housing, screw-less mounting is possible. So the cover can be removed at any time. The two integrated fans and the included heat sinks provide a constant cooling of the Raspberry PI 4B. The JOY-iT Acrylic Case with Dual Fan will protect your Raspberry Pi 4 B against exterior impacts and excessive heat development. You can assemble the screwless case in just 4 clicks. The silent twin fans work reliably under high load. Features Material: Plastic Colour: Black and transparent Compatible with Raspberry Pi 4 B Special Features: Built-in dual fan Dimensions: 67 x 97 x 27 mm Weight: 154 g Downloads Datasheet Manual
Ready to explore the world around you? By attaching the Sense HAT to your Raspberry Pi, you can quickly and easily develop a variety of creative applications, useful experiments, and exciting games.
The Sense HAT contains several helpful environmental sensors: temperature, humidity, pressure, accelerometer, magnetometer, and gyroscope. Additionally, an 8x8 LED matrix is provided with RGB LEDs, which can be used to display multi-color scrolling or fixed information, such as the sensor data. Use the small onboard joystick for games or applications that require user input. In Innovate with Sense HAT for Raspberry Pi, Dr. Dogan Ibrahim explains how to use the Sense HAT in Raspberry Pi Zero W-based projects. Using simple terms, he details how to incorporate the Sense HAT board in interesting visual and sensor-based projects. You can complete all the projects with other Raspberry Pi models without any modifications.
Exploring with Sense HAT for Raspberry Pi includes projects featuring external hardware components in addition to the Sense HAT board. You will learn to connect the Sense HAT board to the Raspberry Pi using jumper wires so that some of the GPIO ports are free to be interfaced to external components, such as to buzzers, relays, LEDs, LCDs, motors, and other sensors.
The book includes full program listings and detailed project descriptions. Complete circuit diagrams of the projects using external components are given where necessary. All the projects were developed using the latest version of the Python 3 programming language. You can easily download projects from the book’s web page. Let’s start exploring with Sense HAT.
Features Standard Raspberry Pi Pico female header for direct attaching Raspberry Pi Pico (if male header soldered), or just through jumper wires Two sets of 2x20 male header, allows connecting more Raspberry Pi Pico expansion modules Clear pinout labels on the front side, easy to use Immersion gold process, beautiful & practical, stunning aesthetic looking
Features Simple slide angle adjustment Camera Module protection 'sandwich' plates Made from crystal clear laser-cut acrylic in the UK 1/4 inch hole for tripod mounting Stable 4-leg base Here you can find the Assembly Instructions.
The official Raspberry Pi keyboard and hub is a standard 78-key US keyboard that includes an additional three USB 2.0 type A ports to power other peripherals. The keyboard is available in different language/country options as detailed below. 78-key US keyboard Three USB 2.0 type A ports for powering other peripherals Automatic keyboard language detection USB type A to micro USB type B cable included for connection to compatible computer Ergonomic design for comfortable use Compatible with all Raspberry Pi products
Add super-fast storage to your Raspberry Pi 5 allowing for lightning fast boots, NAS use, and snappy applications!
NVMe Base is a PCIe extension board for Raspberry Pi 5. Simply populate it with the included 500 GB M-Key NVMe SSD (2230 to 2280 sizes supported) and mount it under your RPi for a compact and fast storage solution.
It's the perfect solution for turning your Raspberry Pi 5 into a file server, media centre, reverse proxy, etc.
Inbegrepen
NVMe Base PCB with M.2 Slot (M-Key)
'PCIe Pipe' Flat Flex Cable
4x Rubber feet
M2 bolt and 2x nuts for SSD mounting
4x 7 mm M2.5 standoffs for base mounting
8x short M2.5 bolts for base mounting
4x long M2.5 bolts for 'pass-thru' mounting with a HAT
500 GB NVMe SSD
Downloads
Documentation
This anodised aluminium heatsink case will protect your Raspberry Pi 4 and give you very effective passive cooling. It's great in cases where you want completely silent cooling, for instance, if you're building a home media center. The scope of delivery includes a thermal pad to provide thermal contact between the CPU and top case, and a handy Allen key and set of hex bolts to attach the case together. The case gives you access to all of the ports, pins, and connectors. Features Anodised aluminium top and bottom case Heatsink fins Thermal pad Hex bolts and Allen key included Access to all ports, pins, and connectors Compatible with Raspberry Pi 4 Assembly Assembling your heatsink case is pretty easy and should only take a couple of minutes. The first, and most important thing is to make sure that your Pi is powered off and unplugged before you fit the case. Take one of the thermal pads and peel the protective films off both sides of it (there's a white film and an easy-to-miss clear film on the other side. Stick the thermal pad onto your Pi's CPU (the metal square nearest the middle of the PCB). Sticking the thermal pad to the CPU first is a much better way to position it correctly than trying to stick it to the case. Only use one thermal pad with the Raspberry Pi 4. Position the top case and then, holding it in place, flip the whole thing over and position the bottom case on the underside of your Pi. Use the four hex bolts and allen key to secure the case. Notes The case is metal and hence conductive, so be careful not to short any components on it, and ensure that your RPi is powered off and unplugged when fitting the case It may be obvious, but the case will get hot in use Dimensions: 87 × 56 × 25.5 mm
Designed for environmental monitoring, Enviro+ lets you measure air quality (pollutant gases and particles*), temperature, pressure, humidity, light, and noise level.
Enviro+ is an affordable alternative to environmental monitoring stations that can cost tens of thousands of pounds and, best of all, it's small and hackable and lets you contribute your data to citizen science efforts to monitor air quality via projects like Luftdaten.
Features
BME280 temperature, pressure, humidity sensor (datasheet)
LTR-559 light and proximity sensor (datasheet)
MICS6814 analog gas sensor (datasheet)
ADS1015 analog to digital converter (ADC) (datasheet)
MEMS microphone (datasheet)
0.96' colour LCD (160 × 80)
pHAT-format board
Fully-assembled
Compatible with all 40-pin header Raspberry Pi models
Pinout
Python library
Citizen science air quality monitoring
This board was developed in collaboration with the University of Sheffield, with the aim of letting you contribute real-time air quality data from your local area to open data projects like Luftdaten.
Devices like Enviro+ allow fine-grained, detailed datasets that let us see shifts in air quality through time and across different areas of cities. The dataset gets better in quality every time an additional The more devices that contribute data, the better quality the dataset becomes.
Particulate matter (PM) is made up of tiny particles that are a mix of sizes and types, like dust, pollen, mould spores, smoke particles, organic particles and metal ions, and more. Particulates are much of what we think of as air pollution.
The analog gas sensor can be used to make qualitative measurements of changes in gas concentrations, so you can tell broadly if the three groups of gases are increasing or decreasing in abundance. Without laboratory conditions or calibration, you won't be able to say 'the concentration of carbon monoxide is n parts per million', for example.
Temperature, air pressure and humidity can all affect particulate levels (and the gas sensor readings) too, so the BME280 sensor on Enviro+ is really important to understanding the other data that Enviro+ outputs.
You can implement Enviro+ in IoT applications as well. By connection it to Alexa you can get information about the temperature and humidity of the air by simply asking, or there's also an option to set up a trigger action with IFTTT that turns your Philips Hue lights on when the light level drops below a certain level etc.
Software
With the Python library you can control control all the parts of your Enviro+. There's a bunch of examples for each of the individual parts, an all-in-one example that shows you the data from Enviro+'s sensors in a visual way.