Search results for "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
Members: € 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
Members: € 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
Members: € 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
Best Price
-
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
Members: € 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
Members: € 29,52
-
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
Members: € 44,96
-
Elektor Academy Pro MicroPython for STM32 (Programming Course)
This complete STM32 microcontroller programming course features a textbook, a component kit, hands-on projects, and a comprehensive online course. 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 STM32 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 MicroPython 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 on the STM32 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 STM32 NUCLEO-F411RE microcontroller board Book: MicroPython for STM32 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
€ 99,95€ 84,95Best Price
-
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
Members: € 35,96
-
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
Members: € 26,96
-
Elektor Digital PC Programming (E-book)
A Small Basic Approach There are many different PC programming languages available on the market. Some have beautiful names; some have easy to use development tools. Others have incredible power. They all have one thing in common: they assume that you have, or want to have, a knack for technology and difficult to read commands. In this book we take a practical approach to programming. We assume that you simply want to write a PC program, and write it quickly. Not in a professional environment, not in order to start a new career, but for plain and simple fun... or just to get a task done. Therefore we use Small Basic. You will have an application up and running in a matter of minutes. You will understand exactly how it works and be able to write text programs, graphical user interfaces, and advanced drivers. It is so simple; you don't even need to be an adult!
€ 29,95
Members: € 26,96
-
Elektor Digital FPGA Programming and Hardware Essentials (E-book)
Kick off with the MAX1000 and VHDPlus Ready to Master FPGA Programming? In this guide, we’re diving into the world of Field Programmable Gate Arrays (FPGAs) – a configurable integrated circuit that can be programmed after manufacturing. Imagine bringing your ideas to life, from simple projects to complete microcontroller systems! Meet the MAX1000: a compact and budget-friendly FPGA development board packed with features like memory, user LEDs, push-buttons, and flexible I/O ports. It’s the ideal starting point for anyone wanting to learn about FPGAs and Hardware Description Languages (HDLs). In this book, you’ll get hands-on with the VHDPlus programming language – a simpler version of VHDL. We’ll work on practical projects using the MAX1000, helping you gain the skills and confidence to unleash your creativity. Get ready for an exciting journey! You’ll explore a variety of projects that highlight the true power of FPGAs. Let’s turn your ideas into reality and embark on your FPGA adventure – your journey starts now! Exciting Projects You’ll Find in This Book Arduino-Driven BCD to 7-Segment Display Decoder Use an Arduino Uno R4 to supply BCD data to the decoder, counting from 0 to 9 with a one-second delay Multiplexed 4-Digit Event Counter Create an event counter that displays the total count on a 4-digit display, incrementing with each button press PWM Waveform with Fixed Duty Cycle Generate a PWM waveform at 1 kHz with a fixed duty cycle of 50% Ultrasonic Distance Measurement Measure distances using an ultrasonic sensor, displaying the results on a 4-digit 7-segment LED Electronic Lock Build a simple electronic lock using combinational logic gates with push buttons and an LED output Temperature Sensor Monitor ambient temperature with a TMP36 sensor and display the readings on a 7-segment LED Downloads Software
€ 32,95
Members: € 29,66