Need More PWM ?


First i hope i opened this topic in correct title i have problems with pins actually.

My problem is i want to connect L298N and nRF24L01 together at Arduino Uno R3.

I found library for nRF24L01 but i think it requires 3 or 4 pwm pins to connect.

L298N can be connected without pwm but when i did this i faced a problem that motors weren’t working with equal speed so some guy just told me use pwm pins and it worked.

So there is not enough pwm pins for both of these parts, any suggestions ?

Thank you !

Arduino has 6 PWM, 3,5,6,9,10,11
nf24L01 needs 11,12,13 plus chip select, and maybe one (or two) more that don’t need to be PWM.

So you can use 3,5,6,9 with the L298, and 10 if you really need it. Keeping 10 as SS for the nRF24L01 I think makes coding a little simpler.

This Simple nRF24L01+ Tutorial may be of interest.

On an Uno pins 11, 12 and 13 are used for SPI.


Thank you so much for the answers. I will try them as soon as possible .

Edit: Not using 9-10 for CSN and CE pins worked for me ! Thank you again