Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Automation, sensing and robotics • Re: How to get reading from LDR Matrix

$
0
0
LDR are measuring light intensity. "ultrasonic sensor" can measure distance. Different things.
What do you want to achieve with this 8x8 setup ? How fast should the acquisition be ?

An alternative approach would be to use a camera, e.g. Pi camera board V2. Grab images, check for intensity values in small squares or circles of the image. Less effort to wire, better resolution if you need it. Fast to implement.

Using a capacitor with a digital IO pin can be done. But needs many IO pins and and will be slow. Using the LDR in a matrix would need diodes too.

A brute force way is to use a pulldown resistor for each LDR and 8 MCP3208 chips. Design a board for this unless you want to hand wire all these connections.

If your problem is 'slow', meaning scanning can take long time, then move one sensor around with some mechanic and servo motors.

Statistics: Posted by ghp — Thu Nov 21, 2024 3:10 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles