Carrera Digital Analog Lap Counter Part 2 Programming

  Рет қаралды 309

Tom Sidener

Tom Sidener

Күн бұрын

In this video I show how to program an arduino (link below) to communicate with the sensor track and send data to smart race through a wifi connection.
Here is the code used in this video
tomsidenerpoems...
Here is the arduino with wifi that I used
These links are associated with an account in amazon that helps me out if you buy these items using these links.
Arduino Wifi
amzn.to/3vEsecn

Пікірлер: 19
@truwebs
@truwebs 6 ай бұрын
Tom... Thanks for sharing. Excellent explanation of the code as well! Just got the prototype breadboard circuit up and running . All looks good and seems to be in working order. The track modification will be the bigger challenge.
@tomsidener
@tomsidener 6 ай бұрын
Yeah the track modification takes some time. Good luck on your project!
@truwebs
@truwebs 6 ай бұрын
@@tomsidener Hello Tom... in the process of installing the sensors and building the circuit. What brought you to building this with slot sensors instead of light bridge?
@tomsidener
@tomsidener 6 ай бұрын
Mainly the cost. The sensors are relatively inexpensive. I tried using the camera methos first but had lots of problems with missed and extra laps.
@josephstanczak4340
@josephstanczak4340 8 ай бұрын
Much more reliable than using my TEK-Slot Analog Counter/Timer option using reflective beam off the CU track. Clever hack, but not as reliable as I would have liked. Very cool you can use this with SmartRace too!
@tomsidener
@tomsidener 8 ай бұрын
Thanks!!!
@twolinesslotcars
@twolinesslotcars 9 ай бұрын
Thanks Tom! This is great. Thanks for sharing the code! I wonder if I can get this to work with Race Coordinator. I am guessing I would just need to copy and paste the code for lane 1 or 2.. and change it to 3 and 4 for lanes 3 and 4 on my track.
@tomsidener
@tomsidener 9 ай бұрын
Is Race Coordinator free or does it cost? If its free I could download load it and do some tests.
@twolinesslotcars
@twolinesslotcars 9 ай бұрын
@@tomsidener it is free..
@tomsidener
@tomsidener 9 ай бұрын
I will install it and take a look@@twolinesslotcars
@truwebs
@truwebs 6 ай бұрын
Tom... can this code be used with a light bridge with phototransistor sensors? Or would the sketch need to be modified? While I was very successful with building a working prototype with breadboard, the track mod went south. For my skill level, it is was a very tedious job disassembling and reassembling the sensors.. My solder skills are probably C- level at best... I think I may have burned out a sensor in the desolder-resolder process. Please lets us know your thoghts on using the sketch with a light bridge setup in stead of slotted sensors.
@tomsidener
@tomsidener 6 ай бұрын
Not exactly sure how the light bridge sensor works so not 100 percent sure (I do not have one). If you can measure the voltage output on the sensor and it provides a change (up or down) when you break the beam, you should be able to read that change with the arduino. The sketch I provided switches on a voltage drop, To change it to work with a voltage spike it would need to be modified.
@truwebs
@truwebs 5 ай бұрын
@@tomsidener Are you in any of the FB slot groups or on any slot forums? I would like to communicate with you with a PM rather than public posts such as these comments. I have a proposition for you.
@tomsidener
@tomsidener 5 ай бұрын
@@truwebs You can friend me on Facebook. Just search Thomas Sidener Lincoln land community College.
@josephstanczak4340
@josephstanczak4340 8 ай бұрын
Tom, since the sensors just deliver a 0/1 signal, can one utilize the digital inputs for the sensors or must they be the analog? Longer vision: can a Nano be used in place of a Uno?
@tomsidener
@tomsidener 8 ай бұрын
Yes and Yes as long as you do not need the wifi
@tomsidener
@tomsidener 8 ай бұрын
Yes you can use digital
@truwebs
@truwebs 6 ай бұрын
What will be the improvement using digital over analog?
@tomsidener
@tomsidener 6 ай бұрын
Actually I think analog would be the improvement because you can program the break over at whatever level you want. Digital the sensor would decide when the value was a 1 or a 0. Analog for me running at 3v is 0 to about 700. I break mine at
DO NOT buy this display, unless...
44:52
upir
Рет қаралды 12 М.
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,7 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 53 МЛН
My Digital to Analog Conversion Box (For my Carrera digital 132)
26:19
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 138 М.
NixOS is Mindblowing
12:02
Chris Titus Tech
Рет қаралды 702 М.
How to make a call button for your Carrera Digital 132 race track
13:54
Downloading Images From US Military Satellites
26:51
saveitforparts
Рет қаралды 639 М.
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,5 МЛН
Getting Started with Meshtastic - Devices
15:01
The Comms Channel
Рет қаралды 207 М.
KiCad 7 STM32 Bluetooth Hardware Design (2/2 PCB) - Phil's Lab #128
2:56:53