Implementing Command Parsers on Arduino Over Serial

Introduction Command parsers are essential in embedded systems for receiving and interpreting commands from a host device, such as a computer or another microcontroller. In this article, we will explore how to implement command parsers on an Arduino over a serial connection, focusing on memory management, text buffer creation and use, string formatting, and handling

Understanding Modbus, SCPI, and GPIB Protocols and Their Implementation in Embedded Systems

Understanding Modbus, SCPI, and GPIB Protocols and Their Implementation in Embedded Systems
Control-Bus Image

A Beginners Guide Introduction Communication protocols are vital for enabling embedded devices to interact effectively. Three prominent protocols, Modbus, Standard Commands for Programmable Instruments (SCPI), and General Purpose Interface Bus (GPIB), stand out due to their widespread adoption in various industrial and testing environments. Recently, I had the opportunity to work on an embedded project

Programming Languages: Loved, Loathed, and Long-Standing

The world of programming languages is vast and ever-evolving. Over the decades, many languages have been introduced, gained popularity, and sometimes faded into obscurity. Yet, some languages, despite being widely criticized, have managed to maintain a strong foothold in the industry. Conversely, others, once heralded as the future, have declined in use. This article delves into this phenomenon, examining why some languages are resilient despite criticism, while others have fallen out of favor. We will explore these dynamics globally, understanding regional preferences and the historical context that has shaped the programming landscape.

Building a Simple Modal Line Editor in Python: A Step-by-Step Guide

In this comprehensive tutorial, we guide you through creating a simple modal line editor in Python. Starting from basic functionality, we progressively add features like inserting lines before or after a specified line and implementing a yank command. Perfect for those looking to enhance their Python skills with practical text editing capabilities.

Implementing Regular Expressions (RegEx) from Scratch in Python

Implementing Regular Expressions (RegEx) from scratch in Python provides a deeper understanding of how RegEx works. This tutorial guides you step-by-step through creating a RegEx engine using finite automata, covering essential RegEx operations, converting RegEx to NFA using Thompson’s Algorithm, and building a full-featured RegEx engine.

Understanding Software Versioning: Semantic Versioning vs. Calendar Versioning

Versioning tools are essential for managing software versions efficiently. Popular integrated development environments (IDEs) like Visual Studio Code, IntelliJ IDEA, and PyCharm offer plugins and built-in tools to handle versioning. These tools help automate version updates, tag releases, and integrate with version control systems like Git. They simplify the process and ensure consistency, reducing the chances of human error.

Trusting Software Security: A Comprehensive Approach

In software development, trust is not just a matter of functionality but a critical aspect of security. This article delves into the intricacies of software security, particularly in the context of Large Language Models (LLMs), emphasizing the need to trust not only the final product but also the data, models, training methods, and the checks and balances implemented within these systems.

Learning Lua Step-By-Step: (Part 24)

This entry is part 23 of 25 in the series Learning Lua Step-By-Step

In this final installment of our series, we’ll delve into Lua developer best practices. These practices encompass various aspects such as code readability, documentation, adherence to standards, version control, testing, asset management, useful tools, techniques, traits of professional developers, and the Zen of Lua.

Learning Lua Step-By-Step: (Part 23)

This entry is part 22 of 25 in the series Learning Lua Step-By-Step

Dive into Lua’s OS library functionalities covering date/time formatting, file path manipulation, time-based delays, and more. Explore examples demonstrating how to interact with the operating system efficiently, enhancing your Lua programming capabilities.

Learning Lua Step-By-Step: (Part 22)

This entry is part 21 of 25 in the series Learning Lua Step-By-Step

Delve into Lua’s powerful math library, exploring functions for arithmetic, trigonometry, exponentiation, random number generation, and more. Learn through practical examples such as three-body simulations and planetary simulations, enhancing your Lua programming skills.