Netherlands
Asked — Edited

Adc Ports

Hello.

I am intending to use a total of 19 servo's in my robot. 1 servo to sweep the Ultrasonic pic sensor, and the other 18 servo's for the legs and movement of the robot. Ive read in the tutorial for connecting the ping sensor, that I will need to hook it up to 2 I/O ports. But with 19 servo's connected on the board, I would only have 1 digital port left.

I notice those 8 additional analog ports on the board, is it possible to use those analog ports and connect servo's or sensors to those? I was thinking of maybe adding a speaker or some leds if possible. Can those analog ports be used for such things too?

Thanks, Kristian.


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

#1  

Okidey, the Parrallax ping sensor has the transmit and receive on the same digital port. I saw one at Radio Shack here in the US for ~ $35 USD. You can probably order direct from Parrallax.

Alan

PRO
Synthiam
#2  

$35? Holy!!

19 servos is awesome:)

Netherlands
#4  

Yikes, count in shipment costs. Maybe I can find one here in Holland instead.

So Using those analog ports for the echo or trigger is not an option?

Kristian.

#5  

I don't know for sure about the analog, but I would guess no.

In another thread about the Parallax, someone asked if we could tie the transmit and receive on DJ's ping sensor to the same digital port, and I don't think that was ever answered.

Radioshack is not the only source for Parallax. I am sure you can find a European in not Dutch distributor.

Alan

PRO
Synthiam
#6  

@thetechguru that's a good question on the HC-SR04 .. I've never tried combining them... Only one way to find out!

Netherlands
#7  

yes. unfortunatly my EZ-B is still on its way here so I can't try it out myself just yet. But I'm curious to know if that works too.

By now I'm also wondering what those analog ports are for, or if and how they can be used?

Kristian.

#8  

I think DJ was volunteering to test (don't really want to risk breaking my sensor, although I doubt that could).

Analog ports are used for things like voltage or temperature meters, where you are expecting to receive a range of values (digital ports are on/off only).

The tutorial section on this site has some good examples of how they are used.

Alan