Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
manual [2020/11/30 19:19] bgfdsuperadmin |
manual [2020/11/30 19:57] bgfdsuperadmin |
||
---|---|---|---|
Line 4: | Line 4: | ||
//Edited by Bluegoldfishdesign 20-Nov-20// | //Edited by Bluegoldfishdesign 20-Nov-20// | ||
- | {{ https://www.allaboutcircuits.com/ | + | {{ hc12:hc12pcb.png }} |
- | {{ wiki: | + | |
=== Product Applications === | === Product Applications === | ||
* Wireless sensor | * Wireless sensor | ||
Line 77: | Line 77: | ||
=== Product Dimensions === | === Product Dimensions === | ||
- | {{ wiki:HC-12_dimensions.png }} | + | {{ hc12:hc12dimensions.png }} |
- | Definition of Pins | + | === Definition of Pins === |
The HC-12 module can be patch soldered, or have a 2.54mm-spacing pin header | The HC-12 module can be patch soldered, or have a 2.54mm-spacing pin header | ||
attached and directly inserted onto the user’s PCB. The module has nine pins in | attached and directly inserted onto the user’s PCB. The module has nine pins in | ||
total, and one RF antenna socket (ANT1), with definitions as shown in the table | total, and one RF antenna socket (ANT1), with definitions as shown in the table | ||
below: | below: | ||
- | Pin Definition I/O direction Notes | + | |
- | 1 Vcc | + | ^ Pin ^ Definition |
- | Power supply input, DC3.2V-5.5V, | + | | 1 | Vcc | | Power supply input, DC3.2V-5.5V, |
- | capacity not less than 200mA. Note: if the | + | | 2 | GND | | Common ground |
- | module is working in the transmitting state | + | | 3 | RxD | Input (weak pullup) |
- | for an extended time, it is suggested that a | + | | 4 | TxD | Output |
- | 1N4007 diode be connected in series if the | + | | 5 | SET | Input (10k pullup) |
- | supply voltage is greater than 4.5V, so as to | + | | 6 | ANT | Input/ |
- | avoid overheating the onboard LDO regulator | + | | 7 | GND | Common ground |
- | 2 GND Common ground | + | | 8 | GND | Common ground |
- | 3 RxD | + | | 9 | NC | |
- | Input | + | | ANT1 | ANT | Input/ |
- | (weak pullup) | + | | ANT2 | ANT | Input/ |
- | UART data input, TTL level. 1k resistor | + | |
- | connected in series inside the module | + | |
- | 4 TxD Output UART data output, TTL level. 1k resistor | + | |
- | connected in series inside the module | + | |
- | 5 SET | + | |
- | Input | + | |
- | (10k pullup) | + | |
- | Parameter setting control pin, active low | + | |
- | level. 1k resistor connected in series inside | + | |
- | the module | + | |
- | 6 ANT Input/ | + | |
- | 7 GND Common ground | + | |
- | 8 GND Common ground | + | |
- | 9 NC | + | |
- | No connection, used in mechanical fixing, | + | |
- | compatible with HC-11 module pin position | + | |
- | ANT1 ANT Input/ | + | |
- | ANT2 ANT Input/ | + | |
Pins 1-6 each have two bonding pads, with the outer half-hole bonding pads | Pins 1-6 each have two bonding pads, with the outer half-hole bonding pads | ||
intended for patch soldering. When the inner bonding pad ANT2 of Pin 6 is used | intended for patch soldering. When the inner bonding pad ANT2 of Pin 6 is used | ||
Line 119: | Line 102: | ||
round-hole bonding pads of Pins 1-5 may then be used to solder a 2.54mm-spacing | round-hole bonding pads of Pins 1-5 may then be used to solder a 2.54mm-spacing | ||
pin header that can be plugged into a PCB socket. | pin header that can be plugged into a PCB socket. | ||
- | Wireless Serial Port Transparent Transmission | + | |
+ | === Wireless Serial Port Transparent Transmission | ||
(1) Simple introduction of working principle | (1) Simple introduction of working principle | ||
+ | |||
As shown in the above diagram, two HC-12 modules can be used in place of | As shown in the above diagram, two HC-12 modules can be used in place of | ||
physical wiring to replace a wired half-duplex serial communications link | physical wiring to replace a wired half-duplex serial communications link |