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

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

#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 :)

#3  

Actually $30, but that is why I bought from you :)

Radio Shack is not cheap, but they are in almost every town in the US and keep a good inventory level of the limited stuff they do sell, so if you are in a hurry, you can usually get what you are looking for same day.

http://www.radioshack.com/product/index.jsp?productId=12326359

Alan

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

Netherlands
#9  

Great. I'm curious to see what DJ finds out. :)

Thats interesting, thanks. I have read the manual but couldn't really get an idea what they are used for. I'll read into the tutorial section more.

Kristian.

#10  

Yeah, the manual is pretty light, and really just covers the hardware. The tutorials and videos are how you really learn what the board can do (and the forum posts and release notes posted there).

Alan

Belgium
#11  

To reduce shipping costs in Europe (Belgium / The Netherlands) try this one: http://antratek.nl/

PhG

Netherlands
#12  

@PhG

Thanks! They have loads of things, very nice! I will be ordering there for sure. :)

Kristian.

Netherlands
#13  

Is there any news on tie-ing the trigger and echo wires of the Ultrasonic sensor together for use with 1 I/O port?

Kristian.

Netherlands
#14  

@Okidey

Seeedstudio has the exact same 1 line ping)) sensor, but a lot cheaper! I have it and it works perfectly with the ez-b!

--Click--

#15  

@okidey there is a way to use trigger and echo tied together,you need a transistor to ping the sensor and thenn it receives,need to add a delay in sending digital output and receiving one