Introduction: Arduino Foosball Scoreboard ( Sensor IR Led )
Two months ago I was build Foosball table. It looks OK, but I miss Arduino. I didn't like scoring units, so I was made electronic scoreboard. Main board I was chose Arduino Pro mini 5V. LCD display I was chose 16x02. For ball (goal) detector was used IR led for transmitter and TSOP34838 for receiver. 500ohm variable resistor it is for adjusting IR led. So if TSOP34838 didn't detect IR beam adjust variable resistor.
Step 1: Parts
To create this Foosball scoreboard you will need:
1) Arduino Pro mini 5V
2) 16x02 LCD display HD44780
3) LCD i2c module
4) IR photo module TSOP34838
5) IR led
6) KF50BDT 5V voltage regulator
7) 12x12 Tact Switch
8) 5V Buzzer
9) 850mAh 2s LiPo battery
10) 470R, 1K, 10K - resistors
11) 500ohm variable resistor
Step 2: Schematic and Wiring Diagram
Step 3: PCB for Foosball Scoreboard
Design printed circuit board (PCB), I was used ,,Sprint-Layout" software.
Exported to Gerber files.
Sprint Layout 6.0 demo >> link
Step 4: Arduino Code
IRremote.h library >> https://github.com/z3t0/Arduino-IRremote/archive/m...
LiquidCrystal_I2C.h library >> https://bitbucket.org/fmalpartida/new-liquidcryst...
7 Comments
Question 3 years ago
Hi, I have problems with floating values on the analog pin, which reads the switches. Do I need to use the intern pullup or pulldown, or use a resisor which is permanently connected?
Answer 3 years ago
Hi, It is simple voltage divider.
4 years ago
Hello, I have been able to solve the problem of the LCD, now I have another problem, the push up on the side of the blacks that has the resistance of zero, does not increase.
Reply 4 years ago
upload this code and check your button analog value
https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/
and adjust this value >> int Button[8][3] = {{1, 905, 919}, // button 1 0R -- Black UP
4 years ago
Hello, I have already solved the problem of Irsend, now when programming the arduino, the LCD does not appear anything but squares in the first line, thanks for the help
Question 4 years ago on Step 6
hello, I'm having trouble programming the arduino gives the error "irsend does not name a type" can you help ??
Reply 4 years ago
Hello, check your Arduino libraries folder. Maybe do you have another IR remote library which conflict with ,,Arduino-IRremote-master" library