Skip to content

Commit e9b8c95

Browse files
committed
Content update (first use section)
1 parent 652a512 commit e9b8c95

File tree

7 files changed

+103
-2
lines changed

7 files changed

+103
-2
lines changed
2.98 KB
Loading
1.36 MB
Loading
192 KB
Loading
1 MB
Loading
345 KB
Loading

content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md

Lines changed: 103 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The Arduino UNO R4 Boards core provides support for the following:
8484
- HID emulation capabilities (keyboard and mouse)
8585
- Standard Arduino libraries compatibility
8686

87-
***Since the Nano R4 uses the same RA4M1 microcontroller as the UNO R4 WiFi and the UNO R4 Minima, it shares complete code and library compatibility, making it easy to transition projects between these boards.***
87+
***<strong>Important note:</strong> Since the Nano R4 uses the same RA4M1 microcontroller as the UNO R4 WiFi and the UNO R4 Minima, it shares complete code and library compatibility, making it easy to transition projects between these boards.***
8888

8989
### Pinout
9090

@@ -108,4 +108,105 @@ The complete schematics are available and downloadable as PDF from the link belo
108108

109109
The complete STEP files are available and downloadable from the link below:
110110

111-
- Nano R4 STEP files
111+
- Nano R4 STEP files
112+
113+
## First Use
114+
115+
### Unboxing the Product
116+
117+
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.
118+
119+
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.
120+
121+
### Connecting the Board
122+
123+
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:
124+
125+
- **Direct USB-C connection**: For programming, power supply and serial communication with the computer
126+
- **Pin connection**: For integration into breadboards or custom PCBs
127+
- **Qwicc connection**: For rapid expansion with compatible sensors and modules
128+
- **Module mounting**: Using the board's castellated pins for direct soldering to PCBs
129+
130+
***<strong>Important note:</strong> The Nano R4 operates at +5 VDC natively. When connecting sensors or modules that operate at +3.3 VDC, make sure to verify voltage compatibility to avoid component damage.***
131+
132+
### Powering the Board
133+
134+
The Nano R4 can be powered in several ways:
135+
136+
- **Via USB-C connector**: The most common method during development and programming
137+
- **Via `VIN` pin**: Using an external +6-21 VDC power supply that will be internally regulated to +5 VDC
138+
- **Via `5V` pin**: Directly connecting a regulated +5 VDC source (with caution)
139+
140+
![Different ways to power the Nano R4 board](assets/user-manual-4.png)
141+
142+
***<strong>Important note:</strong> The Nano R4's `VIN` pin accepts a voltage range of +6-21 VDC. Do not connect voltages outside this range as you could permanently damage the board. Always verify all the connections before applying power.***
143+
144+
The Nano R4 also includes an onboard +3.3 VDC regulator ([AP2112K](https://www.diodes.com/assets/Datasheets/AP2112.pdf)) that provides power for the following:
145+
146+
- **Qwicc connector**: Supplies +3.3 VDC power to connected I²C devices
147+
- **I²C level translation**: Enables communication between the +5 VDC microcontroller and +3.3 VDC Qwicc devices
148+
- **Internal +3.3 VDC peripherals**: Powers certain internal circuits that require +3.3 VDC operation
149+
150+
This internal +3.3 VDC supply allows the board to interface seamlessly with both +5 VDC and +3.3 VDC devices through the Qwicc ecosystem while maintaining the +5 VDC operation of the board's main microcontroller.
151+
152+
### Hello World Example
153+
154+
Let's program the Nano R4 to reproduce the classic `Hello World` example used in the Arduino ecosystem: the `Blink` sketch. We will use this example to verify that the Nano R4's connection to the computer works correctly, that the Arduino IDE is properly configured, and that both the board and development environment function as expected.
155+
156+
First, connect your Nano R4 to your computer using a USB-C cable, open the Arduino IDE, and make sure that the board is connected correctly. If you are new to the Arduino IDE, please refer to the official Arduino documentation for more detailed information about initial setup. Copy and paste the following example sketch into a new Arduino IDE file:
157+
158+
```arduino
159+
/**
160+
Blink Example for the Arduino Nano R4 Board
161+
Name: nano_r4_blink.ino
162+
Purpose: This sketch demonstrates how to blink the built-in
163+
user LED of the Arduino Nano R4 board.
164+
165+
@author Arduino Product Experience Team
166+
@version 1.0 01/06/25
167+
*/
168+
169+
// Built-in LED pin
170+
#define LED_PIN LED_BUILTIN
171+
172+
void setup() {
173+
// Initialize serial communication at 115200 baud
174+
Serial.begin(115200);
175+
176+
// Configure LED pin as output
177+
pinMode(LED_PIN, OUTPUT);
178+
179+
// Startup message
180+
Serial.println("- Arduino Nano R4 - Blink Example started...");
181+
}
182+
183+
void loop() {
184+
// Turn on the LED, wait 1 second
185+
digitalWrite(LED_PIN, HIGH);
186+
Serial.println("- LED on!");
187+
delay(1000);
188+
189+
// Turn off the LED, wait 1 second
190+
digitalWrite(LED_PIN, LOW);
191+
Serial.println("- LED off!");
192+
delay(1000);
193+
}
194+
```
195+
196+
To upload the sketch to the board, click the **Verify** button to compile the sketch and check for errors, then click the **Upload** button to program the device with the sketch.
197+
198+
![Uploading a sketch to the Nano R4 in the Arduino IDE](assets/user-manual-6.gif)
199+
200+
As shown in the image above, you should see the built-in orange user LED of your Nano R4 board turn on for one second, then turn off for one second, repeating this cycle continuously. Additionally, you can open the Arduino IDE's Serial Monitor (Tools > Serial Monitor) to see the status messages that the sketch sends each time the LED state changes.
201+
202+
![Arduino IDE Serial Monitor output for the Blink sketch](assets/user-manual-7.png)
203+
204+
This example confirms the following:
205+
206+
- The Nano R4 board is correctly connected
207+
- The Arduino IDE is properly configured
208+
- The board is functioning correctly
209+
- USB communication is working
210+
- Digital pins respond to commands
211+
212+
Congratulations! You have successfully completed your first program on the Nano R4 board. You are now ready to explore the more advanced features of this tiny but powerful board.
1.36 MB
Loading

0 commit comments

Comments
 (0)