Arduino Laser Lap Timer 0.2

preview_player
Показать описание
Work in progress...

Рекомендации по теме
Комментарии
Автор

Great little project, simple and very effective. so many others similar but none work as easy as this, nice one!

TheNathanolder
Автор

Hey Michael,

What do you mean by "you don't see the emitter"? The laser diode (taken from a cheap laserpointer) is connected to PIN13 (laserPin). The code for enabling the laser and reading the brightness from the photoresistor:

//switch laser on

digitalWrite(laserPin, HIGH);


//mesasure light

lightLevel = analogRead(0); // read from PINA0
lightLevel = map(lightLevel, 0, 900, 0, 255);
lightLevel = constrain(lightLevel, 0, 255);

Hope this helps!

bestimmaa
Автор

back again. is there a simple change to the code so the lap time displays a decimal point ?? so it would display e.g 1.500 instead of 1500 ?

TheNathanolder
Автор

Wow, sweet work! I downloaded the source code and datasheet, but I don't see the infrared emitter and reciever, only the display and a potentiometer - how can that be? And I also wondering about the source code - is the pin you have defined as "laserPin" the emitter? and where have you defined the reciever pin?

Anyway, nice job! :D

michaelnrbo
Автор

this is great idea, you shouldnt stop develop this project. i tryed with your code but didnt work for me. I will try to fix.. Thaks for the idea man

aGGreSSiv
Автор

You can! I will post a link when I get home...

bestimmaa
Автор

hi. can someone explain the schematic of circuit please? i cannot figure out where to connect some resistors. Thanks.

mucahitkahraman
Автор

hi me again. i have successfully made the circuit and modified(for the lcd that use is different-i2c-) and upload the code on arduino. but either when pressed the button the timer starts even the laser light is going on photoresistor or stack on standby mode even the light from laser doesnt go to photoresistor. Can you help me please?

mucahitkahraman
Автор

It will take about 6 hours! Just arrived in the office ;)

bestimmaa
Автор

Hey man!
Awesome build. I was wondering if I could get the source code for school stuff :-)

Frankiistein
Автор

hey, download link is posted in the description. post some results if you have built something :)

bestimmaa
Автор

Oh, I thought that you used an infrared emitter and receiver :D
I get it know ;-)

michaelnrbo