Skip to content

Commit fccb94d

Browse files
Update README.md
1 parent f1c1d1f commit fccb94d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ You can also copy this folder with all its files into the 'libraries' folder of
1212

1313
**Usage**
1414

15-
Connect the LED(s) DIN pin to pin D4 (PC6) of the Arduino Nano Every.
16-
Don't forget to connect its power supply too.
15+
![RC delay circuit](https://github.com/ClemensAtElektor/Nano_Every_WS2812B/blob/main/extras/ATmega4809-WS2812B-driver-16MHz-RC-network.png)
16+
17+
Connect pin D4 (PC6) of the Arduino Nano Every to the anode (left) of diode D1. Connect DIN pin of the WS2812B LED (string) to the cathode (right) of D1.
18+
Don't forget to connect the +5V power supply too.
19+
20+
With this circuit the Arduino Nano Every can run at its normal clock speed of 16 MHz (and not 20 MHz as advertised by Arduino). Without this circuit the MCU must be slowed down about 25%. This can be achieved by defining MCU_SLOW_DOWN at the top of the file Nano_Every_WS2812B.h.
1721

1822
**About**
1923

@@ -26,9 +30,6 @@ Board: Arduino Nano Every (ATmega4809)
2630

2731
Developped on Arduino IDE 1.8.15
2832

29-
**IMPORTANT NOTE**
30-
31-
*This library makes the CPU run at about 12 MHz, adjust baud rates and delay times accordingly!*
33+
**NOTE**
3234

33-
The reason for this is that the Arduino Nano Every runs at 16 MHz, not at 20 MHz as advertised.
34-
Now timer prescaler values that would work at 20 MHz come out slightly wrong at 16 MHz. Slowing down the CPU fixes this.
35+
*If the CPU is slowed down, adjust baud rates and delay times accordingly!*

0 commit comments

Comments
 (0)