Controllare un Servo Arduino dalla Tastiera del PC in Tempo Reale

In this video, we'll show you how to control a 9g SG90 servo motor connected to an Arduino UNO using the PC keyboard. First, we'll do a simple test with the Arduino Serial Monitor, sending commands manually. Then, we'll move on to real-time control with Python: pressing the A key moves the servo one way, pressing the D key moves the other, and pressing ESC exits the program. We'll also see how to install the necessary libraries, use Thonny, and create an executable file so the program can be run without having to open the Python environment each time. Materials used: Arduino UNO SG90 9g servo Breadboard Jumper cables PC with Arduino IDE and Python/Python Connections: Red servo wire → 5V Arduino Brown/black servo wire → GND Arduino Orange/yellow servo wire → Arduino digital pin D9 Commands used: A = movement in one direction D = movement in the other direction C = center, when testing with the Serial Monitor ESC = exit from the Python program Arduino and Python code: https://docs.google.com/document/d/1M... This project provides a simple basis for understanding how to control a servo from a PC via USB serial communication. The same principle can also be used for small robotic arms or other keyboard-controlled projects. #Arduino #Servo #Python #SG90 #ArduinoUNO #Thonny #Robotics #Electronics #BMakerelettronics