Asked — Edited

Some Ideas On Using Sonars And Ir'S

on object and bumpers for robot to get a very good distance from sonar or IR,most read from like 3cm to 80cm its only a example but problem is the nearest reading will be off to make it from from 0 to the farthest detection ,set the sensor back on the robot if 3cm then thats the distance to set it back can do it in software as a offset

another item if your sensor doesnt have a stable reading try 1-10 mfd on the v+ pin on the sensor board,it does need to be one the pcb for it to work well dont want to go to high or to low of a value

another tip for using IR sensors if you place it horiz it will have the widest detection if placed vertical is good for edges and small objects like rods or legs

to narrow the beam pattern on sonars to detect small objects use a paper tube line with sound asborbing material placed on transmitting sonar


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

#25  

need a part # of the IR PACKAGE ,on script cant use clff detection because it analog input IR AND DETECTOR can not be analog,needs to be digital also has to be refective type ,not like IR sensors you are using

this one will work

refective ir sensor

The QTR-1RC reflectance sensor carries a single infrared LED and phototransistor pair in an inexpensive, tiny 0.5" x 0.3" module that can be mounted almost anywhere and is great for edge detection and line following applications

alsomost forgot you need 2 of them,for for left turning motor ,one for right turning motor, sensor is side to side when mounting them

dual and 8 refective ir sensor

#26  

The part # is QRD1114. What i meant was i still need the script for cliff detection for Wall-E. And i know the line detection need a separate script. But til now i seen no example codes, just want to get a head start once i get all the parts in im ready to go. If you got time, please post example scripts for IR cliff detection using these sensor, bought two of them already:

www.pololu.com/catalog/product/1135

I want to use the part # above for line following if possible since i have them already, two of them. also need to know script to work with it in ARC for this.

#27  

do you have the board for it,i have a few at home,can put them together and test them ,middle of next week,arm and eye hurting me a little from a small fall

code part should be easy,and much help in forum too

#28  

Ouch...glad you are ok. What board? I have the parts only, if you can test them please do.

#30  

Actually I bought the package with boards already soldered so I'm good to go:) Thought you're talking about the line IR...lol, did you take a look at the part # i posted? Will that work or need external components?

#31  

no other parts needed except 3 pin cable