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
@@ -1379,8 +1379,7 @@ The Nesso N1 also includes one standard **Grove** connector. It provides a 5 V i
1379
1379
1380
1380
### 8-Pin Expansion Port
1381
1381
1382
-
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).
1383
-
1382
+
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).
@@ -1389,14 +1388,32 @@ An 8-pin female header provides access to additional I/O and power pins. It is d
1389
1388
| 1 |`GND`| - | Ground |
1390
1389
| 2 |`+5V OUT`| - | 5 V Output |
1391
1390
| 3 |`D1`| 7 | Digital PWM I/O |
1392
-
| 4 |`D3`|6| Digital PWM I/O |
1393
-
| 5 |`D2`|2| Digital PWM I/O |
1391
+
| 4 |`D2`|2| Digital PWM I/O |
1392
+
| 5 |`D3`|6| Digital PWM I/O |
1394
1393
| 6 |`BATTERY OUT`| - | Direct Battery Voltage Output |
1395
1394
| 7 |`+3V3 OUT`| - | 3.3 V Output |
1396
1395
| 8 |`+5V IN`| - | 5 V Input (VIN) |
1397
1396
1398
1397
***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.***
1399
1398
1399
+
#### Using I2C M5StickC compatible HATs
1400
+
1401
+
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:
1402
+
1403
+
-`D1` (GPIO7) is SCL
1404
+
-`D3` (GPIO6) is SDA
1405
+
1406
+
Initialize the I2C bus like this:
1407
+
1408
+
```arduino
1409
+
#include <Wire.h>
1410
+
1411
+
void setup() {
1412
+
// SDA on D3 (GPIO6), SCL on D1 (GPIO7)
1413
+
Wire.begin(D3, D1);
1414
+
}
1415
+
```
1416
+
1400
1417
## Support
1401
1418
1402
1419
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