START A BIT > Blog A Bit > This page
In the last session of LP2536.A: PWM Output, 25w36, we continue learning PWM, and this time, we demonstrated again what the PWM looks like using oscilloscope, but time time we use the simulator in Tinkercad. We create our own PWM signal to drive the TM017: Feetech Micro Servo FS90-180, which requires a special cycle time and duty time, but not the normal analogWrite() output directly from Arduino. Of course, there is Servo library for a convenient use, but we design the project PJ027: Drive Servo Motor Using PWM by Arduino in purpose to generate the PWM only using digitalWrite() with controlled HIGH and LOW. This is challenging, but very good project to get better understanding of the PWM, and using it as signal to communicate with some external devices like servo motor. By this, we have successfully completed the whole learning topic focusing on Analog Output and PWM, now we have got better idea and good experience of guiding the students for how to learn this hard subject.
The HW wiring for PJ027 that we make this session
A note from the whiteboard
We demonstrated the PWM wave in simulator by Tinkercad
A student is trying the project
A student is focusing on programming