Podias complicar um pouco o código ao fazer multiplas leituras num tempo x. Por exemplo faz se a leitura do sensor em cada 0,003 segundos, ve se quantas leituras foram feitas na passagem do objecto como 56 vezes e sabe se o comprimento do objecto neste caso 4,7cm. Converte se 4,7cm para 0,047m e multiplica se o tempo pelas vezes de leitura que é 0,168. depois divide se o comprimento pelo tempo e tem se 0,28m/s e converte se para kilometros por hora. o que achas ?
oh what that sucks where do you live?....im working on an arduino project for school and im hooking it up to an LCD and also using sensors. what im doing is everytime someone walks past the sensors it counts it as 1 and sends it to the lcd. theres more to it but thats the basic premise. i figure i was going to use an if statement for when some walked passed.
@AYEnonymous to get as far as i did in the video, a few days.
i never got to finish it, i wanted to have two lasers, but it's quite hard to find them around here, but now i can shop on the net, so i'd like to resume it, but maybe use something less overkill, like an attiny...
Any chance I can have a copy of your code? I am having extreme difficulty with timer .. so any help will be highly appreciated... cheers
2012daffyduck 4 weeks ago
This has been flagged as spam show
Hi . I really liked you project
I am looking for a motion detector that will play mp3 file, when object is detected.
please email to conceptrealtor@gmail.com
ToughRealtor 4 months ago
Hmm... i think photo-diode would be much better for this project. LDR is kinda slow.
ketse89 10 months ago
Podias complicar um pouco o código ao fazer multiplas leituras num tempo x. Por exemplo faz se a leitura do sensor em cada 0,003 segundos, ve se quantas leituras foram feitas na passagem do objecto como 56 vezes e sabe se o comprimento do objecto neste caso 4,7cm. Converte se 4,7cm para 0,047m e multiplica se o tempo pelas vezes de leitura que é 0,168. depois divide se o comprimento pelo tempo e tem se 0,28m/s e converte se para kilometros por hora. o que achas ?
joaorexinho 1 year ago
oh what that sucks where do you live?....im working on an arduino project for school and im hooking it up to an LCD and also using sensors. what im doing is everytime someone walks past the sensors it counts it as 1 and sends it to the lcd. theres more to it but thats the basic premise. i figure i was going to use an if statement for when some walked passed.
AYEnonymous 1 year ago
very cool man....how long did it take you to finish it?
AYEnonymous 1 year ago
@AYEnonymous to get as far as i did in the video, a few days.
i never got to finish it, i wanted to have two lasers, but it's quite hard to find them around here, but now i can shop on the net, so i'd like to resume it, but maybe use something less overkill, like an attiny...
amando96 1 year ago
@amando96 You kinda need to imput the width of the object passing through right, unless it wont work i think
0lMelhor 8 months ago
@0lMelhor no need, nothing I measured the speed of was longer than 4.7 meters, maybe if it was I'd need a few changes.
amando96 7 months ago
ok cool thanks. pretty much you said if laser beam is broken then start count until the button pressed right?
AYEnonymous 1 year ago
@AYEnonymous if the beam is broken, and blinking == false, start counting.
if button pressed, and blinking == true, stop counting and return the values to the lcd.
amando96 1 year ago
what type of code did you use to tell the arduino to start the clock after the beam was broken?
AYEnonymous 1 year ago
@AYEnonymous
an if statement.
amando96 1 year ago
where did you buy that lcd? it looks so much like a vfd I gotta have one!
Aleator777 2 years ago
bought it in a group buy in a forum, it came from ebay, i'll get the link, and reply back in a minute, lots of diferent coloured, letters/backlight!
96bikerider96 2 years ago
sorry cant find the link :-s
amando96 2 years ago