Build a Display Score for Tennis Games Using Arduino

63760


Intro: Build a Display Score for Tennis Games Using Arduino

 This is an idea very useful to help during the games of tennis. With this gadget you don´t need anymore keep in mind the scores during the games.

You will need an Arduino Nano (or even other), LCD (20x4), I2C adapter (20x4), 433 MHz module receiver, transmitter for 433 MHz and a few others components (Check all the components in the list bellow).

You can build using a breadboard or even in universal PCB.  

STEP 1:

The transmitter that I used was not developed by me, but it is produced by factory. You can use any transmitter that uses the same frequency of your receiver. The transmitter has only 1 button. So, I had to created a way to identify which score should be updated. In order to solve this problem, I identify across the time witch button was pressed. If it was pressed between 1 and 2 seconds, a specific scored is updated. Otherwise I update the other.

To help during the game, I also included a LED to identify when the button was pressed more then 4 seconds. So, the LED in red color will be switched on to “say”: “Ok, you can release the button of RC transmitter. I understood that it was pressed for more than 4 seconds”.


I also put another LED. This one is white color and is connected in the pin of data from 433 receiver module. It helps to identify that the module it is receiving well the signal.


Another trick is the buzzer. I used as a way that I found to help the other players check that the score was changed. You can also put a switch in order to be able to turn on or turn off the sound of buzzer.


The 433 receiver module has no antenna connected. But if you include, it will increase the range. The antenna do not must be higher than 15 centimeters.


The power supply comes from a 9 Volts battery connected directly in the Arduino.



You gonna need download these libraries bellow:

#include <RCSwitch.h>

#include <LiquidCrystal_I2C.h>


Special thanks to the site Wooduino (woodsgood.ca) with the great idea to increase the size of the numbers to be shown in LCD.


The code is attached below.


PS: Sorry for any mistake in English, because my native language is Portuguese.