Electric Potato
Well-known member
Hey guys,
This has been bugging me, I have an nrf24l01+ radio on a teensy 3.2 that runs a motor thru a tip120. The motor is speedy and responsive if I change analogWriteFrequency to something high, say 187500Hz, but the problem is it blocks any radio packets from sending/receiving while it's spinning. If I leave analogWriteFrequency at the default 488.28Hz there is no wireless problem at all, but the motor emits an audible PWM whine and spins more slowly.
The motor is on pin 3 which as far as I can tell shares a timer only with pin 4; neither are used by the nrf. I don't think it has to do with current draw because even when sending the tip120 analogWrite values too low to move the motor, wireless still gets suspended.
thanks for any insights!
This has been bugging me, I have an nrf24l01+ radio on a teensy 3.2 that runs a motor thru a tip120. The motor is speedy and responsive if I change analogWriteFrequency to something high, say 187500Hz, but the problem is it blocks any radio packets from sending/receiving while it's spinning. If I leave analogWriteFrequency at the default 488.28Hz there is no wireless problem at all, but the motor emits an audible PWM whine and spins more slowly.
The motor is on pin 3 which as far as I can tell shares a timer only with pin 4; neither are used by the nrf. I don't think it has to do with current draw because even when sending the tip120 analogWrite values too low to move the motor, wireless still gets suspended.
thanks for any insights!