Step by step instruction to add gate sensor to foosball (football table)
Here you can find circuit diagram and Arduino sketch for foosball sensors works with Scoreboard application 1- connect all wire as per below diagram to connect Bluetooth module HC-06 and IR obstacle modules FC-51 to Arduino Uno R3 2- Connect Arduino Uno R3 microcontroller to your computer via USB cable 3- Upload below mentioned sketch to Arduino and upload it to your Arduino Uno R3 microcontroller 4- Disconnect Arduino from computer 5- Connect 9V battery to barrel connection 6- Go to your smartphone Bluetooth menu and search for new devices 7- Find HC-06 Bluetooth devise and pair it with your smartphone 8- Open Scoreboard application and tap on "Connect" button 9- Select HC-06 from paired device list and done, Scoreboard app must be to communicate with sensors and change the score every time any object (here foosball ball) pass in front of sensors And here is the Arduino Sketch you have to upload to your Arduino microcontroller to make Scoreboard application able to communica...