The circuit breaker is a multi-function circuit breaker with metering and output power failure. Input AC220V, using BP2525D power chip, BL9037 metering chip, BL1117-3.3, Hongfa relay and other key components to achieve metering, output power failure and other functions .
In this example, the circuit breaker should be used with Tuya Arduino E3S SOC. The IO pin of the E3S SOC is configured to output control signals to the relay and switch signals to the metering chip, while collecting voltage, current, and power data.
Provide AC power on / off function and power statistics function.
Support downloading and using multiple categories Wi-Fi SoC development-free firmware from the AIoT console with the corresponding function board, or your own firmware based on the SDK.
Log in to the website, Tuya Smart to complete the registration or registration, and then start creating products.
Enter the product creation page, click on the electrician option, select the power statistics socket_WIFI to enter the configuration interface.
Fill in the product name, product model and communication type and click WIFI to confirm. After the confirmation is complete, the display will go to the module configuration interface.
Enter the E3S_SOC configuration interface. The first step is the function definition. This interface helps developers understand the basic functions of the switch-free development, such as remote switching, power statistics, countdown, timing and other functions. After confirming the basic functions, click Next.
APP selection interface. This interface shows developers the APP interface of various specifications sockets. Developers can also customize the APP interface according to their own preferences.
Click Edit template, developers can define the APP interface by themselves. I won’t talk too much here, developers can follow the prompts to do it themselves.
Enter the hardware debugging interface. Initially, the WR3-WIFI module is displayed. We need to replace the TYWE3S WIFI module and choose to replace the module.
Click the TYWE3S WIFI module to confirm your selection. Developers can view the information about the WIFI modules that Tuya has released in the module selection interface.
After selecting the module, enter the hardware debugging interface. Refer to the default IO port configuration schematic diagram of Tuya public version. There is also module firmware IO information configuration.
After the configuration is complete, click Save.
The PID information of the newly created circuit breaker has been generated at this time. Just click buy module. The module configuration is basically completed here. After filling in the information after placing an order, you can debug and use it.
The load is connected to a 560Ω cement resistor, and the input is connected to L and N. Press and hold the button (about 3S, the indicator flashes quickly) to put the module into the network distribution mode, open the production test route (WiFi name is tuya-mdev-test1), and then re-up The electrical module enters the production and testing process, the relay operates, and the final indicator light is always on, so far the calibration is successful.
2. Click the plus sign in the red box below
3. Add device
4. Wait for the network configuration to complete
5. Functional viewing experience
This product realizes the intelligent upgrade of traditional circuit breakers, which can better human-computer interaction, and can be controlled manually by remote only through APP. It also has power statistics to monitor the status of the load equipment.