Let others know!

Like this:

8 comments

hi…given a situation…in a dark room of 10by10 ft…6 or 7 bright ights are placed in any order…now my bot(s) at centre has to detect them and switch them off(just by hitting the plate surrounding the light source)…shall i go for ldr…or use a webcam on a linux+opencv running bot…and switch them off???….please help me…

also,how you were able to calculate the distance between your bot and other bots to be ‘catched’ in the event catch me if u can…???thanks a lot…

1. Using LDR, will not let you know where is the exact spot where the light is glowing. But using OpenCV, that can be easily determined.
2. If the room lighting is not adequate, LDR may fail, while you can adjust your code in OpenCV to accommodate the lighting of the room.

As far as the distance is concerned, that is quite easy. Firstly I found out the centroid of the fitted shape. Once I knew what were the co-ordinates, I could easily find out the distance, because I knew my co-ordinates.

Hello,
I am working one project in which I am supposed to use two MPU6050 accelerometer with arduino uno sensors. I want to collect the real time data of two accelerometers simultaneously and want to plot its real time graph. Then which software should I use for real time plot Matlab or Processing? and how to interface arduino data on matlab or processing?