Skip to content

Commit bc1b67e

Browse files
authored
Merge edaad52 into c4a4636
2 parents c4a4636 + edaad52 commit bc1b67e

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
@@ -1379,8 +1379,7 @@ The Nesso N1 also includes one standard **Grove** connector. It provides a 5 V i
13791379

13801380
### 8-Pin Expansion Port
13811381

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

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

@@ -1389,14 +1388,32 @@ An 8-pin female header provides access to additional I/O and power pins. It is d
13891388
| 1 | `GND` | - | Ground |
13901389
| 2 | `+5V OUT` | - | 5 V Output |
13911390
| 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 |
13941393
| 6 | `BATTERY OUT` | - | Direct Battery Voltage Output |
13951394
| 7 | `+3V3 OUT` | - | 3.3 V Output |
13961395
| 8 | `+5V IN` | - | 5 V Input (VIN) |
13971396

13981397
***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.***
13991398

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+
14001417
## Support
14011418

14021419
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)