Skip to content

Commit e291d40

Browse files
authored
Merge pull request #2733 from arduino/91volt/nesso-n1-fix-pin-references
[PXCT-1593] Fix Nesso n1 pin references
2 parents ccd3ec9 + edaad52 commit e291d40

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed
Binary file not shown.
-4 Bytes
Loading
-303 KB
Loading

content/hardware/09.kits/maker/nesso-n1/tutorials/user-manual/content.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,8 +1486,7 @@ The Nesso N1 also includes one standard **Grove** connector. It provides a 5 V i
14861486

14871487
### 8-Pin Expansion Port
14881488

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).
14911490

14921491
![8 pins Expansion Port](assets/expansion-port.png)
14931492

@@ -1496,14 +1495,32 @@ An 8-pin female header provides access to additional I/O and power pins. It is d
14961495
| 1 | `GND` | - | Ground |
14971496
| 2 | `+5V OUT` | - | 5 V Output |
14981497
| 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 |
15011500
| 6 | `BATTERY OUT` | - | Direct Battery Voltage Output |
15021501
| 7 | `+3V3 OUT` | - | 3.3 V Output |
15031502
| 8 | `+5V IN` | - | 5 V Input (VIN) |
15041503

15051504
***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.***
15061505

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+
15071524
## Support
15081525

15091526
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

Comments
 (0)