Skip to content

Infactionfreddy/BIGTREETECH-Relay-V1.2

 
 

Repository files navigation

How to build PlatformIO based project

  1. Install PlatformIO Core
  2. Download development platform with examples
  3. Extract ZIP archive
  4. Run these commands:
# Change directory to example
$ cd platform-intel_mcs51/examples/stc-header

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e stc15w408as

# Upload firmware for the specific environment
$ pio run -e stc15w408as --target upload

# Clean build files
$ pio run --target clean

PIN mapping for STC15W201S

STC15W201S Pin Function
Pin 1 P3.0 (RXD)
Pin 2 P3.1 (TXD)
Pin 3 P5.4 Reset
Pin 4 GND
Pin 5 P5.5 Relay
Pin 6 P3.2 Input analog for Relay on, off
Pin 7 P3.3 Kurzschluss-Erkennung
Pin 8 VCC
Pin 7: P3.3 Kurzschluss-Erkennung
Pin 8: VCC

About

BIGTREETECH Relay V1.2 is an upgrade of the original (BIGTREETECH V1.0). After upgrading, a small MCU was added on the module to make the module more controllable and stable. Besides, we have also increased short circuit detection circuit. After connecting the 5V and GND on the motherboard to the module, if there is a 5V short circuit, the module w

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 97.7%
  • Shell 2.3%