Loading docs/shield.md +13 −13 Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ ## Ping groups **Sonic:** **Sonic:** //!used 1. `Trig` trigger from pin `P1_1` 1. `Echo` echo to pin `P1_3` 1. `3v3` power from board - 3.3V. 1. `GND` ground. **Servo:** 1. `S` pwm signal from pin `P2_7`. //edit: `P1_1`?? 1. `+` power from battery - 5V (ask Olda). 1. `S` pwm signal from pin `P2_7`. // P1_1 1. `+` 5V 1. `-` ground. **Regl:** Loading @@ -25,7 +25,7 @@ 1. `GND` ground. **I2C 2:** //lidar?? **I2C 2 (Lidar):** 1. `SDA` data from pin `P4_0` (flexcomm 9). 1. `SCL` clock from pin `P4_1` (flexcomm 9). 1. `3v3` power from board - 3.3V. Loading @@ -34,14 +34,14 @@ **UART 1 (ESP):** 1. `Tx` data from pin `P3_16` (flexcomm 8). 1. `Rx` clock from pin `P3_17` (flexcomm 8). 1. `Rx` data from pin `P3_17` (flexcomm 8). 1. `5V` power from battery - 5V (Olda). 1. `GND` ground. **UART 2:** 1. `Tx` data from pin `P3_4` (flexcomm 7). 1. `Rx` clock from pin `P3_5` (flexcomm 7). 1. `Rx` data from pin `P3_5` (flexcomm 7). 1. `3v3` power from board - 3.3V. 1. `GND` ground. Loading @@ -49,7 +49,7 @@ **Battery:** 1. `Vbat` divided voltagr from battery to pin `ADC1_B0`. - Assume max voltage is 12V, use some appropriate voltage divider. - *FUSE* **Line cam 1:** 1. `SI` signal to pin `P2_2`. 1. `CLK` clock to pin `P2_3`. Loading @@ -75,15 +75,15 @@ **Motor encoder (connector from previous shield):** 1. `3v3` power from board - 3.3V. 1. Not connected. 1. D0. 1. D1. 1. D2. 1. D0. //P1_15 1. D1. // P1_14 1. D2. //P1_17 1. `GND` ground. **Rotation encoder:** 1. D0. 1. D1. 1. BTN. 1. D0. // P1_23 1. D1. // P2_0 1. BTN. //P1_22 1. `3v3` power from board - 3.3V. 1. `GND` ground. Loading Loading
docs/shield.md +13 −13 Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ ## Ping groups **Sonic:** **Sonic:** //!used 1. `Trig` trigger from pin `P1_1` 1. `Echo` echo to pin `P1_3` 1. `3v3` power from board - 3.3V. 1. `GND` ground. **Servo:** 1. `S` pwm signal from pin `P2_7`. //edit: `P1_1`?? 1. `+` power from battery - 5V (ask Olda). 1. `S` pwm signal from pin `P2_7`. // P1_1 1. `+` 5V 1. `-` ground. **Regl:** Loading @@ -25,7 +25,7 @@ 1. `GND` ground. **I2C 2:** //lidar?? **I2C 2 (Lidar):** 1. `SDA` data from pin `P4_0` (flexcomm 9). 1. `SCL` clock from pin `P4_1` (flexcomm 9). 1. `3v3` power from board - 3.3V. Loading @@ -34,14 +34,14 @@ **UART 1 (ESP):** 1. `Tx` data from pin `P3_16` (flexcomm 8). 1. `Rx` clock from pin `P3_17` (flexcomm 8). 1. `Rx` data from pin `P3_17` (flexcomm 8). 1. `5V` power from battery - 5V (Olda). 1. `GND` ground. **UART 2:** 1. `Tx` data from pin `P3_4` (flexcomm 7). 1. `Rx` clock from pin `P3_5` (flexcomm 7). 1. `Rx` data from pin `P3_5` (flexcomm 7). 1. `3v3` power from board - 3.3V. 1. `GND` ground. Loading @@ -49,7 +49,7 @@ **Battery:** 1. `Vbat` divided voltagr from battery to pin `ADC1_B0`. - Assume max voltage is 12V, use some appropriate voltage divider. - *FUSE* **Line cam 1:** 1. `SI` signal to pin `P2_2`. 1. `CLK` clock to pin `P2_3`. Loading @@ -75,15 +75,15 @@ **Motor encoder (connector from previous shield):** 1. `3v3` power from board - 3.3V. 1. Not connected. 1. D0. 1. D1. 1. D2. 1. D0. //P1_15 1. D1. // P1_14 1. D2. //P1_17 1. `GND` ground. **Rotation encoder:** 1. D0. 1. D1. 1. BTN. 1. D0. // P1_23 1. D1. // P2_0 1. BTN. //P1_22 1. `3v3` power from board - 3.3V. 1. `GND` ground. Loading