Skip to content

Commit e4f3428

Browse files
update T3 notes
1 parent 19a3614 commit e4f3428

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

tutorial-3-advanced-io/01-mainboard-pins.md

+6
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ The most common one is the 4 pin one but there are 2, 3, 5, 6 pin versions of th
105105

106106
![](images/molex.png)
107107

108+
![](images/Molex_mainboard.jpeg)
109+
108110
## XA Connector
109111

110112
XA Connector is the rarest one because it is only soldered on the boards made in Spring 2024. It is in brownish-white color or we call it rice color in chinese.
@@ -114,6 +116,8 @@ The most common one is the 4 pin one but there are 2, 3, 5, 6 pin versions of th
114116
![](images/XA1.jpg)
115117
![](images/XA2.jpeg)
116118

119+
![](images/XA_mainboard.jpeg)
120+
117121

118122
## XH Connector
119123

@@ -123,6 +127,8 @@ The most common one is the 4 pin one but there are 2, 3, 5, 6 pin versions of th
123127

124128
![](images/XH.jpg)
125129

130+
![](images/XH_mainboard.jpeg)
131+
126132
## Rainbow wires
127133

128134
When we are lazy, we will just use rainbow wires to connect things. You can tear a few wires out to use it when you need.

tutorial-3-advanced-io/02-pwm-and-servo.md

+16
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Dicaprio Cheung
1313

1414
# Servo Motor
1515

16+
>The servo of this data sheet is not the servo you are using in the tutorial. We are using MG996R Servo Motor
17+
1618
![data sheet reference](https://i.imgur.com/kcznbWB.png)
1719

1820
### What is servo motor?
@@ -145,6 +147,20 @@ There are 4 steps in setting up the PWM output channel and the pin to use.
145147
- Red 5V wire of servo connect to Vcc(Voltage) of GPIO port
146148
- Brown GND wire of servo connect to GND(Ground) of GPIO port
147149

150+
<details>
151+
152+
<summary>My servo have different color wires!</summary>
153+
154+
155+
Servos of different models have different colored wires.
156+
157+
For servos with White, Red, Black wires, their color code is:
158+
- White PWM wire of servo connect to the pin you chose (PC7(TIM3\_CH2) for the example above)
159+
- Red 5V wire of servo connect to Vcc(Voltage) of GPIO port
160+
- Black GND wire of servo connect to GND(Ground) of GPIO port
161+
162+
</details>
163+
148164
![](images/Servo-wires.png)![](images/GPIO_pins.png)
149165

150166
### Start Coding!!!
Loading
Loading
Loading

0 commit comments

Comments
 (0)