Dit boek gaat over de Raspberry Pi, en over het programmeren in C. De programmeertaal C en het besturingssysteem Linux (Raspbian) passen uitstekend bij elkaar. Alles wat we nodig hebben om in C te programmeren wordt meegeleverd met het besturingssysteem van de Raspberry Pi.
In dit boek leert u hoe C gebruikt wordt met de Raspberry Pi, en krijgt u een overzicht van de taal.
WiringPi is een softwarebibliotheek voor de Raspberry Pi waarmee C hardware-uitbreidingen kan benaderen. Die bibliotheek wordt gebruikt om sensoren uit te lezen en om extra hardware aan te sturen. U gaat experimenteren met LED’s en schakelaars, met motoren, met geluid en met sensoren voor temperatuur, luchtdruk, en luchtvochtigheid.
Met een Linux-systeem kunt u een webserver maken, inclusief interactieve websites met PHP en WiringPi. Daarom is ook een beknopt overzicht van HTML en PHP in het boek opgenomen. In de voorbeelden worden sensoren via het web uitgelezen en worden apparaten bestuurd. In het laatste voorbeeld wordt een temperatuurlogger gemaakt. Die meet elk kwartier de temperatuur. Een tabel met de meetwaarden kan via het web worden uitgelezen.
Alle voorbeeldprogramma’s kunnen worden gedownload van de website van Elektor.
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !Pas encore membre ? Cliquez ici.Le haut de gamme au cœur du labo ElektorAmplificateur haut de gamme Fortissimo-100Étage de sortie audio entièrement symétrique avec 100/190 WVérification de la fréquence des quartz et des circuits accordésAstuces, bonnes pratiques et autres informations utilestrucs et astuces pour circuits impriméssouder - et alors ?un regard approfondi sur la technologie de soudage modernecommande de porte de garage par Bluetooth à réponse rapideOuvrez votre porte avec votre smartphonecontrôleur de diode idéalecircuits à diodes à faible dissipation de puissanceguirlandes de LED avec ESP32 et FreeRTOSclignotantes et scintillantesdémarrer en électronique...avec plaisir, on continue avec les Zenerrécepteur FM/DAB+le meilleur des deux mondessur le vifElectronica Obscuraprocédé sans fil de débogage de micrologicielsTampon circulaire et serveur web sur l'ESP32Le COVID-19 a-t-il donné un coup de fouet à l'innovation en ingénierie ?Composants et solutions innovants de 2022Ersa i-CON TRACE – la station de soudage connectée pour professionnelsInfographiquesqu'allons-nous faire de toute cette informatique ?Comment piloter l'afficheur E-Paper d'Ynvisibleinnovation de tous les instants chez InnoFaithentretien avec Walter Arkesteijnautomatisation industriellerétrofit IdO facile et évolutifQt pour le Raspberry Piguide pas à pas pour la configuration du framework d'interface graphique utilisateurLes connecteurs linéaires ultra-plats facilitent la gestion de données multi-signauxintelligents - innovants - rentablesles FPGA GateMate conçus et fabriqués en Allemagnedes outils pour soutenir le développement de capteurs à faible coûtfusible réarmable CTPdrôle de composant, la sérieSortie analogique isolée pour Arduino Unovisite à domicile… Découvre le Thérémineelectronica fast forward 2022 — une initiative d'Elektoréquipe et calendrierradiogoniométrieretrouver les capteurs météo sans fil égarésestimer le bruit interne d'un circuit intégréméthode simpleQuestions d'éthiqueInitié par le WEEFÉthique et profit, un mariage de raisonEntretien avec le professeur Stefan Heinemannl'index WEEF 2023logiciel de calcul de filtresOutils de conception de filtres analogiquesÉteins-moi cette télé !avec TV-B-GoneMesure de la qualité de l'air avec le RP2040elekterminalInitiation à Python 3extrait du chapitre : bibliothèque Wand et traitement numérique des imagesSOLARPUNKun avenir prometteurHexadoku
Developing CoAP applications for Thread networks with Zephyr
This book will guide you through the operation of Thread, the setup of a Thread network, and the creation of your own Zephyr-based OpenThread applications to use it. You’ll acquire knowledge on:
The capture of network packets on Thread networks using Wireshark and the nRF Sniffer for 802.15.4.
Network simulation with the OpenThread Network Simulator.
Connecting a Thread network to a non-Thread network using a Thread Border Router.
The basics of Thread networking, including device roles and types, as well as the diverse types of unicast and multicast IPv6 addresses used in a Thread network.
The mechanisms behind network discovery, DNS queries, NAT64, and multicast addresses.
The process of joining a Thread network using network commissioning.
CoAP servers and clients and their OpenThread API.
Service registration and discovery.
Securing CoAP messages with DTLS, using a pre-shared key or X.509 certificates.
Investigating and optimizing a Thread device’s power consumption.
Once you‘ve set up a Thread network with some devices and tried connecting and disconnecting them, you’ll have gained a good insight into the functionality of a Thread network, including its self-healing capabilities. After you’ve experimented with all code examples in this book, you’ll also have gained useful programming experience using the OpenThread API and CoAP.
INTERFACE AUDIO USB-S/PDIFsortie audio numérique pour ordinateur, ordinateur portable, tablette etc.MULTITÂCHE EN PRATIQUE AVEC L'ESP32 (4)Sémaphores binairesCAPTEUR DE TEMPÉRATURE SANS FIL POUR LE THERMOMÈTRE À BARGRAPHE NIXIESolution polyvalente avec astuce de conceptionMULTITÂCHE AVEC RASPBERRY PISavoir-faire : commande de feux de circulationMINUTERIE POUR AMPLI DE CASQUESTATION MÉTÉO EN RÉSEAU OUVERT V.22ème partie : LogicielLA DOMOTIQUE, C'EST FACILE AVEC…ESPHome, Home Assistant et MySensorsLE TUBE CATHODIQUE DE STOCKAGEDrôle de composantINTELLIGENCE ARTIFICIELLE POUR DÉBUTANTS (3)Créez votre propre réseau de neuronesPROGRAMMER LES PIC – À PETITS PASproduire des sinus en assembleurBIDOUILLER UNE LAMPE IKEAAméliorer une lampe IKEA bon marché avec des LED NeoPixel et une interface WLANN'ABANDONNEZ PLUS VOS PROJETS, GÉREZ-LES AVEC RIGUEUR ET PLAISIRGestion du temps disponible et conception en spiraleDÉMARRER EN ÉLECTRONIQUE (4)…est moins difficile qu'on ne l'imagine !OHM SUITE OHMmachine de phonogravure faite maison8 BITS ET AU-DELÀEntretien avec Tam HannaRETOUR DES PETITS CIRCUITSuit de ideeënbus van ElektorBANC D'ESSAI : MULTIMÈTRE OWON OW18E AVEC BLUETOOTHÉLECTRONIQUE INTERACTIVECorrections & mises à jour || Questions & réponsesEXPÉRIENCE VÉCUESoudage sans plomb et zèle réglementaire de l'UEPROJET PROMETTEUR : NOUVEAU LCR-MÈTRE 50 HZ – 2 MHZPrécision et confort de mesureERREURS FÉCONDESLes seules vraies erreurs sont celles dont personne ne tire aucune leçonBUREAU D'ÉTUDES – ZONE DD comme développement, débrouille et dur-à-cuire ! Trucs et astuces, bonnes pratiques et autres informations utilesBANC D'ESSAI : CHARGE ÉLECTRONIQUE SDL1020X-EALIMENTATION HAUTE TENSION AVEC TRACEUR DE COURBESDes tensions régulées jusqu'à 400 V & des courbes caractéristiques de tubesHEXADOKUcasse-tête pour elektorniciensCONCEPTION DE FILTRES ANALOGIQUES (1ÈRE PARTIE)Étude de cas nº2 – 1 : la théorie du filtrage analogiqueDESSINE-MOI UN SCHÉMAEasyEDA
L'ESP8266 d'Espressif est une puce Wi-Fi dotée d'une pile TCP/IP complète et d'une capacité de microcontrôleur. Il a fait des vagues dans la communauté des fabricants grâce à son prix bas.
Mais de nombreux développeurs étaient mécontents de la consommation électrique élevée de l'ESP8266. L'ESP32, équipé d'un coprocesseur ULP (Ultra Low Power), propose un remède à cela.
Cet e-book présente un certain nombre de projets mettant en vedette ESP32 et ESP8266 et démontre leurs performances dans différentes applications.
Des articles
Journal lumineux défiant512 pilotes LED pour Wi-Fi dotés d'un ESP-12F
Regarder avec VFD et ESP32À la précision d'Internet
L'ESP32 est idéal pour la consommationProgrammation du coprocesseur ULP
Adaptateur de programmation USB pour ESP8266Dans la famille Espressif, je voudrais l'ESP-01 et l'ESP-012
Émulateur DCF77 à ESP8266Des ondes radio à l'internet
Thermostat sur le bureau WiFiSurveillance de la température flexible et programmable
Minutes pour le thermostat du bureau WiFiSept canaux de temporisation d'une précision atomique
Coûteau suisse pour microcontrôleursPlatformIO, un outil de programmation universel
Station Météo NucleoInformations mises à jour sur l'affichage sur l'écran LCD
AllerNotifierUne interface flexible pour les captureurs d'IdO
Regarder RGBChiffreAffiche avec 7 segments et couleur
ESP32 pour les utilitaires exigeantsProgrammation avec les outils d'origine
Mutation de l'ESP8266Découvrons l'ESP32 avec l'EDI d'Arduino
MicroPythonLe Python des petits systèmes
MicroPython et PyBoardLa LED qui clignote…Au serveur web qui fait clignoter une LED
Machine de surveillance pour ESP8266Domotique pour la transition énergétique
WLAN compact et autonomeOu comment utiliser la puce ESP8266 sans µC
ESP8266 sur la carte d'entrées/sorties AndroidLancez-vous dans la mise à jour du micrologiciel
WLAN pour microcontrôleursAvec la puce ESP8266
Carte de commande Wi-Fi : le retourRelies des objets à votre ordiphone
Het boek “Sensoren aan de Raspberry Pi” richt zich tot iedereen die zich wil verdiepen in een Raspberry Pi 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 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.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
OBD2-sensordashboardOude meters vormden het startpunt van een zoektocht naar echte gegevens
OBD2: voeg een toerenteller en schakelindicator toe aan je autoRetro, maar uiterst nuttig
LiDAR- en Visiesensoren voor Robotica
Sensor+Test 2025 en PCIM 2025
Contactloze E-Veldmetingen (1)Een Trillende Membraan voor het Detecteren van Gelijkspanningen of Statische Elektrische Velden
Draadloze brievenbusmeldervan optische sensoren tot radar: enkele mogelijkheden
Elektor Mini-Wheelieeen zelfbalancerende robot
ZonnecellenVreemde onderdelen, de serie
Aan de slag met een moderne radarsensorStaat een nauwkeurige meting op uw radar?
Uit het leven gegrepenpapierfabriek
CybersecurityZware tijden voor hackers
Infographics: IoT en sensoren 2025
Bluetooth 6.0 brengt verbeterde toepassingen voor afstandsbepalingNieuwe versie biedt betere apparaatpositionerings- en -locatieservices
Draadloze communicatie verkennen met BeagleY-AI
Err-lectronicsCorrecties, updates en lezerspost
Alle begin......sluit het thema opamps af
Een krachtige AI-codeerassistentsneller ontwikkelen met Continue en Visual Studio Code
Zonne-laadregelaar met MPPT (2)Het schema
Ultrasone obstakeldetectoreen eenvoudig project om slechtzienden te helpen
2025: Een AI-odysseeHalfjaaroverzicht
Raspberry Pi Standalone MIDI-synthesizer (3)Het slimmer maken en een gebruikersinterface toevoegen
Meshtastic: een demonstratieprojectEen slim netwerk van LoRa-radio's
Analoge audio-frequentiegeneratorHoogwaardige sinusgenerator met instelbare frequentie
Developing CoAP applications for Thread networks with Zephyr
This book will guide you through the operation of Thread, the setup of a Thread network, and the creation of your own Zephyr-based OpenThread applications to use it. You’ll acquire knowledge on:
The capture of network packets on Thread networks using Wireshark and the nRF Sniffer for 802.15.4.
Network simulation with the OpenThread Network Simulator.
Connecting a Thread network to a non-Thread network using a Thread Border Router.
The basics of Thread networking, including device roles and types, as well as the diverse types of unicast and multicast IPv6 addresses used in a Thread network.
The mechanisms behind network discovery, DNS queries, NAT64, and multicast addresses.
The process of joining a Thread network using network commissioning.
CoAP servers and clients and their OpenThread API.
Service registration and discovery.
Securing CoAP messages with DTLS, using a pre-shared key or X.509 certificates.
Investigating and optimizing a Thread device’s power consumption.
Once you‘ve set up a Thread network with some devices and tried connecting and disconnecting them, you’ll have gained a good insight into the functionality of a Thread network, including its self-healing capabilities. After you’ve experimented with all code examples in this book, you’ll also have gained useful programming experience using the OpenThread API and CoAP.
De Formula Flowcode Robot is een combinatie van analoge en digitale elektronica. De robot zit boordevol sensoren en actuatoren, en is grafisch programmeerbaar met Flowcode-software. Hierdoor vormt het een leuk en motiverend platform om kennis te maken met moderne elektronica en technologie.
Via de robot en deze handleiding kun je op uitdagende manier kennis maken met basiselektronica. Onderwerpen die aan bod komen zijn analoog en digitaal, logische poorten, diode, LCD, microcontrollers, frequentie, sensoren, actuatoren, infrarood, meet- en regeltechniek, servomotoren, gelijkrichting, programmeren en nog veel meer.
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.
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !Pas encore membre ? Cliquez ici.Arduino Portenta Machine Control et Arduino Portenta H7démonstration avec une passerelle CAN vers MQTTle kit LCR-mètre 2 MHz d'Elektorrejoignez David Cuartielles, cofondateur d'Arduino, en direct !MicroPython entre dans le monde de l'ArduinoLes projets connectés simplifiésPlongez dans l'Arduino CloudIntroduction à TinyMLPlus gros n'est pas toujours mieuxArduino K-Wayl'écriture des croquis Arduino en net progrèsArduino en questionsdébuter avec le Portenta X8gestion sécurisée des logiciels avec les conteneurscréez, déployez et maintenez des applications évolutives et sécuriséesavec Arduino Portenta X8 équipé du mini processeur d'applications i.MX 8M de NXP et de l'élément de sécurité EdgeLock SE050comment j'ai automatisé ma maisonFabio Violante, PDG d'Arduino, partage ses solutionssimulateur Altair 8800simulation matérielle d'un ordinateur ancienMS-DOS sur le Portenta H7exécuter des logiciels old-school sur du matériel modernecultivez-le vous-mêmeune jardinière numérique d'intérieur tout-en-unSauver la planète avec la domotique ?MQTT sur l'Arduino Nano RP2040 Connectdevenez professionnel avec Arduino Proles fours intelligents font un bond dans le futurTagvance conçoit des chantiers de construction plus sûrs avec ArduinoSantagostino respire facilementavec une surveillance à distance qui tire parti de l'IA pour une maintenance prédictivela sécurité atteint des sommets avec la solution basée sur les cartes MKR de RIoT Securel'open-source apporte au monde du progrès dans la gestion de l'eauSensoDétecter la déforestation grâce à l'analyse sonoreBibliothèque Mozzi Arduino pour la synthèse sonoreLe point de vue de Tim Barrassles nouveaux Portenta X8 (avec Linux !) et Max Carrier redéfinissent le champ des possiblescomment l'utilisation d'Arduino aide les étudiants à acquérir des compétences futuresBien s'équiper pour mieux travaillerl'importance de la robotique dans l'enseignementLoRa fiabilise l'IdOla carte Portenta Machine control en détailrétro-gaming avec Arduboyréduire l'utilisation de l'eau sur les pistes d'équitationun IdO pour surveiller en permanence les niveaux d'humidité et de température du solle projet Panettonesystème de gestion et de maintien d'un ferment au levainSupporting Arduino ResellersSpace Invaders avec Arduinocréation artistique dans l'environnement Arduinodes idées inspirantes d'artistes et de designersArduino Product CatalogueL'avenir de l'Arduino
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Relio v1.0 - Presence Detection and Remote ControlA Matter-Enabled Smart Controller for AC Appliances
Designing Better PCBsA Practical Guide for Professionals and Makers
KiCad 9Top New and Updated Features
Precision Picoammeter (1)With Curve Tracer Functionality Down to the pA range!
Christmas Star 2025A Star Is Soldered
100 mV Continuity Tester
Who’s Pushing the Boundaries of European Electronics?Companies to Watch
productronica 2025: What’s New in Electronics Development and Production
Automation to Tackle Reshoring Manufacturing, Tariffs and Labour Shortages
Beyond Future ProofCircularity in Electronics
Passive ComponentsLow-Loss Inductors Enabling High-Efficiency DC/DC Converters
How Desktop Manufacturing Machines Are Democratizing PCB Production
Starting Out in Electronics...Needs Power
UHD Displays Driven with EaseYour Guide to Easily Put Various TFT-LCDs Into Operation Quickly
Soldering in 2025Practical Soldering Tips Straight from the Workbench
SimulIDEAn All-in-One Tool for Circuit Prototyping
2025: An AI OdysseyFrom Autocomplete to Colleague
Wordy Christmas TreeA Festive Electronics Project with a Linguistic Twist
Err-lectronicsCorrections, Updates, and Readers’ Letters
Analog Pipeline DistortionA Cool Audio Effect For Guitars and Other Instruments
ESP32 Audio Transceiver Board (Part 3)Stereo Transmission and Dual Radio