Рет қаралды 267
In the second episode about PWM, i.e. pulse width modulation, I will show examples of GENERATING such signals using MICROCONTROLLERS - there will be simple PROGRAMS, I will also show how to control the SERVO - how to generate a signal and how this signal translates into the position of the servo arm. In a simple way, for BEGINNERS.
I will show it in the SIMULATOR and in PRACTICE - there will be a free simulator, but also NODEMCU, WEMOS, SERVO, DIODE, OSCILLOSCOPE.
Since I am not a programmer - my code may contain errors, although it works, it is intended to show in the EASIEST WAY possible how to generate signals, so I only used BASIC commands.
Part one:
• Podstawy PWM - modulac...
I invite you to watch!
0:00 Introduction
0:18 Diode - change of fill factor - example in the simulator, basics of PWM generation - digitalWrite() and delay() - disadvantages of this solution
3:02 Using analogWrite()
4:18 Servo arm control - example in the simulator
7:18 NodeMCU - diode brightness control - practical example, Arduino IDE, oscillograms
9:25 Servo control - practical example - NodeMCU without using a library
10:27 using the library to control a servo using WeMOS D1 mini
11:15 Servo control using the generator from the first part - calculations
11:56 PWM generator and servo - how it works in practice.
Links to the simulator:
PWM - diode wokwi.com/projects/3879193794...
PWM - Servo wokwi.com/projects/3879229349...
In the video I used:
-NodeMCU v3
- WEMOS D1 mini
- WOKWI simulator
- Arduino IDE
- Instrustar ISDS 205B USB oscilloscope
- SG90 servo
- PWM generator from the previous video
See also:
RCD - RESIDUAL CURRENT CIRCUIT BREAKER, differential switch - for beginners and others - COMPENDIUM
How to DESIGN a functional and safe SWITCHGEAR in a FREE program and generate LABELS
Fuses, ES - i.e. circuit breakers for beginners and not only in theory and practice
Short Circuit Loop Impedance for beginners and more - what it is, how to measure, how to interpret
Waveforms, TruRMS, PWM, duty cycle %. For beginners and more
CONTROL with START STOP buttons, impulse, on contactors or relays
Measurement errors for electronics beginners and others - when? How? What for? useful patterns
MULTIMETERS, meters in practice - for beginner electronics and others. COMPENDIUM
__________________________________________________________
🔔 Subscribe 🔔
👉 / @elektrotechnika-krakow
__________________________________________________________
I invite you to:
👉 www.naprawa-laptopa.com.pl - over 100 articles about laptop and electronics repairs!
👉 www.smarthomekr.pl - website about electricity and home automation.