Because the YL-105 communicates via Serial, the code is surprisingly simple. We will use the SoftwareSerial library so we can keep the hardware USB serial port free for debugging messages on the Serial Monitor.
⚠️ Some clones swap DO and AO. Always test with a multimeter or LED first. yl105 datasheet better
| Specification | F2211/2 YL105 | F221V1IN YL105 | F3003/4 YL105 | | :--- | :--- | :--- | :--- | | Supplied diameter | 0.500" (12.7mm) | 1.000" (25.4mm) | 0.750" (19.05mm) | | Recovered diameter | 0.250" (6.35mm) | 0.500" (12.7mm) | 0.300" (7.62mm) | | Shrink ratio | 2:1 | 2:1 | 2.5:1 | | Length | 4.00' (1.22m) | 4.00' (1.22m) | 4.00' (1.22m) | | Color | Yellow | Yellow | Yellow | | Material | Cross-linked polyolefin | Cross-linked polyolefin | Semi-rigid | | Operating temp | -55°C to 135°C | -55°C to 135°C | -55°C to 125°C | Because the YL-105 communicates via Serial, the code
: Unfortunately, a formal manufacturer datasheet for this specific board is rare. The "better" documentation is a combination of its features. Search "YL-105 voltage regulator Arduino" or "YL-105 NRF24L01 adapter pinout" to find community guides, specs, and wiring diagrams. For details on the regulator chip itself, search for the AMS1117 datasheet . Always test with a multimeter or LED first
This is the #1 mistake. Remember: