Author: Abhay Kant
-
How to use bipolar stepper motor using l298n module and raspberry pi pico w
The stepper motor that i have is a bipolar stepper motor. On it one side there is information about it. TYPE: 17PM-k310-33VS NO. T4508-03 Minebea-Matsushita Motor Corporation Made in Thailand It is a NEMA 1717 stands for 1.7inches Raspberry Pi Pico W L298N Module GND GND GP0 IN1 GP1 IN2 GP2 IN3 GP3 IN4 The…
-
12V PC Fan Control Using Raspberry Pi Pico W By PWM
How to control a 12V PC fan using Pulse Width Modulation (PWM) signals with the Raspberry Pi Pico W board and an L298N motor driver module. I will use the MicroPython programming language and the Thonny IDE to write and run the code. Raspberry Pi Pico W L298n Module GP9 IN1 GND GND VSYS(Connect this…
-
How to Use C SDK to Create UF2 file which Interface Ultrasonic Sensor with Raspberry Pi Pico
Hardware setup HC-SR04 Raspberry Pi Pico VCC VSYS GND GND Trig GP2 ECHO GP3 I am using raspberry pi model 3 b+ for the code compilation. If everything worked, you will have your ulf2 file in your build directory
-
Interfacing a 5V Ultrasonic Sensor with 3.3V GPIO of Raspberry Pi Pico: A Voltage Divider Solution
I have an old HC-Sr04 ultrasonic sensor. I don’t know if it’s GPIO voltage compatible with the 3.3V microcontroller. On the internet, I found that the old sensors work with 5V. So, I used a voltage divider made of 1K ohm and 1.5K ohm Surface mount resistors. To bring down the 5V to a suitable…
-
Integral Control Demo in Control Systems Engineering Using Slider in Tkinter
Introduction: Control systems engineering plays a crucial role in regulating and optimizing various processes in industries, robotics, and automation. One fundamental concept in control systems is integral control, which aims to reduce steady-state error and improve system performance. In this blog post, we will explore integral control, its implementation in Python using tkinter, and discuss…
-
Proportional Control Demo using Slider in Tkinter
Understanding Proportional Control:Proportional control is a basic feedback control technique that adjusts the control signal proportionally to the error between a desired setpoint and the process variable. The process variable represents the current state of the system being controlled. By continuously monitoring and adjusting the control signal, the system strives to minimize the error and…
-
How to Transmit Data via UART with ATmega328P in AVR C using Arduino IDE
-
How to Initialize UART Communication with ATmega328P in AVR C using Arduino IDE
-
Raspberry Pi Pico Internal Temperature Sensor Based Fan Speed Control using PID Algorithm with Anti-Windup Logic
This system uses the Raspberry pi pico development board which has an RP2040 microcontroller. The RP2040 microcontroller has an internal temperature sensor. Using its internal temperature sensor I have devised a very simple setup that demonstrates the PID algorithm. Using PID Algorithm control technique I am controlling the fan speed by changing the PWM duty…
-
Wireless Plant Watering System using Raspberry Pi Pico W
Every morning my mom waters the plant. She has to water them every day and sometimes in summer, she must provide water twice a day. In winter plant needs water when necessary. Solution: For the above problem, I developed this project using raspberry pi pico w. Here is what it does: Schematic Diagram Micropython Code
