By using an Arduino and a Bluetooth module, I created a start flag that you can control remotely.
Software
components
buzzer
9V adapter
bluetooth module
1
( Electronic circuit in Tinkercad )
1st I used Tinkercad to simulate the circuit.
I connected the components to the circuit as shown in the picture.
i use 9v battery + Blutooth Module
2
( Electronic circuit in Breadboard )
1st I used ArduinoIDE to upload the code to the Arduino.
2nd I tested the circuit as shown in the video.
+ green led ---> pin 2
+ blue led ---> pin 3
+ red led ---> pin 4
+ buzzer ---> pin 7
RTX blu ---> pin RX ( pin 0 )
RXD blu ---> pin TX ( pin 1 )
When entering data with a value of 1
The first LED will work for half a second with the buzzer.
delay half a second
The first and the second LED will work for half a second with the buzzer.
delay half a second
The first , second and third LED will work for half a second with the buzzer.
When I first uploaded the code it was not transferring to the Arduino board.
Then I told my instructor, and he told me that I had to separate the two
Pins (RX - TX ) before upload .
It actually worked after that.