FAQ
TL;DR: This FAQ is for CR-MINI-N2 owners who need a working flash and pin map. It confirms 4 mapped pins and the expert result "All work perfectly." The posted BK7231N/CBS2 unit flashed easily with Tuya-Cloudcutter using the Tuya Generic profile, then mapped P7, P8, P11, and P24 to channel 1 functions. [#20846118]
Why it matters: If you have this exact mini smart switch, the thread gives a complete starter mapping for custom firmware without guesswork.
Key insight: The most useful takeaway is simple: this exact CR-MINI-N2 variant was flashed successfully and every posted function pin worked on channel 1. That reduces trial-and-error when building a firmware template. [#20846118]
Quick Facts
- The reported device is a CR-MINI-N2 based on BK7231N / CBS2 and was posted on 2023-12-04. [#20846118]
- The flash method used was Tuya-Cloudcutter with the Tuya Generic profile, and the result was described as easy. [#20846118]
- The published mapping lists 4 pins: P7, P8, P11, and P24. [#20846118]
- All posted functions are assigned to channel 1, which simplifies a one-relay configuration. [#20846118]
- The functional roles are P7 = TglChanOnTgl, P8 = LED_n, P11 = Btn, and P24 = Rel. [#20846118]
How do I flash the CR-MINI-N2 mini smart switch with Tuya-Cloudcutter using the Tuya Generic profile?
You can flash this reported CR-MINI-N2 with Tuya-Cloudcutter by using the Tuya Generic profile. The thread states the process was easy on this exact unit. 1. Put the device into the flashing workflow used by Tuya-Cloudcutter. 2. Select
Tuya Generic. 3. Flash, then verify the 4 posted pins in firmware.
[#20846118]
What is the pinout for the BK7231N / CBS2-based CR-MINI-N2 mini smart switch?
The posted pinout has 4 active mappings on channel 1. P7 is
TglChanOnTgl, P8 is
LED_n, P11 is
Btn, and P24 is
Rel. The board is identified in the topic as
BK7231N / CBS2 and the author states all listed functions worked perfectly.
[#20846118]
Which GPIO pin controls the relay on the CR-MINI-N2, and how should it be configured?
P24 controls the relay, and the thread labels it
Rel on
channel 1. In custom firmware, map P24 as the relay output for channel 1. That matches the posted table exactly and is the only relay mapping shown for this unit.
[#20846118]
How should I map the button, LED, and relay pins for the CR-MINI-N2 in custom firmware?
Map
P11 as
Btn,
P8 as
LED_n, and
P24 as
Rel, all on
channel 1. The thread also maps
P7 as
TglChanOnTgl on the same channel. This gives you one complete single-channel configuration from the posted working setup.
[#20846118]
What function does pin P7 serve on the CR-MINI-N2, and how does TglChanOnTgl work on channel 1?
P7 serves as
TglChanOnTgl on
channel 1. In this posted configuration, that means P7 is assigned to a toggle action for the same single channel used by the relay, LED, and button. The thread does not add more behavior detail beyond the working name and channel assignment.
[#20846118]
Why is the status LED on the CR-MINI-N2 labeled LED_n, and how does that affect firmware configuration?
The LED pin is labeled
LED_n on
P8, so your firmware should use that exact posted role on channel 1.
"LED_n" is a pin role that drives the status LED, with the suffix indicating the board uses that specific LED logic label in firmware templates. The thread confirms P8 worked with this assignment.
[#20846118]
What is Tuya-Cloudcutter, and how does it work for flashing Tuya-based devices like the CR-MINI-N2?
Tuya-Cloudcutter is the flashing method used successfully on this CR-MINI-N2, and the thread says it worked easily with
Tuya Generic.
"Tuya-Cloudcutter" is a flashing tool that writes firmware to supported Tuya devices, and in this case it let the posted CR-MINI-N2 be flashed without any serial steps being described. [#20846118]
What is the CBS2 module in the CR-MINI-N2, and how is it related to the BK7231N chip?
The topic identifies this switch as
BK7231N / CBS2, so the thread treats CBS2 as the module paired with the BK7231N platform in this unit.
"CBS2" is a device module category that hosts the smart-switch electronics, and here it is directly associated with the BK7231N-based CR-MINI-N2 discussed in the post. [#20846118]
Tuya-Cloudcutter vs serial flashing for the CR-MINI-N2: which approach is easier and when should each be used?
The thread only confirms that Tuya-Cloudcutter was easy on this exact device and gives no serial flashing result. A direct comparison is not possible from the post alone. The safest thread-based conclusion is that
Tuya-Cloudcutter + Tuya Generic is the proven method for this reported CR-MINI-N2.
[#20846118]
What does the Tuya Generic profile do in Tuya-Cloudcutter, and why does it work for this smart switch?
For this switch, the Tuya Generic profile is the profile that successfully flashed the device in Tuya-Cloudcutter. The thread does not explain its internal matching logic. It only provides one clear fact: the reported CR-MINI-N2 flashed easily when that profile was selected.
[#20846118]
How can I verify that pins P7, P8, P11, and P24 are working correctly after flashing the CR-MINI-N2?
Verify them by checking each posted function on
channel 1 after flashing. 1. Press
P11 and confirm the button input responds. 2. Toggle the channel and confirm
P24 switches the relay and
P8 changes LED state. 3. Confirm
P7 performs the posted toggle function. The author’s validation was explicit:
"All work perfectly." [#20846118]
What firmware template or device configuration should I use for a CR-MINI-N2 with BK7231N and the posted pin mapping?
Use a single-channel template with
P7 = TglChanOnTgl,
P8 = LED_n,
P11 = Btn, and
P24 = Rel. Assign every one of those roles to
channel 1. That is the only complete working configuration published in the thread for this BK7231N / CBS2 CR-MINI-N2.
[#20846118]
Why might a CR-MINI-N2 fail to flash with Tuya-Cloudcutter even if a similar BK7231N device works?
The thread does not list any failure causes, so it cannot explain why another unit might fail. That missing detail matters because the post documents only
1 successful case on a CR-MINI-N2 purchased from Amazon. If your unit differs internally, the thread gives no fallback steps or alternate profile data.
[#20846118]
What safety precautions should I follow when opening, flashing, and testing a mains-powered mini smart switch like the CR-MINI-N2?
The thread provides photos and pin roles, but it does not state any electrical safety procedure. The only safe thread-based answer is that no precautions were documented in the post. Because this is a mini switch with a relay on
P24, do not assume the thread includes isolation, mains, or handling guidance.
[#20846118]
Where can I buy the CR-MINI-N2 mini smart switch, and how can I confirm it is the flashable BK7231N / CBS2 version before purchasing?
The reported unit was purchased from
Amazon. To confirm you have the same flashable version, match the identifiers shown in the thread:
CR-MINI-N2,
BK7231N / CBS2, and the posted 4-pin mapping with
P7, P8, P11, and P24. The thread gives no seller link, price, or broader buying checklist.
[#20846118]
Generated by the language model.
Comments