Article
Line AC Switch Controlled by Bluetooth Low Energy

This article describes the electronics, the BL600 program and the Android program; the last being an Android smartphone application with which your mains switch circuit may be controlled wirelessly. You may notice an unusual detail for these pages — the transformerless power supply.
Materials
Components
The BOM (Bill of Materials) is the technically exhaustive listing of parts and other hardware items used to produce the working and tested prototype of any Elektor Labs project. The BOM file contains deeper information than the Component List published for the same project in Elektor Magazine. If required the BOM gets updated directly by our lab engineers. As a reader, you can download the list here.
Want to learn more about our BOM list? Read the BOM list article for extra information.
Component list
Component List
Resistors
R1,R2 = 330Ohm 1W
R3,R5,R6 = 220Ohm 0.25W
R4 = 1kOhm 0.25W 250V
R7,R8 = 4.7MOhm carbon film 0.25W 250V
Capacitors
C1 = 470nF 275 VAC, 22.5mm pitch (for 230 VAC)
C1 = 1µF 275 VAC 22.5 mm pitch (for 115 VAC)
C2 = 100µF 50 V radial
C3,C4 = 100nF 50V
Semiconductors:
LED1 = LED, red, 3mm
LED2 = LED, blue, 3mm
D1,D3,D4,D5 = 1N4007
D2 = BZX85C6V8 (6.8V 1W zener diode)
T1 = BS170
Tri1 = BT138-V
IC1 = LP2950-33
IC2 = MOC3041M
Miscellaneous
F1 = fuse, 1A slow-blow 20mm
Fuseholder, 5x20 mm (1162740)
K1,K2 = 2-way PCB screw terminal 0.3’’ (7.68mm), 630V rated (1793006)
MOD1 = BL600 e-BoB, ready assembled, ElektorSTORE # 140270-91
Case = Hammond 1591BTCL (transparent) (1877127) or 1591BGY (grey), 112x62x31 mm (4437019)
PCB adapters for case (1876930)
PG7 cable gland (Lapp Cable) (1178859)
Resistors
R1,R2 = 330Ohm 1W
R3,R5,R6 = 220Ohm 0.25W
R4 = 1kOhm 0.25W 250V
R7,R8 = 4.7MOhm carbon film 0.25W 250V
Capacitors
C1 = 470nF 275 VAC, 22.5mm pitch (for 230 VAC)
C1 = 1µF 275 VAC 22.5 mm pitch (for 115 VAC)
C2 = 100µF 50 V radial
C3,C4 = 100nF 50V
Semiconductors:
LED1 = LED, red, 3mm
LED2 = LED, blue, 3mm
D1,D3,D4,D5 = 1N4007
D2 = BZX85C6V8 (6.8V 1W zener diode)
T1 = BS170
Tri1 = BT138-V
IC1 = LP2950-33
IC2 = MOC3041M
Miscellaneous
F1 = fuse, 1A slow-blow 20mm
Fuseholder, 5x20 mm (1162740)
K1,K2 = 2-way PCB screw terminal 0.3’’ (7.68mm), 630V rated (1793006)
MOD1 = BL600 e-BoB, ready assembled, ElektorSTORE # 140270-91
Case = Hammond 1591BTCL (transparent) (1877127) or 1591BGY (grey), 112x62x31 mm (4437019)
PCB adapters for case (1876930)
PG7 cable gland (Lapp Cable) (1178859)
Discussion (0 comments)
G7ITT 8 years ago
Aubinais 6 years ago
$autorun$.pgmSWITCH.sb is the source file. $autorun$.pgmSWITCH.uwc is the compile file. The uwc is made with UwTerminal.exe and the sb file. Then you need to made it.
Best regards
Jennifer
old-maker 6 years ago
I only found the file $autorun$.pgmSWITCH.sb in the ZIP file 1400115-12-bl600-firmware; the name is quite similar but I don't know if it is the same object.
Anyone can help me please ?
Thank you.
Aubinais 6 years ago
$autorun$.pgmSWITCH.sb is the source file. $autorun$.pgmSWITCH.uwc is the compile file. The uwc is made with UwTerminal.exe and the sb file. Then you need to made it.
Best regards
Jennifer
Josep Robert 5 years ago
UwTerminal: Laird provides a terminal emulator called UwTerminal for use with our Bluetooth modules. Any terminal emulator such as Terraterm or RealTerm can also be used be UwTerminal has a number of very useful additions for example being able to compile and load smartBASIC programs onto the development board.
https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-42-and-40-modules/bl600-series