Hello everyone, and thank you for having me.
This is my first ever arduino project, and I am completely thrown for a loop on where to start.
The basic idea is to make an electronic 6 lane finish line for my hot wheels cars, that displays the time in seconds, with a decimal, and then 3 decimal places, (tenths of a second, hundreths of a second, and thousandths of a second.)
The track is a scale quarter mile, and most cars clear it in 2 to 5 seconds.
My research led me to this setup here, which details a build for something similar.
I followed his links, which led me to this website here, complete with an arduino sketch to run everything.
Principles of operation are as follows:
1: There is a switch on the start gate that tells the arduino to start the race timer.
2: There is an IR transmitter and receiver on each lane, which tells the arduino how long the car in that lane took to go from start to finish.
3: The times for each lane are then displayed upon a 4 digit 7 segment display, and all have colons and decimals. Each lane has it's own 4 digit 7 segment display. The time is displayed for each lane until the system is reset.
My problem is that while I have the right arduino uno R3, and the right IR sensors, my displays are different. They have 4 pins each, labled "CLK,D10,GND, 5V" they use the Arduino Library "TM1637.h"
As such, the build does not work with these displays. I have already soldered to them, so returning them is not an option, and buying the actual adafruit displays is meh, since I got these 6 displays for the price of 1 Adafruit display. I was assured these were better. Somethingbto do with being able to tell it to display a number with fewer lines, rather than having to denote each character with the Adafruits.
I know next to nothing about coding, and have already spent at least 6 hours watching Mcworther's youtube series. He is awesome but not really helping me with my situation.
If you can help me alter this code to work with these displays, or point me in the right direction where I can learn how to write a sketch thatcwill work, it would be greatly appreciated.
Thank you in advance for your time.