The electronic components:
Breadboard.
Jumpers.
LED.
Resistors.
Arduino.
Bluetooth module.
Fan.
The software :
Tinkercad.
Arduino.
Bluetooth terminal application - android system on google play.
Writing the code on arduino
Uploading the code
Make sure the bluetooth module works
The fan is connected to pin 13 and the led is connected to pin 12 , the bluetooth module is connected to pin 0 and 1 "TX and RX" where they are connected inversely.
through the mobile application the bluetooth module receives the data and orders the fan and LED to work as in a smart home.
wiring on Arduino