Can I directly wire sensors to the SSC-32 or do I need some electronics in the mix - what would they look like?
Specifically, I wanted to wire things like the URS-01 and DE-11 to one of the four Analog inputs (A,B,C,D).
I think the URS-01 requires some signalling to make it ping and I was hoping to use one of the servo control lines (say #31) and send it HIGH or LOW through the programming interface.
Well, I decided to try the SRF04 connection first cause I just purchased the servo housing for it.
I’ve got a pretty neat java program to control the servo’s. It’s running on a AJ100 based micro controller and drives the SSC-32 via the serial port. I wanted to get range finder data back to the controller. The SSC analog IO pins seemed to be the logical choice. Also, I found that I could send a logic low or logic high to any pulse pin (kind of like digital output). So given that I wired the SRF04 pins : black - 0v ground, blue - trigger pulse input, yellow - echo pulse output, red - 5v supply.
I connected:
red to SSC pin 30 (2VS)
black to SSC pin 30 (GND)
blue to SSC pin 31 (PULSE) - I could have gone to pin 30 PULSE but used a 3way molex with the white line open on pin block 30.
Yellow I want to connect to the A, B, C, or D pins.
I’m not sure which one it should connect to (+ or -). Also where does the connection to the other side go? to Ground? e.,g. PIN 31 (GND)
P.S. I’m using a 9V powersupply to power the SSC-32. Oh and there no resistors/capacitors/transistors, etc. in my wiring.
I don’t usually discourage experimentation, but I have serious doubts this will work. You can turn on and off outputs to start a ping, but there are minor timing issues with doing this that will skew your results in a major way. Good luck with it.