Welcome! Log In Create A New Profile

Advanced

RAMPS 1.4 connection with proximity sensor

Posted by QyKiske 
RAMPS 1.4 connection with proximity sensor
April 27, 2018 03:40AM
Hello everyone,

I need some help with the wiring of proximity sensor to RAMPS 1.4.
I'm working on a project using Arduino Mega + RAMPS 1.4 to control 4 stepper motors.
As i need to have a fixed distance between the robot and the obstacle, one motor must be controlled by the proximity sensor.

I was thinking of using this sensor Infrared Proximity Sensor Short Range - Sharp GP2Y0A41SK0F but i don't know how to connect it to the RAMPS or if it is even possible to connect to the RAMPS.

If anyone can help me with this, or can recommend other sensor to connect to the RAMPS, i would be very much grateful.

Thank you and have a nice day.
Re: RAMPS 1.4 connection with proximity sensor
April 28, 2018 05:04AM
Arduino/Ramps is able to deal with analog sensors. It's a question of firmware.
I also had good results with ultrasonic sensors. They return digital values, but aren't very accurate.
Re: RAMPS 1.4 connection with proximity sensor
April 28, 2018 06:28PM
This sensor will work with Arduino, although you may need a comparator for it to work.

It also has a tough time sensing glass or reflective objects

I would recommend you watch this video: [www.youtube.com]
Re: RAMPS 1.4 connection with proximity sensor
April 29, 2018 02:48AM
You might also need a servo to move the sensor left/right like a scanner.
Sorry, only registered users may post in this forum.

Click here to login