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/09.kits/maker/nesso-n1/tutorials/user-manual/content.md
+21-4Lines changed: 21 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1486,8 +1486,7 @@ The Nesso N1 also includes one standard **Grove** connector. It provides a 5 V i
1486
1486
1487
1487
### 8-Pin Expansion Port
1488
1488
1489
-
An 8-pin female header provides access to additional I/O and power pins. It is designed to be fully compatible with the **M5StickC HAT** series of expansion boards, allowing you to easily add functionality with modules for everything from sensors to communication. You can explore the range of compatible HATs on the [M5Stack store](https://shop.m5stack.com/collections/for-stick).
1490
-
1489
+
An 8 pin female header provides access to additional I/O and power pins. It is designed to be fully compatible with the **M5StickC HAT** series of expansion boards, so you can easily add modules for sensors, inputs, and extra connectivity. You can explore the range of compatible HATs on the [M5Stack store](https://shop.m5stack.com/collections/for-stick).
@@ -1496,14 +1495,32 @@ An 8-pin female header provides access to additional I/O and power pins. It is d
1496
1495
| 1 |`GND`| - | Ground |
1497
1496
| 2 |`+5V OUT`| - | 5 V Output |
1498
1497
| 3 |`D1`| 7 | Digital PWM I/O |
1499
-
| 4 |`D3`|6| Digital PWM I/O |
1500
-
| 5 |`D2`|2| Digital PWM I/O |
1498
+
| 4 |`D2`|2| Digital PWM I/O |
1499
+
| 5 |`D3`|6| Digital PWM I/O |
1501
1500
| 6 |`BATTERY OUT`| - | Direct Battery Voltage Output |
1502
1501
| 7 |`+3V3 OUT`| - | 3.3 V Output |
1503
1502
| 8 |`+5V IN`| - | 5 V Input (VIN) |
1504
1503
1505
1504
***The `BATTERY OUT` pin provides the direct, unregulated voltage from the LiPo battery. Be cautious when using this pin, as the voltage will vary depending on the charge level.***
1506
1505
1506
+
#### Using I2C M5StickC Compatible HATs
1507
+
1508
+
M5StickC HATs that use I2C expect the bus on the D1 and D3 pins of this connector. On the Nesso N1 you must explicitly remap the I2C pins in your sketch so that:
1509
+
1510
+
-`D1` (GPIO7) is SCL
1511
+
-`D3` (GPIO6) is SDA
1512
+
1513
+
Initialize the I2C bus like this:
1514
+
1515
+
```arduino
1516
+
#include <Wire.h>
1517
+
1518
+
void setup() {
1519
+
// SDA on D3 (GPIO6), SCL on D1 (GPIO7)
1520
+
Wire.begin(D3, D1);
1521
+
}
1522
+
```
1523
+
1507
1524
## Support
1508
1525
1509
1526
If you encounter any issues or have questions while working with the Arduino Nesso N1, we provide various support resources to help you find answers and solutions.
0 commit comments