SSC-32 and PING))) Ultrasonic range sensor

Hi,
I have an SSC-32 and Ping))) Ultrasonic range sensor, Sharp GP2D12, some other sensors :slight_smile: and a WRT54GL router working on Linux. From these I’d like to build a simple wifi controllable car. It has to be controllable also via internet.

Servo motors are working and I cross compiled a test program for the router. Everything is working fine.

Now it is time to connect the sensor and I am not going to use a separate microcontroller for that, but to read it with SSC-32. I’m confused how to connect the sensor! Inputs on SSC-32 are A,B,C and D, each having 2 pins, yet one pin of them is indicated either + or - on the board (alternating). The Sharp GP2D12 sensor has 3 pins, two of them to power it, and one data line. Where should I connect this “one” data line, to those “two” pins of A input on SSC32 to read it?

I also read the manual, but no where it is mentioned why A has two pins and how to connect a sensor having one data line! Also, searching this forum and googling around, I didn’t find a picture to see how others did this. Please give some idea! :slight_smile:

Actually, the **ABCD **inputs are only one pin each. What you are referring to as the second pin, labeled [size=150]±±[/size] are convenient points for power; 5vdc and ground respectively.

The data line of your sensor should go to one of the **ABCD **pins. The power can come from [size=150]±±[/size] pins (or another source).

I’ve sketched out a diagram for you.

sensor.jpg

[size=120]dj[/size]

Thank you! Now it is working :slight_smile:

I made a mistake and mentioned IR-SHARP at the topic but wrote about Ping))) and I don’t know how to correct the subject! Hope that administrator does this :slight_smile:

To change the subject, click “EDIT” under the very first post (The top most post of the thread), and then you will see a “Subject” field above the body text. You can change the name/title here. when done, click “Submit”. In addition to moderators, the creator of the thread can modify the title.

Ohoho, Mike. I am an administrator; I can edit anything. :smiley:

Stonebot, I’ve fixed the subject for you.

You have connected a Ping to the SSC-32. You stated “Now it is working”… These are input only pins. There is no way to toggle the Ping to start taking a measurement, and there is no real accurate (think timing) way to read the received pulse anyway. Actually the right sensor to add to the SSC-32 is the Sharp GP2D12. It’s output is analog and can be read very easily.

Jim, thank you! Actually I tested with Sharp GP2D12 he he he, but because my original post was about Ping))) I asked Administrator to edit it. I didn’t know that I can’t use my Ping on it (it was my next test). May be you could kindly suggest an alternative to make Ping to work in this configuration?

I have to explain that, my WRT54GL has only 2 serial ports, and I will use one of them for an LCD, remaining with only 1 serial port. So I can not use my Arduino, say, to sit in between ssc-32 and router, to do the job with, say, Ping. One option is to use a PIC and make an embedded web server (say, with PIC18F97J60, Ethernet included), and command ssc32 via that (I plan to have a web server on the router to access the future robot via internet). Another is to hack the router more, to add a new port using GIOP of the broadcom cpu there, but I need this to use for extra flash memory (add an SD). I don’t know that much electronic, but I think there may be is a way to multiplex serial port, to somehow send the command from the router to Arduino, and from there to ssc32.

Snailkeeper, thank you! I also learned from SN96 to edit and changed my initial test to have both Ping))) and Sharp GP2D12 mentioned. As now there is a new problem to me: I could use my Sharp GP2D12, but as Jim says, Ping))) can’t be used in this situation and I hope you help me in this thread to learn how to use Ping))) too! :slight_smile:

I made changes to that post to be more accurate, but, I was refering to non moderating users. Of course you hold the keys to all the doors! Remember the key maker in the matrix movie? :laughing:

(originally asked)Hello, new to the boards. Am I reading correctly that the Sharp GP2D12 will interface directly with the ssc-32. What voltage range do the inputs (ABCD) read? Does the input voltage of the analog sensor need to be used in conjunction with a separate board to boost/clean signal? Is there benefit to running such a board, like the phidgets ir board. I did note the pull up on the digital side. just unclear on the analog.

(Edited to) Being that the input (analog) of the ssc-32 reads from 0 to 5Vdc, Will accurate sensor readings require an interface board such as the phidgets board? The sensors (Sharp GP2Y0A02YK) analog output is -3 to +3 Vdc.

Thank you
Jay

The GP2D12 can interface directly to the SSC-32 as shown above. I don’t know anything about a +/- 3vdc sensor.

How is the data from the sensor read from the ssc-32 ? I use RoboRealm with the tcp client server socket protocol for sequencer support to control my bot.