![]() ![]() ![]() The term "squarewave should ONLY be used when you are referring to a 505 duty cycle signal that DOES NOT CHANGE DUTY CYCLE. Describing PWM signals to newbies calling them "squarewaves" is poor tutorial form because they might pick up your bad habits and repeat this "PWM square wave" nonsense in front of others who will look at each other and wonder "where did he get HIS electronics training ?".Ģ-pwm is pwm and NOT a "squarewave" (a "squarewave is SO CALLED because both sides have the same length, the duty cycle is 50%, giving it a "half square " appearance, unlike a 5% duty cycle waveform. By the same token PWM signals tend NOT to be 50% duty cycle, except maybe for a fleeting moment. While if you wanted to get "technical" you could make a case that a squarewave is ACTUALLY a 50% duty cycle PWM signal, but this would be nonsense since clock signals are not pwm. ![]() Squarewaves tend not to change their duty cycle because they are usually clock signals. I realize you have some electronics and software experience and you are clearly not a noob, but I would discourage you from using the term "squarewave" and "PWM" in the same sentence, since they are clearly NOT the same thing, as any technician or engineer would know. But to the receiving circuit, the square wave average will be a voltage proporionate to the square wave duty cycle, hence RC circuit is usually not needed by most device that receives 0-Xvolt control signal. The typical application will have PWM square wave and then passed to RC filter to convert to analog, hence the parlance analog pwm (be it right or wrong). It's just lame to use an RC LPF with an arduino if you can get a 12-bit DAC for $5. RC LPFs are something you resort to because you lack the proper tools, (either out of ignorance, laziness, or financial considerations). Who has ACTUALLY worked on this would understand what I just described.Īnyone with any Professional electronics experience wouldn't use an RC LPF because their cheap microcontroller didn't come with a DAC. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |