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...]
Interactive Chatbot with ESP32 Arduino and OpenAI
In this tutorial, we'll explore how to create an interactive chatbot on Arduino IDE's serial monitor using an ESP32 board and OpenAI's GPT 3.5 API via HTTP request. By combining the versatility of ESP32 with the advanced AI capabilities of OpenAI, you can create a chatbot that can respond to user queries and engage in meaningful conversations. Before we begin, make sure you have the following: … [Read more...]
Basics of Legged Robots
Legged robots are special robots that can move with the help of "legs". This is already possible with only one "leg" (hopping). As a rule, however, four-legged, six-legged or even bipedal machines are used. There are machines that have even more legs, but these can be traced back to the six-legged version. An early object of investigation was the different types of horse gait. The photographer … [Read more...]
What is an Actuator?
Actuators are usually drive components that convert an electrical signal (commands issued by the control computer) into mechanical movements or changes in physical quantities such as pressure or temperature and thus actively intervene in the controlled process. It is a branch of drive technology that deals with the actuator as a technical element. The term actuator generally encompasses the … [Read more...]
IoT Based Laser Water Tank Level Monitor with ESP32, VL53L0X, PHP & MySQL
To create an IoT-based water tank level measurement system with ESP32 Arduino, VL53L0X ToF sensor, PHP MySQL backend, and a web interface for visualization and real-time updates, we'll need to divide the project into two parts: the Arduino sketch for data collection and the web interface for visualization and alerts. This article is slightly complex and it requires a basic knowledge to handle a … [Read more...]
How to Blink an LED Only Twice After a Button Press Using Arduino
Blinking an LED is one of the most basic projects for Arduino beginners. Previously, we have demonstrated how to Blink LED and Beep Every X Seconds Upon Push Button Press. However, adding a condition to blink the LED only a certain number of times after a button press introduces a new level of complexity. In this tutorial, we'll explore how to achieve this functionality using an Arduino board, an … [Read more...]
How to Write Code for Arduino with ChatGPT (GPT 3.5/4)
In our earlier articles, we have explained about the trending topics such as What is Generative Programming, How GPT-engineer Works to Generate Code and How to Develop a Simple WordPress Plugin with ChatGPT (GPT 3.5/4). In the realm of the Internet of Things (IoT), Arduino and ESP32 are widely used microcontroller platforms known for their versatility and ease of use. However, coding for these … [Read more...]
What is Field-Oriented Control (FOC)
Vector control, also known as field-oriented control (FOC), is a control concept in which sinusoidal – or assumed to be largely sinusoidal – alternating variables (e.g. alternating voltages and alternating currents) are not regulated directly in their temporal instantaneous value, but in an instantaneous value adjusted for the phase angle within the period. For this purpose, the recorded … [Read more...]
Basics on Rotary Encoder
A rotary encoder is a rotary encoder that usually provides digital output signals that need to be decoded at the other end of the sensor line in the evaluation device. Therefore, it is also called a rotary encoder. "Encoder" is sometimes used as a generic term for all angular position encoders. Differences in the Way Signals are Evaluated Incremental Encoders Incremental … [Read more...]
Automatic Room Light Controller With Arduino and PIR Sensor
In our earlier articles, we have explained What is a PIR Sensor, How it Works, and Arduino Light Sensor with LDR. In this project, we will set up an automatic light control system using Arduino. You can use Arduino UNO or any Arduino-compatible microcontroller board, such as ATtiny85. If we use only a PIR Sensor to control the light then it will become ON even during the daytime. So we need a … [Read more...]
What is a PIR Sensor, How it Works
A pyroelectric infrared sensor, also known as a PIR sensor, is a semiconductor sensor used to detect temperature changes. PIR sensors are based on the eponymous pyroelectricity, a property of some piezoelectric semiconductor crystals. A change in temperature ΔT leads to a measurable change in the electrical voltage. PIR sensors, unlike other temperature sensors, do not react to a certain … [Read more...]