Résultats de la recherche pour "programming or the or finite or state or machine"
-
Elektor Digital Programming the Finite State Machine (E-book)
Programming the Finite State Machine with 8-Bit PICs in Assembly and C Andrew Pratt provides a detailed introduction to programming PIC microcontrollers, as well as a thorough overview of the Finite State Machine (FSM) approach to programming. Most of the book uses assembly programming, but do not be deterred. The FSM gives a structure to a program, making it easy to plan, write, and modify. The last two chapters introduce programming in C, so you can make a direct comparison between the two techniques. The book references the relevant parts of the Microchip datasheet as familiarity with it is the best way to discover detailed information. This book is aimed at Microsoft Windows and Linux users. To keep your costs to a minimum and to simplify the toolchain, specific applications are provided as a free download to enable you to use an FTDI serial lead as the programmer. The assembler used is the open-source "gpasm". All programming can be done in a text editor. There are detailed instructions on how to perform the necessary installations on Windows, Linux Debian, and derivatives such as Ubuntu and Fedora. For programming in C, Microchip's XC8 compiler is used from the command line. In addition to the programming applications, two serial read and serial write applications can be used for communicating with the PICs from a computer. A voltmeter project including practical instructions on building a circuit board from scratch is included. All theory is covered beforehand, including how to do integer arithmetic in assembly. Two PICs are covered: the PIC12F1822 and the PIC16F1823. Both can run at 32 MHz with an internal oscillator. You do not need to buy a factory-made development board and programmer. With relatively inexpensive parts including a serial lead, microcontroller, a few resistors, and LEDs, you can get started exploring embedded programming. Links Updated Programmer
€ 32,95
Membres : € 29,66
-
Elektor Digital Object-Oriented PLC Programming in CODESYS (E-book)
Modular and Scalable Control Systems Using Structured Text This book offers a structured and practical approach to modern PLC development using object-oriented principles. It is a guide for engineers, programmers, and students seeking to harness the power of object-oriented programming (OOP) in the context of industrial automation with PLCs. The content focuses on the CODESYS development environment and Structured Text (ST), both of which support modern programming techniques while maintaining compatibility with real-time automation requirements. Through step-by-step demos and instructional examples, it demonstrates how modular, reusable code can enhance development efficiency, simplify ongoing maintenance, and enable scalable and flexible control system architectures. Key topics include: Structured Text fundamentals: conditions, loops, arrays, and functions Object-oriented concepts: classes, methods, and inheritance Advanced techniques: polymorphism, interfaces, and access control Modular design with reusable components and structured program flow Implementation of finite state machines and scalable application design Built around instructional demos and clear explanations, this book helps readers develop maintainable and modern control software in the CODESYS environment using proven programming techniques.
€ 29,95
Membres : € 26,96
-
Elektor Publishing Object-Oriented PLC Programming in CODESYS
Modular and Scalable Control Systems Using Structured Text This book offers a structured and practical approach to modern PLC development using object-oriented principles. It is a guide for engineers, programmers, and students seeking to harness the power of object-oriented programming (OOP) in the context of industrial automation with PLCs. The content focuses on the CODESYS development environment and Structured Text (ST), both of which support modern programming techniques while maintaining compatibility with real-time automation requirements. Through step-by-step demos and instructional examples, it demonstrates how modular, reusable code can enhance development efficiency, simplify ongoing maintenance, and enable scalable and flexible control system architectures. Key topics include: Structured Text fundamentals: conditions, loops, arrays, and functions Object-oriented concepts: classes, methods, and inheritance Advanced techniques: polymorphism, interfaces, and access control Modular design with reusable components and structured program flow Implementation of finite state machines and scalable application design Built around instructional demos and clear explanations, this book helps readers develop maintainable and modern control software in the CODESYS environment using proven programming techniques.
€ 34,95
Membres : € 31,46
-
Elektor Publishing Multitask-Programmierung mit dem Raspberry Pi Pico
Zeitsteuerung, Scheduler, PIO und Zustandsmaschinen Multitasking ist der Schlüssel zu leistungsfähigen Embedded-Systemen, und zugleich eine der größten Herausforderungen in der Mikrocontroller-Programmierung. Dieses Buch zeigt Ihnen Schritt für Schritt, wie Sie von einem einfachen Ein-Task-Programm zu einem strukturierten, reaktionsfähigen und skalierbaren System gelangen. Dabei steht nicht nur das Wie, sondern vor allem das Warum im Mittelpunkt. Sie lernen: warum scheinbare Parallelität entsteht weshalb blockierende Programme instabil werden wie Aufgaben effizient und kontrolliert parallel ablaufen Ausgehend vom klassischen Superloop vermittelt das Buch moderne Multitasking-Strategien – von nicht-blockierender Programmierung und Tick-Systemen bis zu Task-Schedulern, Zustandsmaschinen und ereignisgesteuerten Konzepten. Der Fokus liegt auf der Praxis: Sensoren, Displays, Kommunikation und reale Anwendungen werden Schritt für Schritt integriert und mit verständlich kommentierten Beispielprogrammen erklärt. Fortgeschrittene Themen umfassen: Multicore-Programmierung mit dem Raspberry Pi Pico asynchrones Programmieren mit uasyncio RTOS-Grundlagen mit FreeRTOS die Kombination aus Multicore und RTOS Dabei werden auch die Grenzen dieser Techniken, insbesondere unter MicroPython, klar aufgezeigt. Das Buch richtet sich an ambitionierte Einsteiger und fortgeschrittene Entwickler, die Embedded-Systeme fundiert verstehen und robuste, wartbare Multitasking-Anwendungen entwickeln möchten.
€ 39,80
Meilleur prix
-
Elektor Digital Nucleo Boards Programming with the STM32CubeIDE (E-book)
Hands-on in more than 50 projects STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described. The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably. All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE. In this book you will learn about STM32 microcontroller architecture; the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool; external and internal interrupts and DMA; DEBUG, a program developed using the STM32CubeIDE; the MCU in Sleep, Stop, and in Standby modes; Nucleo Expansion Boards with the Nucleo development boards. What you need a PC with Internet connection and a USB port; STM32CubeIDE software (available at STMicroelectronics website free of charge) the project source files, available from the book’s webpage hosted by Elektor; Nucleo-L476RG development board; simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more; Nucleo Expansion Boards (optional).
€ 39,95
Membres : € 35,96
-
Elektor Digital Multitask-Programmierung mit dem Raspberry Pi Pico (PDF)
Zeitsteuerung, Scheduler, PIO und Zustandsmaschinen Multitasking ist der Schlüssel zu leistungsfähigen Embedded-Systemen, und zugleich eine der größten Herausforderungen in der Mikrocontroller-Programmierung. Dieses Buch zeigt Ihnen Schritt für Schritt, wie Sie von einem einfachen Ein-Task-Programm zu einem strukturierten, reaktionsfähigen und skalierbaren System gelangen. Dabei steht nicht nur das Wie, sondern vor allem das Warum im Mittelpunkt. Sie lernen: warum scheinbare Parallelität entsteht weshalb blockierende Programme instabil werden wie Aufgaben effizient und kontrolliert parallel ablaufen Ausgehend vom klassischen Superloop vermittelt das Buch moderne Multitasking-Strategien – von nicht-blockierender Programmierung und Tick-Systemen bis zu Task-Schedulern, Zustandsmaschinen und ereignisgesteuerten Konzepten. Der Fokus liegt auf der Praxis: Sensoren, Displays, Kommunikation und reale Anwendungen werden Schritt für Schritt integriert und mit verständlich kommentierten Beispielprogrammen erklärt. Fortgeschrittene Themen umfassen: Multicore-Programmierung mit dem Raspberry Pi Pico asynchrones Programmieren mit uasyncio RTOS-Grundlagen mit FreeRTOS die Kombination aus Multicore und RTOS Dabei werden auch die Grenzen dieser Techniken, insbesondere unter MicroPython, klar aufgezeigt. Das Buch richtet sich an ambitionierte Einsteiger und fortgeschrittene Entwickler, die Embedded-Systeme fundiert verstehen und robuste, wartbare Multitasking-Anwendungen entwickeln möchten.
€ 32,80
Membres : € 29,52
-
Elektor Publishing Nucleo Boards Programming with the STM32CubeIDE
Hands-on in more than 50 projects STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described. The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably. All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE. In this book you will learn about STM32 microcontroller architecture; the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool; external and internal interrupts and DMA; DEBUG, a program developed using the STM32CubeIDE; the MCU in Sleep, Stop, and in Standby modes; Nucleo Expansion Boards with the Nucleo development boards. What you need a PC with Internet connection and a USB port; STM32CubeIDE software (available at STMicroelectronics website free of charge) the project source files, available from the book’s webpage hosted by Elektor; Nucleo-L476RG development board; simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more; Nucleo Expansion Boards (optional).
€ 49,95
Membres : € 44,96
-
Elektor Publishing Node-RED and Raspberry Pi Pico W
From basics to flows for sensors, automation, motors, MQTT, and cloud services This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W. This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started. Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED. Quick book facts Project-based learning approach. Assumes no prior knowledge of flow-based programming tools. Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap. Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository. Step-by-step instructions on everything. All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects. Hardware (including the Raspberry Pi Pico W) is available as a kit. Downloads GitHub
€ 49,95
Membres : € 44,96
-
Elektor Academy Pro MicroPython for STM32 (cours de programmation)
Ce cours complet de programmation de microcontrôleurs STM32 comprend un manuel, un kit de composants, des projets pratiques et une formation en ligne approfondie. Il est idéal pour apprendre étape par étape la programmation de systèmes embarqués en MicroPython grâce à une approche pratique. Une introduction pratique aux systèmes embarqués avec le STM32 Ce cours s'adresse aux débutants dans le domaine des systèmes embarqués qui recherchent une méthode structurée et basée sur des exemples pour se lancer. Un kit de composants est inclus ; il contient notamment des LED, des résistances, des interrupteurs, des capteurs, des actionneurs, des afficheurs, une plaque d'essai (breadboard) et des fils de connexion. Ces éléments sont utilisés tout au long du cours pour illustrer des exemples d'applications. Aucune expérience préalable de MicroPython ou du développement de systèmes embarqués n'est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour consolider les concepts clés et encourager une exploration plus approfondie. À l'issue de la formation, vous serez capable non seulement de reproduire les exemples présentés, mais aussi de les enrichir grâce à vos propres idées et applications. Que allez-vous apprendre ? Programmation de microcontrôleurs en MicroPython sur STM32 via l'IDE Thonny Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais Lecture des entrées analogiques, tensions et capteurs analogiques Génération de signaux analogiques et PWM Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD Gestion du temps Utilisation des interruptions Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs Commande d’actionneurs comme relais et servomoteurs À qui s’adresse ce cours ? Étudiants et autodidactes explorant les systèmes embarqués Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi Contenu de la boîte Accès au cours complet sur la plateforme Elektor Academy Pro Carte microcontrôleur STM32 NUCLEO-F411RE Livre : MicroPython for STM32 Fichiers de projet téléchargeables pour chaque module Boîte de composants : 2× LED, rouge, 5 mm LED, verte, 5 mm 3× résistance, 470 Ω, 0,25 W LDR Potentiomètre, 10 kΩ, linéaire Bouton-poussoir Module encodeur rotatif Module relais Capteur DHT22 (température & humidité) Afficheur 7 segments 4 digits compatible TM1637 MPU-6050 IMU avec connecteurs Afficheur OLED I²C compatible SSD1306 Adaptateur carte micro SD avec connecteur Buzzer Micro servo SG90 Écran TFT SPI 240×320 compatible ILI9341 20× fils jumper Breadboard
€ 99,95€ 84,95Meilleur prix
-
Elektor Digital The Maker’s Guide to AI Coding (E-book)
If you can describe it, you can build it AI coding assistants are changing what makers and solopreneurs can build. Tasks that once demanded weeks of learning a new language, framework, or software stack can now be delegated to an AI—provided you know how to describe the job, judge the result, and keep control of the process. The Maker’s Guide to AI Coding is a practical guide to doing exactly that. It explains how to work with AI coding tools as collaborators rather than vending machines, how much to delegate, how to write specifications that produce useful results, and how to recognise hallucinations, context drift, overconfidence, and code that runs but is still wrong. The book is built around four increasingly ambitious projects. You begin with a browser-based RC filter analyser, then develop a live serial data plotter for Arduino and other microcontrollers. Next comes a datasheet questionand- answer tool using retrieval-augmented generation (RAG), followed by a complete multi-user resource booking system with authentication, a database, external services, background jobs, and deployment. No advanced programming background is required. The emphasis is on thinking clearly, guiding the AI, testing what it produces, and preserving the skills needed to evaluate its work. Along the way, you learn development workflow designed to remain useful as tools evolve. If you can describe what you want to build, this book shows you how to turn that description into working software.
€ 29,95
Membres : € 26,96
-
Elektor Digital Node-RED and Raspberry Pi Pico W (E-book)
From basics to flows for sensors, automation, motors, MQTT, and cloud services This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W. This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started. Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED. Quick book facts Project-based learning approach. Assumes no prior knowledge of flow-based programming tools. Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap. Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository. Step-by-step instructions on everything. All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects. Hardware (including the Raspberry Pi Pico W) is available as a kit. Downloads GitHub
€ 39,95
Membres : € 35,96
-
Elektor Publishing PIO-Programmierung mit dem Raspberry Pi Pico
Praxisnahe Projekte, Profi-Tricks und eigene Anwendungen Dieses Buch führt Sie Schritt für Schritt in die faszinierende Welt der State Machines ein und zeigt, wie Sie Hardware direkt und effizient ansteuern können – jenseits klassischer CPU-gesteuerter Ansätze. In diesem Buch lernen Sie: LEDs und NeoPixel kreativ steuern: Blinken, Dimmen, Farbwechsel und komplexe Animationen Taster und Encoder zuverlässig auslesen und in Echtzeit in Ihre Projekte integrieren Analoge Eingänge (ADC) nutzen und Signale digital steuern Servos präzise ansteuern und Bewegungsabläufe automatisieren SPI mit PIO umsetzen, um Displays, Sensoren und Module anzusteuern Menüsysteme und Submenüs auf SPI-Displays realisieren, inklusive Navigation über mehrere Taster PWM, Signalgenerierung und Frequenzsteuerung für akustische oder visuelle Effekte Debugging-Strategien und Tipps, um Ihre PIO-Programme effizient zu entwickeln Alle Beispiele sind praxisnah, sofort umsetzbar und zuverlässig. Mit klaren Anleitungen, Hintergrundwissen und fertigen Codebeispielen lernen Sie, die PIO-Fähigkeiten des Pico maximal zu nutzen – egal ob für Maker-Projekte, Prototypen oder professionelle Anwendungen. Erleben Sie, wie Sie komplexe Hardwaresteuerung elegant mit dem Pico realisieren können – schneller, flexibler und leistungsfähiger als je zuvor.
€ 34,80
Meilleur prix