Strange Noises

Not long ago I put up a post about driving an H-Bridge..

Well..

I hooked it up to a PIC16F84 and was using the PWM command from the PicBasic Pro compiler The PWM Command is: PWM pin, duty, cycles

1 cycle=5ms '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' For sp=100 TO 255 STEP 1 PWM 1, sp, 10 Next sp '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' I was just foolin with it, expecting to see the motor slowly accelerate. That I saw, what I heard was what resembles a music scale..with changing frequency. the frequency was going upward..i assume its the freq of the loop I have no speaker or mic connected I'm not complaining I think its cool. How is this Possible???? Anyone ever have anything like this before?

Thanks, Rick-

Reply to
Rick Cassidy
Loading thread data ...

If you didn't hear this something would be wrong with your ears!

Relax, it's normal. The PWM you're using is well within audible range, and the motors are acting as resonators in response to the frequency of the PWM.

-- Gordon Author: Constructing Robot Bases (Forthcoming) Robot Builder's Sourcebook, Robot Builder's Bonanza

Reply to
Gordon McComb

Imagine what the Gramophone would look like today, if Edison went down this path.

Reply to
Don McKenzie

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.