In the world of embedded systems and microcontroller programming, achieving real-time responsiveness is often a critical requirement. Whether it's reading sensor data, detecting external events, or controlling actuators, the ability to respond swiftly and accurately can make all the difference. This is where Arduino interrupts come into play, offering a powerful mechanism to enhance control and … [Read more...]
How to Compare an ESP Line to an ATmega 328?
In the vast landscape of microcontroller boards supporting Arduino ecosystem, selecting the right microcontroller is paramount to the success of any project. Among the plethora of options available, two popular choices stand out: the ESP line, represented by ESP8266 and ESP32, and the ATmega328, a staple in the Arduino ecosystem. In this article, we'll embark on a journey to compare and contrast … [Read more...]
Basics of Nickel Metal Hydride (NiMH) Battery
In today's tech-driven world, where portable electronics reign supreme, the quest for efficient and environmentally friendly power sources is more pressing than ever. Amidst the myriad of battery technologies, Nickel Metal Hydride (NiMH) stands out as a reliable and versatile option. In this article, we'll delve into the intricacies of NiMH batteries, exploring their advantages and disadvantages … [Read more...]
Arduino Baud Rate Explained
In our earlier article, we have explained Basics of Serial Communication. Baud is the unit for the symbol rate in telecommunications. 1 baud is the speed when 1 symbol is transmitted per second. Each symbol corresponds to a defined, measurable signal change in the physical transmission medium. The baud rate of a data transmission must be the same on the sending and receiving sides. If the … [Read more...]
Arduino Hardware Serial Examples
Arduino microcontrollers are renowned for their versatility and ease of use in a wide range of projects, from simple blinking LED experiments to complex robotics applications. One of the key features that make Arduinos so powerful is their built-in hardware serial communication capabilities, which allow for seamless data transmission between the Arduino board and other devices such as computers, … [Read more...]
Basics of Serial Communication
Serial data transmissions transmit digital data autonomously on one line (or on one pair of lines). In contrast, in parallel data transfers, data is transmitted synchronously over multiple lines. The fundamental difference is that you don't have to take into account runtime differences between different lines for serial transmissions, which allows for much higher clock speeds. The name serial … [Read more...]
How Interrupt Works
In previous article, we have discussed the basics of interrupt. In order to be able to trigger an interrupt, the hardware connected to the main processor (CPU) must be interrupt-capable, i.e. generate an output signal (electrical voltage at an output pin) via the so-called interrupt line when a certain event occurs. The CPU generally has separate pins for maskable (disabled) interrupts (INTR) and … [Read more...]
What is Interrupt?
In computer science, an interrupt is a short-term interruption of the normal execution of a program, in order to process a usually short, but time-critical, process. The triggering event is called an interrupt request (IRQ). After this request, the processor executes an interrupt handler, interrupt service routine, or ISR. The interrupt routine is executed with extended privileges (on appropriate … [Read more...]
CircuitPython vs. Arduino’s C++ Language for ESP32: A Comparative Analysis
After we published the article, Live Reloading of Arduino Code in ESP32, a reader questioned the difference with CircuitPython. Instead of a direct comparison of Toit and CircuitPython, in this article, we will compare with Arduino's official language. In the world of embedded systems and microcontroller programming, CircuitPython (offered by Adafruit) and Arduino's C++ language (offered by … [Read more...]
1990s Technologies Which Are Still Used Today
The 1990s were a transformative era in technology, marked by the rise of the internet, and the proliferation of electronics and personal computing. This era gave birth to many groundbreaking innovations. While the pace of technological advancement has been rapid since then, several key technologies from the 1990s continue to play significant roles in shaping our world today. From communication to … [Read more...]
How to Use Arduino with Visual Studio Code on Windows PC
Visual Studio Code (VS Code) has become a popular choice among developers for its lightweight yet powerful features and extensive customization options. While it's commonly associated with software development, it's also a versatile platform for programming hardware, including Arduino microcontrollers. In this guide, we'll explore how to set up and use Visual Studio Code for Arduino development, … [Read more...]