35 projecten met Raspberry Pi en wireless Arduino
Internet of Things (alles aan het internet) is een trend die zich niet meer laat keren. We willen alles in huis met onze mobiel of tablet doen, van Facebook tot TV kijken, van lichten bedienen tot de temperatuur in de gaten houden.
In dit boek laten we in 35 leuke en handige projecten zien hoe u op eenvoudige wijze zelf een Internet of Things systeem kunt aanleggen. We gaan in op de hardware (de perfecte combinatie van Raspberry Pi en Arduino) en de software om bediening via internet mogelijk te maken.
We maken gebruik van Wi-Fi en radioverbindingen zodat er geen kabels dwars door uw huis hoeven. Wanneer u deze projecten maakt heeft u een compleet Internet of Things systeem waarmee u van alles in uw huis kunt bedienen en bekijken. Bijvoorbeeld of er post in de brievenbus ligt en of de auto in de garage staat. U kunt op vanaf de bank het licht aandoen en het alarm bedienen. Door de heldere uitleg kunt u de projecten eenvoudig aanpassen om bijvoorbeeld uw koffiezetautomaat of tv op afstand aan te zetten. Via de index vindt u gemakkelijk creatieve projecten die als voorbeeld kunnen dienen, zodat u zelfstandig alles met het internet kunt verbinden.
The Internet of Things (IoT) is a new concept in intelligent automation and intelligent monitoring using the Internet as the communications medium. The “Things” in IoT usually refer to devices that have unique identifiers and are connected to the Internet to exchange information with each other. Such devices usually have sensors and/or actuators that can be used to collect data about their environments and to monitor and control their environments. The collected data can be processed locally or it can be sent to centralized servers or to the cloud for remote storage and processing. For example, a small device at the size of a matchbox can be used to collect data about the temperature, relative humidity and the atmospheric pressure. This data can be sent and stored in the cloud. Anyone with a mobile device can then access and monitor this data at any time and from anywhere on Earth provided there is Internet connectivity. In addition, users can for example, adjust the central heating remotely using their mobile devices and accessing the cloud.
This book is written for students, for practising engineers and for hobbyists who want to learn more about the building blocks of an IoT system and also learn how to setup an IoT system using these blocks.
Chapter 1 is an introduction to the IoT systems. In Chapter 2, the basic concepts and possible IoT architectures are discussed. The important parts of any IoT system are the sensors and actuators and they are described briefly in Chapter 3. The devices in an IoT system usually communicate with each other and the important aspect of IoT communication is covered in Chapter 4. Chapter 5 proceeds with the features of some of the commonly used development kits. One of these, the Clicker 2 for PIC18FJ manufactured by mikroElektronika, can be used as a processor in IoT systems and its features are described in detail in Chapter 6. A popular microcontroller C language, mikroC Pro for PIC gets introduced in Chapter 7. Chapter 8 covers the use of a click board with the Clicker 2 for PIC18FJ development kit. Similarly, the use of a sensor click board is described as a project in Chapter 9, and an actuator board in Chapter 10. Chapters 11 and 12 cover Bluetooth and Wi-Fi technologies in microcontroller based systems, and the remaining chapters of the book demo the creation of a simple Wi-Fi based IoT system with cloud-based data storage.
This book has been written with the assumption that the reader has taken a course on digital logic design and has been exposed to writing programs using at least one high-level programming language. Knowledge of the C programming language will be very useful. Also, familiarity with at least one member of the PIC series of microcontrollers (e.g. PIC16 or PIC18) will be an advantage. The knowledge of assembly language programming is not required because all the projects in the book are based on using the C language. If you are a total beginner in programming you can still access the e-book, but first you are advised to study introductory books on microcontrollers.
Meer dan 180 projecten met Raspberry Pi, Pico W Arduino en ESP32
Deze bundel bevat de Universal Maker Sensor Kit, die bestaat uit veel sensoren, actuatoren, displays en motoren. Het is perfect voor omgevingsbewaking, smart home-projecten, robotica en gamecontrollers.
Het nieuwe Elektor-boek beschrijft het ontwerp van veel projecten met behulp van de kit samen met de populaire Raspberry Pi, Raspberry Pi Pico W, Arduino Uno en de ESP32-familie van ontwikkelborden. U kunt elk van deze ontwikkelborden voor uw projecten kiezen en de meegeleverde programma's gebruiken zoals ze zijn, of deze programma's aanpassen aan uw toepassingen.
Deze bundel bevat:
Boek: Universal Maker Sensor Kit (normale prijs: € 45)
Universal Maker Sensor Kit (Raspberry Pi, Pico W, Arduino, ESP32) (normale prijs: € 70)
Raspberry Pi Pico 2 W (normale prijs: € 8)
Boek: Universal Maker Sensor Kit
Leer meer dan 35 sensoren en actuatoren te gebruiken met C++, Python en MicroPython
Dit boek bevat meer dan 180 projecten voor alle vier de grote ontwikkelborden (Raspberry Pi, Pico W Arduino en ESP32). Afhankelijk van het ontwikkelbord zijn projecten beschikbaar in de programmeertalen C, Python of MicroPython.
De projecttitels, korte beschrijvingen, bedradingsschema's en volledige programmalijsten, samen met de gedetailleerde beschrijvingen, zijn in het boek opgenomen.
Universal Maker Sensor Kit (Raspberry Pi, Pico W, Arduino, ESP32)
Ontdek eindeloze creativiteit met de Universal Maker Sensor Kit, ontworpen voor gebruik met Raspberry Pi, Pico W, Arduino en ESP32. Deze veelzijdige kit biedt compatibiliteit met populaire ontwikkelingsplatforms, waaronder Arduino Uno R4 Minima/WiFi, Uno R3, Mega 2560, Raspberry Pi 5, 4, 3B+, 3B, Zero, Pico W en ESP32.
Met meer dan 35 sensoren, actuatoren en displays is het perfect voor projecten variërend van omgevingsmonitoring en slimme huisautomatisering tot robotica en interactief gamen. Stapsgewijze tutorials in C/C++, Python en MicroPython begeleiden zowel beginners als ervaren makers door 169 spannende projecten.
Kenmerken
Brede compatibiliteit: Ondersteunt volledig Arduino (Uno R3, Uno R4 Minima/WiFi, Mega 2560), Raspberry Pi (5, 4, 3B+, 3B, Zero, Pico W) en ESP32, wat uitgebreide flexibiliteit op verschillende ontwikkelingsplatforms mogelijk maakt. Bevat instructies voor het bouwen van 169 projecten.
Uitgebreide componenten: Bevat meer dan 35 sensoren, actuatoren en displaymodules die geschikt zijn voor uiteenlopende projecten zoals omgevingsbewaking, slimme huisautomatisering, robotica en interactieve gamecontrollers.
Gedetailleerde tutorials: Biedt duidelijke, stapsgewijze tutorials over Arduino, Raspberry Pi, Pico W, ESP32 en elk inbegrepen component. Tutorials zijn beschikbaar in C/C++, Python en MicroPython, en zijn effectief afgestemd op zowel beginners als ervaren makers.
Geschikt voor alle vaardigheidsniveaus: Biedt gestructureerde projecten die zijn ontworpen om gebruikers naadloos te begeleiden van beginners tot gevorderden in elektronica en programmeren, wat de creativiteit en technische expertise vergroot.
Kit bevat
Breadboard
Knopmodule
Capacitieve bodemvochtigheidsmodule
Vlamsensormodule
Gas-/rooksensormodule (MQ2)
Gyroscoop & Accelerometermodule (MPU6050)
Hall-sensormodule
Infraroodsnelheidssensormodule
IR-obstakelvermijdingssensormodule
Joystickmodule
PCF8591 ADC DAC-convertermodule
Fotoweerstandsmodule
PIR-bewegingsmodule (HC-SR501)
Potentiometermodule
Pulsoximeter- en hartslagsensormodule (MAX30102)
Regendruppeldetectiemodule
Realtimeklokmodule (DS1302)
Rotary Encoder-module
Temperatuursensormodule (DS18B20)
Temperatuur- en vochtigheidssensormodule (DHT11)
Temperatuur, vochtigheid en Druksensor (BMP280)
Time of Flight Micro-LIDAR afstandssensor (VL53L0X)
Touch Sensor Module
Ultrasone sensormodule (HC-SR04)
Trillingssensormodule (SW-420)
Waterniveausensormodule
I²C LCD 1602
OLED-displaymodule (SSD1306)
RGB LED-module
Verkeerslichtmodule
5 V relaismodule
Centrifugaalpomp
L9110 motordrivermodule
Passieve zoemermodule
Servomotor (SG90)
TT Motor
ESP8266-module
JDY-31 Bluetooth-module
Voedingsmodule
Documentatie
Online Tutorial
Ontdek eindeloze creativiteit met de Universal Maker Sensor Kit, ontworpen voor gebruik met Raspberry Pi, Pico W, Arduino en ESP32. Deze veelzijdige kit biedt compatibiliteit met populaire ontwikkelingsplatforms, waaronder Arduino Uno R4 Minima/WiFi, Uno R3, Mega 2560, Raspberry Pi 5, 4, 3B+, 3B, Zero, Pico W en ESP32.
Met meer dan 35 sensoren, actuatoren en displays is het perfect voor projecten variërend van omgevingsmonitoring en slimme huisautomatisering tot robotica en interactief gamen. Stapsgewijze tutorials in C/C++, Python en MicroPython begeleiden zowel beginners als ervaren makers door 169 spannende projecten.
Kenmerken
Brede compatibiliteit: Ondersteunt volledig Arduino (Uno R3, Uno R4 Minima/WiFi, Mega 2560), Raspberry Pi (5, 4, 3B+, 3B, Zero, Pico W) en ESP32, wat uitgebreide flexibiliteit op verschillende ontwikkelingsplatforms mogelijk maakt. Bevat instructies voor het bouwen van 169 projecten.
Uitgebreide componenten: Bevat meer dan 35 sensoren, actuatoren en displaymodules die geschikt zijn voor uiteenlopende projecten zoals omgevingsbewaking, slimme huisautomatisering, robotica en interactieve gamecontrollers.
Gedetailleerde tutorials: Biedt duidelijke, stapsgewijze tutorials over Arduino, Raspberry Pi, Pico W, ESP32 en elk inbegrepen component. Tutorials zijn beschikbaar in C/C++, Python en MicroPython, en zijn effectief afgestemd op zowel beginners als ervaren makers.
Geschikt voor alle vaardigheidsniveaus: Biedt gestructureerde projecten die zijn ontworpen om gebruikers naadloos te begeleiden van beginners tot gevorderden in elektronica en programmeren, wat de creativiteit en technische expertise vergroot.
Inbegrepen
Breadboard
Knopmodule
Capacitieve bodemvochtigheidsmodule
Vlamsensormodule
Gas-/rooksensormodule (MQ2)
Gyroscoop & Accelerometermodule (MPU6050)
Hall-sensormodule
Infraroodsnelheidssensormodule
IR-obstakelvermijdingssensormodule
Joystickmodule
PCF8591 ADC DAC-convertermodule
Fotoweerstandsmodule
PIR-bewegingsmodule (HC-SR501)
Potentiometermodule
Pulsoximeter- en hartslagsensormodule (MAX30102)
Regendruppeldetectiemodule
Realtimeklokmodule (DS1302)
Rotary Encoder-module
Temperatuursensormodule (DS18B20)
Temperatuur- en vochtigheidssensormodule (DHT11)
Temperatuur, vochtigheid en Druksensor (BMP280)
Time of Flight Micro-LIDAR afstandssensor (VL53L0X)
Touch Sensor Module
Ultrasone sensormodule (HC-SR04)
Trillingssensormodule (SW-420)
Waterniveausensormodule
I²C LCD 1602
OLED-displaymodule (SSD1306)
RGB LED-module
Verkeerslichtmodule
5 V relaismodule
Centrifugaalpomp
L9110 motordrivermodule
Passieve zoemermodule
Servomotor (SG90)
TT Motor
ESP8266-module
JDY-31 Bluetooth-module
Voedingsmodule
Documentatie
Online Tutorial
Maker Line is een lijnsensor met 5 x IR sensoren array die in staat is om lijnen te volgen van 13 mm tot 30 mm breedte.
De sensor calibratie is ook vereenvoudigd. Het is niet nodig om de potentiometer voor elke IR sensor aan te passen. U hoeft alleen maar de calibrate knop gedurende 2 seconden in te drukken om de calibratie modus te openen. Daarna moet u de sensoren over de lijn laten vegen, nogmaals op de knop drukken en u bent klaar om te gaan.
De kalibratiegegevens worden opgeslagen in EEPROM en deze blijven intact, zelfs als de sensor is uitgeschakeld. Kalibratie hoeft dus maar één keer te worden uitgevoerd, tenzij de sensorhoogte, lijnkleur of achtergrondkleur is veranderd.
Maker Line ondersteunt ook dubbele uitgangen: 5 x digitale uitgangen voor de status van elke sensor onafhankelijk, wat vergelijkbaar is met conventionele IR-sensor, maar u krijgt het voordeel van eenvoudige kalibratie, en ook een analoge uitgang, waar de spanning de lijnpositie vertegenwoordigt. De analoge uitgang biedt ook een hogere resolutie in vergelijking met afzonderlijke digitale uitgangen. Dit is vooral nuttig wanneer een hoge nauwkeurigheid vereist is bij het bouwen van een lijnvolgende robot met PID regeling.
Kenmerken
Bedrijfsspanning: DC 3,3 V en 5 V compatibel (met omgekeerde polariteitsbeveiliging)
Aanbevolen lijndikte: 13 mm tot 30 mm
Selecteerbare lijnkleur (licht of donker)
Sensor afstand (hoogte): 4 mm tot 40 mm (Vcc = 5 V, zwarte lijn op wit oppervlak)
Sensor Vernieuwingsfrequentie: 200 Hz
Eenvoudig kalibratieproces
Dubbele uitgangstypen: 5 x digitale uitgangen vertegenwoordigen elke IR-sensor staat, 1 x analoge uitgang vertegenwoordigt lijn positie.
Ondersteunt een breed scala aan controllers, zoals Arduino, Raspberry Pi etc.
Downloads
Datasheet
Tutorial: Een goedkope lijnvolgende robot bouwen
The Maker pHAT is the solution to the most common problems beginners face starting with Raspberry PI. Its intelligent and simple design makes it easy to attach to your Pi, and it helps you avoid all the tedious work of connection various other accessories. Additionally, the LEDs corresponding to each pin makes it extremely easy to see where a potential problem lies
The Maker pHat has the same size as the Raspberry Pi Zero with all 4mounting holes aligned. However, it can be used with Raspberry Pi 3B, 3B+ and 3A+, by inserting a 2 x 20 stacking header.
Kenmerken
Raspberry Pi Zero size, stack perfectly on to Raspberry Pi Zero
Compatible with standard size Raspberry Pi 3B / 3B+, medium size Raspberry Pi 3A+ and smaller size Raspberry Pi Zero / W / WH.
Standard Raspberry Pi GPIO footprint.
LED array for selected GPIO pins (GPIO 17, 18, 27, 22, 25, 12, 13, 19).
3x on board programmable push buttons (GPIO 21, 19 and 20, need to configure as input pull up).
Onboard active buzzer (GPIO 26).
Proper labels for all GPIOs, including SPI, UART, I2C, 5V, 3.3V, and GND.
Utilize USB Micro-B socket for 5V input and USB to UART communication.
USB serial facilitated by the FT231X
Input voltage: USB 5 V, from a computer, power bank or a standard USB adapter.
Add colors to your projects with this collection of red, green, yellow, blue and white LEDs. They come with various current limiting resistors in order to protect the parts and control the brightness.Included
10 mm LEDs
1x red
1x green
1x yellow
1x blue
1x white
5 mm LEDs
5x red
5x green
5x yellow
5x blue
5x white
3 mm LEDs
5x red
5x green
5x yellow
5x blue
5x white
25x 330 Ω resistors
10x 1 kΩ resistors
10x 10 kΩ resistors
10x 100 kΩ resistors
10x 1 MΩ resistors
The SparkFun Thing Plus Matter is the first easily accessible board of its kind that combines Matter and SparkFun’s Qwiic ecosystem for agile development and prototyping of Matter-based IoT devices. The MGM240P wireless module from Silicon Labs provides secure connectivity for both 802.15.4 with Mesh communication (Thread) and Bluetooth Low Energy 5.3 protocols. The module comes ready for integration into Silicon Labs' Matter IoT protocol for home automation.
What is Matter? Simply put, Matter allows for consistent operation between smart home devices and IoT platforms without an Internet connection, even from different providers. In doing so, Matter is able to communicate between major IoT ecosystems in order to create a single wireless protocol that is easy, reliable, and secure to use.
The Thing Plus Matter (MGM240P) includes Qwiic and LiPo battery connectors, and multiple GPIO pins capable of complete multiplexing through software. The board also features the MCP73831 single-cell LiPo charger as well as the MAX17048 fuel gauge to charge and monitor a connected battery. Lastly, a µSD card slot for any external memory needs is integrated.
The MGM240P wireless module is built around the EFR32MG24 Wireless SoC with a 32-bit ARM Cortext-M33 core processor running at 39 MHz with 1536 kb Flash memory and 256 kb RAM. The MGM240P works with common 802.15.4 wireless protocols (Matter, ZigBee, and OpenThread) as well as Bluetooth Low Energy 5.3. The MGM240P supports Silicon Labs' Secure Vault for Thread applications.
Specifications
MGM240P Wireless Module
Built around the EFR32MG24 Wireless SoC
32-bit ARM-M33 Core Processor (@ 39 MHz)
1536 kB Flash Memory
256 kB RAM
Supports Multiple 802.15.4 Wireless Protocols (ZigBee and OpenThread)
Bluetooth Low Energy 5.3
Matter-ready
Secure Vault Support
Built-in Antenna
Thing Plus Form-Factor (Feather-compatible):
Dimensions: 5.8 x 2.3 cm (2.30 x 0.9")
2 Mounting Holes:
4-40 screw compatible
21 GPIO PTH Breakouts
All pins have complete multiplexing capability through software
SPI, I²C and UART interfaces mapped by default to labeled pins
13 GPIO (6 labeled as Analog, 7 labeled for GPIO)
All function as either GPIO or Analog
Built-in-Digital to Analog Converter (DAC)
USB-C Connector
2-Pin JST LiPo Battery Connector for a LiPo Battery (not included)
4-Pin JST Qwiic Connector
MC73831 Single-Cell LiPo Charger
Configurable charge rate (500 mA Default, 100 mA Alternate)
MAX17048 Single-Cell LiPo Fuel Gauge
µSD Card Slot
Low Power Consumption (15 µA when MGM240P is in Low Power Mode)
LEDs:
PWR – Red Power LED
CHG – Yellow battery charging status LED
STAT – Blue status LED
Reset Button:
Physical push-button
Reset signal can be tied to A0 to enable use as a peripheral device
Downloads
Schematic
Eagle Files
Board Dimensions
Hookup Guide
Datasheet (MGM240P)
Fritzing Part
Thing+ Comparison Guide
Qwiic Info Page
GitHub Hardware Repo
,
van Clemens Valens
Detecteer straling met de MightyOhm Geiger Counter Kit
De MightyOhm Geiger Counter is een apparaat voor het detecteren en meten van bèta- en gammastraling. Omdat straling zo schadelijk is, wilt u misschien wel...
,
van Lobna Belarbi
Affordable Robot Kits to Kickstart Your Robotics Journey
Robotics is an exciting and rewarding field, but getting started can be intimidating—especially when it comes to choosing the right kit. Fortunately, Elektor offers a...
,
van Udo Bormann
Electronics Projects Archive for Engineers, Makers & Education
Access thousands of electronics projects, Arduino tutorials, audio designs, and power supply circuits with Elektor Classics USB sticks. Designed for younger engineers, university professors, electronics educators,...