Arduino PWM Frequency Table

Timer

Prescaler

Arduino Target

 

 

Uno

Leonardo

Mega 2560

 

 

Frequency(kHz)

Frequency(kHz)

Frequency(kHz)

Timer 0

1

62.5

62.5

62.5

 

8

07.8125

07.8125

07.8125

 

64

00.9765625

00.9765625

00.9765625

 

256

00.244140625

00.244140625

00.244140625

 

1024

00.061035156

00.061035156

00.061035156

 

 

 

 

 

Timer 1

1

Scheduler

31.25

Scheduler

 

8

03.90625

 

64

00.48828125

 

256

00.122070313

 

1024

00.030517578

 

 

 

 

 

Timer 2

1

62.5

Not present

62.5

 

8

07.8125

07.8125

 

32

01.953125

01.953125

 

64

00.9765625

00.9765625

 

128

00.48828125

00.48828125

 

256

00.244140625

00.244140625

 

1024

00.061035156

00.061035156

 

 

 

 

 

Timer 3

1

Not present

Scheduler

31.25

 

8

03.90625

 

64

00.48828125

 

256

00.122070313

 

1024

00.030517578

 

 

 

 

 

Timer 4

1

Not present

31.25

31.25

 

2

15.625

 

 

4

07.8125

 

 

8

03.90625

03.90625

 

16

01.953125

 

 

32

00.9765625

 

 

64

00.48828125

00.48828125

 

128

00.244140625

 

 

256

00.122070313

00.122070313

 

512

00.061035156

 

 

1024

00.030517578

00.030517578

 

2048

00.015258789

 

 

4096

00.007629395

 

 

8192

00.003814697

 

 

16384

00.001907349

 

 

 

 

 

 

Timer 5

1

Not present

Not present

31.25

 

8

03.90625

 

64

00.48828125

 

256

00.122070313

 

1024

00.030517578