arduino + LCD + LDR + laser = speedometer
Uploader Comments (amando96)
All Comments (15)
-
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
-
Hmm... i think photo-diode would be much better for this project. LDR is kinda slow.
-
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.
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