Pages: [1]   Go Down
Author Topic: LDR grid  (Read 1138 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 I was wondering if anyone thinks its possible to build a ldr grid.  Using a number of ldr's in a vertical and horizontal format to make a grid.  So if an object passed through the grid.  The ldr's would be triggered to give a location within the grid.

What I'm thinking of is a grid(screen) that you can pitch a softball or baseball through and give a location for training purposes.  The arduino would need to be fast enough to read all or the sensors(ldr) to capture a ball going through the grid in the split second the ball travels through the grid(strike zone).

I don't even know if the ball would be enough to change the state of the sensor in outdoors in bright light and distance from the ldr.  If you had 3" by 4" grid.  Maybe a different sensor would be needed.  If you place the sensors a couple of inches apart in the grid.  To capture the location of the ball within the strike zone.

Any input would be appreciated.

Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 536
Posts: 27061
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

what is 'ldr'?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 1
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ldr=Light Dependent Resistor or photoresistor

Maybe an IR led would be better for the sensor?
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

IR is not good outside under the sun. Why not using a video camera to capture an image to show where the ball goes through? How fast it the ball?
Logged


Offline Offline
Newbie
*
Karma: 1
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What I'm thinking of is a training tool/ pitching game.  Where the pitcher would be given a certain pitch and location.  So if a fastball in the upper right hand corner is called by the arduino.  It would sense if the correct location was made and give instant feed back.  Kind of a game to make it fun to train.  The ball would be about in the low 60 mph.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 536
Posts: 27061
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Will need to make it sturdy to protect against errant pitches.
60 MPH, that's 88 feet per second, 1056 inches per second.
Baseball is about 3 inch diameter, will be thru your frame in about 2mS.
You will need a 18" x 18" opening to simulate the strike zone.
Sensors at least every 2" I would guess so at least a portion of the ball is always picked up.
So 8 sensors (2", 4", 6", 8", 10", 12", 14", 16") in vertical &  horizontal, 16 total, scanned rapidly enough so that every intersection is read within 2mS. So reading at 125 uS clip?
You can make a loop that can go that fast no problem.
Not sure if having 2 interrupts occur, then you scan the inputs to see which 2 detectors got momentarily blocked, will do it.
May need to have the detectors trigger a flip-flop or similar to capture the transition, scan them after any one is triggered, similar to the keypad tutorial.
Don't know if IR will do it for you, you'll have look at the radiating spread angle of your sending device and see if it will be picked up by the neighboring detectors.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: