Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: jamespeach on March 02, 2010, 02:21:17 AM
-
Hi,
I've just got my self three IR Sharp sensors GP2D120.
I'm using a programming language called Python and need to be able to reading to be displayed Python.
How do I need to connect up the Sensors?
Thanks
-
Hi!
Since you are using Python I assume you are using a standard PC. Then you need a expansion card to interface the sensor since the sensor and the computer don't speak the same "language". This should work for instance http://www.trossenrobotics.com/p/phidgets-888.aspx (http://www.trossenrobotics.com/p/phidgets-888.aspx)
Good luck!
-
Hi,
How do I need to connect up the Sensors?
The PSD's has got an analog output, so you need some form of A/D-C.
Depending on the precision you want, you could make a simple circuit (with eg. a 555) to convert the output of the PSD's to a pulse train where the frequency holds the info - might be easier for you to use this way, at least if you can access the hardwares timers.
-
Hi,
How do I need to connect up the Sensors?
The PSD's has got an analog output, so you need some form of A/D-C.
Depending on the precision you want, you could make a simple circuit (with eg. a 555) to convert the output of the PSD's to a pulse train where the frequency holds the info - might be easier for you to use this way, at least if you can access the hardwares timers.
Hi, tbh I have no knowledge of making circuit, is there any easier way... Or is there a step by step tut out there?
Also I'm very limited on time, I can only spend 2 days on getting the sensors to work.
-
I recommend you to check out http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2d12.aspx (http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2d12.aspx) , there should be everything you need to interface the sensor with a PC without having to make any circuits by yourself.
-
I recommend you to check out http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2d12.aspx (http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2d12.aspx) , there should be everything you need to interface the sensor with a PC without having to make any circuits by yourself.
Thanks once I get this,
How do I get a reading on my computer please?
-
Hi,
You need to do just a bit of your own work. Try experimenting, try Google, show interrest, that's the best way of getting other people into helping.