Added: 2 years ago
From: amando96
Views: 21,499
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (15)

Sign In or Sign Up now to post a comment!
  • 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 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 You kinda need to imput the width of the object passing through right, unless it wont work i think

  • @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.

  • ok cool thanks. pretty much you said if laser beam is broken then start count until the button pressed right?

  • @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.

  • what type of code did you use to tell the arduino to start the clock after the beam was broken?

  • @AYEnonymous

    an if statement.

  • where did you buy that lcd? it looks so much like a vfd I gotta have one!

  • 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!

  • sorry cant find the link :-s

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more