Search results for "coding or modbus or tcp or ip or for or arduino"
-
Elektor Publishing FreeRTOS for ESP32-Arduino
Practical Multitasking Fundamentals Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation? Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs. Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher. Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project. What you will learn: How preemptive scheduling works within FreeRTOS The Arduino startup “loopTask” Message queues FreeRTOS timers and the IDLE task The semaphore, mutex, and their differences The mailbox and its application Real-time task priorities and its effect Interrupt interaction and use with FreeRTOS Queue sets Notifying tasks with events Event groups Critical sections Task local storage The gatekeeper task
€ 49,95
Members: € 44,96
-
Elektor Academy Pro Raspberry Pi Pico with MicroPython (Programming Course)
This complete Raspberry Pi Pico microcontroller programming course features a textbook, a component kit, hands-on projects, and a comprehensive online course with simulations. It is ideal for step-by-step learning of embedded systems programming in MicroPython using a practical, hands-on approach. A Practical Introduction to Embedded Systems with the Raspberry Pi Pico This course is designed for people who are new to embedded systems and looking for a structured, example-driven way to get started. A kit of parts comprising LEDs and resistors, switches, sensors and actuators, displays, a breadboard and wires, and more is included. These are used in the course to illustrate example applications. No prior experience with Arduino or embedded development is required. Each section features hands-on examples and mini projects designed to reinforce key concepts and inspire deeper exploration. By the end of the course, you’ll be able not only to reproduce the examples but also to build on them with your own ideas and applications. What Will You Learn? Microcontroller programming in MicroPython with the Raspberry Pi Pico using the Thonny IDE Working with Digital I/O, read buttons and encoders, control LEDs and relays Read analog inputs, voltages, and analog sensors Generating analog output signals and PWM Use serial communication like UART, I²C and SPI to control displays and read digital sensors and SD cards Managing time Working with interrupts Real-time sensor input and control via buttons, LEDs, and displays Control actuators like relays and servo motors Who Is It For? Students and self-learners exploring embedded systems Makers and IoT enthusiasts looking to improve their hardware skills Educators and trainers seeking ready-to-teach material What's Inside the Box? Access to the full course on the Elektor Academy Pro Learning Platform Raspberry Pi Pico microcontroller board + USB cable Book: Programming Microcontrollers in MicroPython Downloadable project files for every module Component Box: 2× LED, red, 5 mm LED, green, 5 mm 3× Resistor, 470 Ω, 0.25 W LDR Potentiometer, 10 kΩ, linear Pushbutton Rotary encoder module Relay module DHT22 Humidity & Temperature Sensor TM1637-compatible 4-digit 7-segment display MPU-6050 IMU with headers SSD1306-compatible I²C OLED display Micro SD card adapter with header Buzzer SG90 Micro Servo ILI9341-compatible SPI 240×320 TFT display 20× Jumper wires Breadboard All Programming Courses (and differences in content) Course Arduino Raspberry Pi Pico with Arduino C/C++ ESP32 with Arduino C/C++ Raspberry Pi Pico with MicroPython ESP32 with MicroPython Online Course Access to Arduino Course Access to Pico with Arduino C/C++ Course Access to ESP32 with Arduino C/C++ Course Access to Pico with MicroPython Course Access to ESP32 with MicroPython Course Board Uno R3 Raspberry Pi Pico ESP32 Raspberry Pi Pico ESP32 Book Programming Microcontrollers in C/C++ Using Arduino Programming Microcontrollers in C/C++ Using Arduino Programming Microcontrollers in C/C++ Using Arduino Programming Microcontrollers in MicroPython Programming Microcontrollers in MicroPython Kit 40-piece Component Box 40-piece Component Box 40-piece Component Box 40-piece Component Box 40-piece Component Box
€ 69,95
Members: € 62,96
-
Elektor Digital ESP32 programmeren voor beginners (E-book)
In ESP32 programmeren voor beginners bekijken we de ESP32 en zijn voorganger, de ESP8266. Deze kleine, maar zeer krachtige Chinese chips bestaan uit een processor, geheugen, input- en outputaansluitingen en hebben draadloze netwerktoegang via WiFi. Met dit boek tonen we hoe de programmeeromgeving Arduino werkt en hoe die kan gebruikt worden met ESP-hardware. Aan de hand van voorbeelden en projecten verduidelijken we hoe de ESP-hardware kan worden toegepast. In vogelvlucht: We beschrijven de opbouw van ESP-experimenten. We tonen hoe displays worden aangesloten. Eeprom_24c16 demonstreert hoe een externe geheugenchip wordt gebruikt om getallen en tekst op te slaan en weer uit te lezen. Project Klok is de eenvoudige implementatie van een digitale klok. We geven een handleiding voor het gebruik van temperatuur- en luchtvochtigheidsensoren. Webclient laat zien hoe de ESP32 gegevens van het internet kan halen. Met Webserver kunnen we op afstand met een pc of smartphone gegevens halen uit een ESP32, sensoren uitlezen en toestellen aan- en uitschakelen. Een NTP-klok haalt tijdinformatie van Tijdserver. Die geeft zowel de tijd als het aantal seconden sinds 1 januari 1900. Het boek beschrijft hoe hieruit de tijd kan worden berekend. In het laatste hoofdstuk gebruiken we het internet om nauwkeurige weerinformatie en voorspellingen op te vragen.
€ 24,95
Members: € 22,46
-
Elektor Digital PID-basierte digitale Regelungstechnik mit Raspberry Pi und Arduino Uno (PDF)
Der Arduino Uno ist ein Open-Source-Mikrocontroller-Entwicklungssystem, das Hardware, eine integrierte Entwicklungsumgebung (IDE) und eine Vielzahl von Bibliotheken umfasst. Es wird von einer riesigen Gemeinschaft von Programmierern, Elektronikern, Enthusiasten und Akademikern unterstützt. Insbesondere die Bibliotheken erleichtern die Programmierarbeit und reduzieren die Entwicklungszeiten, da sie das Erstellen von Programmen erheblich erleichtern. Der Raspberry Pi 4 kann in vielen Projekten wie Audio- und Videoanwendungen, aber auch in Industriesteuerungen, Robotik, Spielen usw. eingesetzt werden. Dazu bietet er auch WiFi- und Bluetooth-Fähigkeiten, wodurch er sich zudem hervorragend für internetbasierte Steuerungs- und Überwachungsanwendungen eignet. In diesem Buch werden sowohl der Raspberry Pi 4 als auch der Arduino Uno in PID-basierten automatischen Steuerungsanwendungen eingesetzt. Nach einer grundlegenden Theorie der Regelsysteme werden funktionierende und getestete Projekte zur Steuerung realer Systeme mit PID-Reglern vorgestellt. Die Open-Loop-Eigenschaften, die Abstimmung der PID-Parameter und das Closed-Loop-Zeitverhalten der Systeme werden zusammen mit Blockdiagrammen, Schaltplänen und PID-Regelalgorithmen ausführlich diskutiert. Vollständige Programme für den Raspberry Pi und den Arduino Uno runden die im Buch vorgestellten Projekte ab. Die Regelsysteme können problemlos auch auf andere Projekte angewendet werden und die für den Raspberry Pi 4 angegebenen Programme sollten auch mit anderen Modellen der Raspberry Pi-Familie reibungslos funktionieren. Das Buch behandelt folgende Themen: Steuer- und Regelsysteme Analoge und digitale Sensoren Übertragungsfunktionen und zeitkontinuierliche Systeme Systemantwortfunktionen erster und zweiter Ordnung Zeitdiskrete digitale Systeme Zeitkontinuierliche PID-Regler Zeitdiskrete PID-Regler Zweipunkt-Temperaturregelung mit Raspberry Pi und Arduino Uno PID-basierte Temperaturregelung mit Raspberry Pi und Arduino Uno Motorsteuerung mit Raspberry Pi und Arduino Uno Wasserstandsregelung mit Raspberry Pi und Arduino Uno PID-basierte LED-Helligkeitsregelung mit Raspberry Pi und Arduino Uno
€ 32,80
Members: € 29,52
-
Elektor Digital Arduino & Co – Messen, Schalten und Tüfteln (PDF)
Pfiffige Lösungen mit Arduino Pro Mini und ATmega328-Boards Mit einem einfachen Arduino Pro Mini Board und ein paar weiteren Bauteilen lassen sich heute für wenig Geld Projekte realisieren, die vor 20 oder 30 Jahren noch undenkbar waren oder ein kleines Vermögen gekostet hätten. Von einfachen LED-Effekten bis zur Ladestation – die den Akku auf Herz und Nieren prüft – ist in diesem Buch vieles dabei. Als Mikrocontroller dient bei allen beschriebenen Projekten der ATmega328, der mit seinen 20 Ein- und Ausgangsleitungen unzählige Möglichkeiten zum Messen, Schalten und Steuern bietet. Mit einem 7-Segment-Display und ein paar Widerständen lässt sich daraus z. B. ein Voltmeter bauen oder mittels NTC ein Thermometer. Die Arduino-Plattform bietet dabei die perfekte Entwicklungsumgebung zum Programmieren der Boards. Neben den ganz konkreten Projekten soll das Buch aber auch das nötige Wissen vermitteln, um eigene Ideen zu realisieren. Wie misst man was? Welches ist der geeignete Transistor, um verschiedene Verbraucher zu schalten? Wann ist man mit einem IC besser bedient, oder wie schaltet man Netzspannung? Auch batteriebetriebene Projekte mit LilyPad sind ausführlich thematisiert. Ebenso vielerlei Motoren, vom einfachen Gleichstrommotor bis zum Schrittmotor. Sensoren sind ein weiteres spannendes Thema. Nur zwei Beispiele: Mit einem winzigen Bauteil lässt sich tatsächlich messen, dass der Luftdruck am Fußboden höher ist als auf Tischhöhe. Mit einem simplen Infrarot-Empfänger kann man ausgedienten Fernbedienungen ein zweites Leben schenken und die Wohnung damit steuern.
€ 32,80
Members: € 29,52
-
Elektor Digital Das CAN-Bus Praxisbuch (PDF)
Projekte mit Arduino Uno und Raspberry Pi In diesem Buch werden Anwendungen von Arduino Uno und Raspberry Pi 4 in praxisnahen Projekten auf Basis von CAN-Bus detailliert beschrieben. Durch den Einsatz von entweder Arduino Uno oder Raspberry Pi in Verbindung mit handelsüblichen CAN-Bus-Schnittstellenmodulen werden die Entwicklung, Fehlersuche und Fehlerbeseitigung sowie die Überprüfung von Projekten auf CAN-Bus-Basis erheblich erleichtert. Dieses Buch richtet sich an jeden, der mehr über den CAN-Bus lernen möchte und mit den Grundlagen der Elektronik vertraut ist. Hilfreich ist auch Erfahrung mit den Programmiersprachen C und Python sowie mit der Programmierung von Arduino Uno unter Verwendung seiner IDE und von Raspberry Pi zu haben. Das Buch ist eine nützliche Informationsquelle und ein Nachschlagewerk für jeden, der Antworten auf eine oder mehrere der folgenden Fragen sucht: Welche Bussysteme stehen für die Automobilindustrie zur Verfügung? Was sind die Grundprinzipien des CAN-Bus? Welche Arten von Frames (oder Datenpaketen) stehen in einem CAN-Bussystem zur Verfügung? Wie können Fehler in einem CAN-Bussystem erkannt werden, und wie zuverlässig ist ein CAN-Bussystem? Welche Arten von CAN-Bus-Controllern gibt es? Welches sind die Funktionsprinzipien des MCP2515 CAN-Bus-Controllers? Wie kann ich ein CAN-Bus-Projekt mit Arduino Uno realisieren? Wie kann ich Arduino oder Raspberry Pi CAN-Bus-Projekte mit 2 und 3 Knoten erstellen? Wie kann ich die Daten auf dem CAN-Bus analysieren? Wie kann ich ein CAN-Bus-Projekt mit Raspberry Pi ausführen?
€ 29,80
Members: € 26,82
-
Elektor Digital Logic Analyzers in Practice (E-book)
PC USB Logic Analyzers with Arduino, Raspberry Pi, and Co. Step-by-step instructions guide you through the analysis of modern protocols such as I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 and 1-Wire. With the help of numerous experimental circuits based on the Raspberry Pi Pico, Arduino Uno and the Bus Pirate, you will learn the practical application of popular USB logic analyzers. All the experimental circuits presented in this book have been fully tested and are fully functional. The necessary program listings are included – no special programming or electronics knowledge is required for these circuits. The programming languages used are MicroPython and C along with the development environments Thonny and Arduino IDE. This book uses several models of flexible and widely available USB logic analyzers and shows the strengths and weaknesses of each price range. You will learn about the criteria that matter for your work and be able to find the right device for you. Whether Arduino, Raspberry Pi or Raspberry Pi Pico, the example circuits shown allow you to get started quickly with protocol analysis and can also serve as a basis for your own experiments. After reading this book, you will be familiar with all the important terms and contexts, conduct your own experiments, analyze protocols independently, culminating in a comprehensive knowledge set of digital signals and protocols.
€ 29,95
Members: € 26,96
-
Elektor Digital Arduino UNO Q and AI (E-book)
Learn to Build Intelligent Embedded Systems Build smarter embedded systems with Arduino UNO Q. This book gives you the tools, knowledge, and confidence to turn ideas into intelligent, working solutions using the Arduino UNO Q platform. Discover how to build intelligent embedded systems with the Arduino UNO Q and AI. Unlock the full potential of the Arduino UNO Q, a next-generation platform that combines the real-time power of the STM32U585 microcontroller with the flexibility of a Qualcomm Dragonwing QRB2210 microprocessor. Learn how to rapidly prototype real-world applications using the Arduino IDE for low-level embedded control and Python in Arduino App Lab for high-level development. Build confidence through hands-on projects that guide you step by step from basic board features to complete working systems. Explore ready-to-use, AI based Arduino App Lab examples and see how they can jump-start your development and reduce time to deployment. Step into the world of Edge AI with a clear, practical introduction to Edge Impulse Studio—no prior AI experience required. Follow a complete, real-world workflow to create a Keyword Spotting AI application, covering data collection, model training, optimization, and on-device inference using the Edge Impulse Studio. Bridge the gap between embedded systems and machine learning and learn how to bring intelligence directly onto your hardware. Perfect for embedded engineers, educators, students, and makers looking to stay ahead in AI-enabled product development.
€ 29,95
Members: € 26,96
-
Elektor Publishing Develop your own Bluetooth Low Energy Applications
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible. A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios. In this book, you’ll learn how to: Discover BLE devices in the neighborhood by listening to their advertisements. Create your own BLE devices advertising data. Connect to BLE devices such as heart rate monitors and proximity reporters. Create secure connections to BLE devices with encryption and authentication. Understand BLE service and profile specifications and implement them. Reverse engineer a BLE device with a proprietary implementation and control it with your own software. Make your BLE devices use as little power as possible. This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards. Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
€ 39,95
Members: € 35,96
-
Elektor Digital C Programming with Arduino (E-book)
Technology is constantly changing. New microcontrollers become available every year. The one thing that has stayed the same is the C programming language used to program these microcontrollers. If you would like to learn this standard language to program microcontrollers, then this book is for you! Arduino is the hardware platform used to teach the C programming language as Arduino boards are available worldwide and contain the popular AVR microcontrollers from Atmel. Atmel Studio is used as the development environment for writing C programs for AVR microcontrollers. It is a full-featured integrated development environment (IDE) that uses the GCC C software tools for AVR microcontrollers and is free to download. At a glance: Start learning to program from the very first chapter No programming experience is necessary Learn by doing – type and run the example programs A fun way to learn the C programming language Ideal for electronic hobbyists, students and engineers wanting to learn the C programming language in an embedded environment on AVR microcontrollers Use the free full-featured Atmel Studio IDE software for Windows Write C programs for 8-bit AVR microcontrollers as found on the Arduino Uno and MEGA boards Example code runs on Arduino Uno and Arduino MEGA 2560 boards and can be adapted to run on other AVR microcontrollers or boards Use the AVR Dragon programmer/debugger in conjunction with Atmel Studio to debug C programs
€ 39,95
Members: € 35,96
-
Elektor Publishing Arduino & Co – Measure, Control, and Hack
Clever Tricks with ATmega328 Pro Mini Boards With a simple Pro Mini board and a few other components, projects that 20 or 30 years ago were unthinkable (or would have cost a small fortune) are realized easily and affordably in this book: From simple LED effects to a full battery charging and testing station that will put a rechargeable through its paces, there’s something for everyone. All the projects are based on the ATmega328 microcontroller, which offers endless measuring, switching, and control options with its 20 input and output lines. For example, with a 7-segment display and a few resistors, you can build a voltmeter or an NTC-based thermometer. The Arduino platform offers the perfect development environment for programming this range of boards. Besides these very practical projects, the book also provides the necessary knowledge for you to create projects based on your own ideas. How to measure, and what? Which transistor is suitable for switching a certain load? When is it better to use an IC? How do you switch mains voltage? Even LilyPad-based battery-operated projects are discussed in detail, as well as many different motors, from simple DC motors to stepper motors. Sensors are another exciting topic: For example, a simple infrared receiver that can give disused remote controls a new lease on life controlling your home, and a tiny component that can actually measure the difference in air pressure between floor and table height!
€ 39,95
Members: € 35,96
-
Elektor Publishing Arduino for STM32
Learning Embedded Systems with STM32 Nucleo Boards Embedded programming has become more accessible than ever before. Development boards are inexpensive, software tools are easy to install, and the Arduino IDE provides a familiar environment for creating embedded applications. Combined with the STM32 Nucleo family of development boards, it offers an excellent platform for learning how modern microcontrollers interact with the physical world. This book introduces embedded programming using the Arduino environment on STM32 Nucleo boards. You will learn how a microcontroller continuously reads inputs, processes information, and controls outputs in a predictable real-time loop. Through practical examples, you will discover how to control LEDs, read switches and sensors, generate PWM signals, drive motors, and exchange data with other devices, all while becoming familiar with the capabilities of STM32 microcontrollers. Although the STM32 family includes devices with different performance levels, memory sizes, and peripheral sets, they all share the same architectural concepts. Digital and analog I/O, timers, interrupts, PWM, communication interfaces, and low-power operation are fundamental features found throughout the STM32 ecosystem. Understanding these building blocks will enable you to work confidently with a wide range of STM32 devices, from entry-level microcontrollers to more advanced applications. By focusing on practical programming techniques rather than hardware complexity, this book develops skills that remain useful well beyond the examples presented. Whether you are taking your first steps in embedded systems or expanding your experience with STM32 microcontrollers, you will gain a solid understanding of both the Arduino development environment and the principles that underpin embedded software design.
€ 27,95
Members: € 25,16