You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md
+69-3Lines changed: 69 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,13 +116,17 @@ The complete STEP files are available and downloadable from the link below:
116
116
117
117
### Unboxing the Product
118
118
119
-
When opening the Nano R4 box, you will find the board and its corresponding documentation. Unlike other Arduino products, **the Nano R4 does not include additional cables**, so you will need a USB-C cable (available separately) to connect the board to your computer.
119
+
When opening the Nano R4 box, you will find the board and its corresponding documentation. **The Nano R4 does not include additional cables**, so you will need a USB-C cable ([available separately here](https://store.arduino.cc/products/usb-cable2in1-type-c)) to connect the board to your computer.
120
+
121
+

122
+
123
+
*** ***
120
124
121
125
The Nano R4 is a standalone device that can be programmed directly without requiring additional boards. However, for more complex projects, you can easily combine it with Arduino shields compatible with the Nano family or connect it to other Arduino devices through its onboard Qwicc connector.
122
126
123
127
### Connecting the Board
124
128
125
-
The Nano R4 can be connected to your computer very simply using its onboard USB-C connector. It can also be integrated into larger projects using the following:
129
+
The Nano R4 can be connected to your computer using its onboard USB-C connector. It can also be integrated into larger projects using the following:
126
130
127
131
-**Direct USB-C connection**: For programming, power supply and serial communication with the computer
128
132
-**Pin connection**: For integration into breadboards or custom PCBs
@@ -316,4 +320,66 @@ You should now see the built-in RGB LED cycling through red, green, and blue col
316
320
317
321
Additionally, you can open the Arduino IDE's Serial Monitor (Tools > Serial Monitor) to see the status messages that the example sketch sends each time the RGB LEDs state changes.
318
322
319
-

323
+

324
+
325
+
### Orange LED
326
+
327
+
The Nano R4 also features a built-in orange user LED that can be used for basic status indications and debugging purposes.
328
+
329
+

330
+
331
+
332
+
The built-in user LED can be accessed through the following macro definition:
***Unlike the RGB LED, the built-in user LED on the Nano R4 operates with standard logic levels. This means that a voltage level of `HIGH` will turn the LED on, and a voltage level of `LOW` will turn it off.***
339
+
340
+
The following example sketch demonstrates how to control the built-in user LED:
341
+
342
+
```arduino
343
+
/**
344
+
User LED Example for the Arduino Nano R4 Board
345
+
Name: nano_r4_user_led.ino
346
+
Purpose: This sketch demonstrates how to control the built-in
347
+
user LED of the Arduino Nano R4 board.
348
+
349
+
@author Arduino Product Experience Team
350
+
@version 1.0 01/06/25
351
+
*/
352
+
353
+
void setup() {
354
+
// Initialize serial communication at 115200 baud
355
+
Serial.begin(115200);
356
+
357
+
// Configure LED_BUILTIN pin as output
358
+
pinMode(LED_BUILTIN, OUTPUT);
359
+
360
+
// Turn off LED initially
361
+
digitalWrite(LED_BUILTIN, LOW);
362
+
363
+
Serial.println("- Arduino Nano R4 - User LED Example started...");
364
+
}
365
+
366
+
void loop() {
367
+
// Turn on the built-in user LED
368
+
digitalWrite(LED_BUILTIN, HIGH);
369
+
Serial.println("- User LED on!");
370
+
delay(1000);
371
+
372
+
// Turn off the built-in user LED
373
+
digitalWrite(LED_BUILTIN, LOW);
374
+
Serial.println("- User LED off!");
375
+
delay(1000);
376
+
}
377
+
```
378
+
379
+
You should now see the built-in orange user LED blinking on and off at 1-second intervals, repeating this pattern continuously.
380
+
381
+

382
+
383
+
Additionally, you can open the Arduino IDE's Serial Monitor (Tools > Serial Monitor) to see the status messages that the example sketch sends each time the user LED state changes.
384
+
385
+

0 commit comments