![]() |
Programming Bulletin 873M Ultrasonic Analog Sensor
Hey guys. We can't find any libraries or information on programming the Rockwell Automation Ultrasonic and Color mark sensor that was available through first choice.
(http://ab.rockwellautomation.com/Sen...sonic-Sensors). Does anyone know anything? Thanks! Team 6560 |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Your link doesn't work.
Are you talking about one or both of these sensors? Ultrasonic Proximity Sensor: http://firstchoicebyandymark.com/fc17-141 Photoelectric Sensor: http://firstchoicebyandymark.com/fc17-143 These are the two Rockwell Automation sensors on FIRST Choice |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Yes! sorry about that. Your links are correct. Do you know how to program it?
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Unfortunately I do not. We are getting the ultra sonic ones from FC I'm pretty sure. Once we figure it out I'll post something here. From what I've read about these they both have analog outputs so they will both connect to the analog in pins on the roboRIO. Presumably you can declare them in the code like any other analog input device.
In the mean time I'm also hoping someone posts on here what they've found. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Ok thanks
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
I'm a little surprised that anything Rockwell doesn't have a 300 page manual associated with it...
Anyhow, if you click the ultrasonic sensor link on AndyMark's website, you'll be taken to the sensor page: http://www.ab.com/en/epub/catalogs/1...Selection.html Which your sensor shows: Analog voltage 15…30V DC 0…10V DC 873M-D18AV300-D4 Need to give it 15-30VDC, and the output will be analog, from 0-10V DC. Since the roborio's analog in looks like it only supports 0-5V, you'll need to attenuate the voltage (figure out a way to safely scale the 0-10V to 0-5V) otherwise you'll risk frying the analog in ports. Let me know if any of that makes sense, or if you need help with the circuit. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
Here's an article: https://learn.sparkfun.com/tutorials/voltage-dividers |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
We tried a voltage divider yesterday and was not able to get it to work. We only tried some resistors we had on hand... 4.7kOhm.
Our intent was to place two resistors in series, between the sensor signal, and ground, then wire the roborio signal from the common point between the resistors and ground. All resistors we found when wired between the sensor output and ground the sensor went into an error state, and flashed red. Was going to post our experiences today, but saw this thread. Please let me know if anyone else has success with a simple voltage divider, and what resistor values worked, pretty please. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
On the introduction page: http://www.ab.com/en/epub/catalogs/1...roduction.html The red LED only flashes in teach mode, otherwise it is off. What were you doing with the white wire? |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
We are using the 12v, 2 amp output on the VRM and a step up converter to amplify the voltage to 15v to power the ultrasonic sensor. We are yet to test it but we will reply with the results.
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Now we have to figure out how to decrease the output voltage of the sensor so the RoboRio can process it.
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
Will test again on Monday and Post results, and what values of resistors we used for divider. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
Quote:
Let me know if you need help with this. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
1 Attachment(s)
FWIW we tested yesterday with two 10k Ohm resistors wired in series between the black output and the blue 0V reference, and the sensor worked fine. The junction point between the two resistors ranged from 0-5v based on sensor distance, this test was done with a 24vdc power supply and a digital voltmeter, we did not install on bot yet.
Upon a more significant review of the data sheet, there is a small note that the the analog voltage sensors require input voltage of 15v-30v, which makes using this sensor on a robot more problematic, as you don't have easy access to voltages above 12v with the current control system provided. We will be looking at a different solution to measure distance on the bot this year. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Thanks for sharing your results!
This sensor is something I'd expect to find in a factory, wired to a relatively common 24vdc supply, not on a competition robot. It probably retails for way more than anyone would imagine. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
FWIW, the PCM can output 24V and does not have to be used exclusively for solenoids, if that makes your wiring any easier.
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
1 Attachment(s)
Quote:
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
I 2nd what @thatnameistaken said. In Logo Motion year there was some similar(same?) type of sensor to use to follow tape lines. Many teams including mine wired them to the pneumatics module of the crio to get 24V.
|
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Quote:
The cRIO was a 24vdc device, so the PDB in the cRIO years had a boost 12v to 24vdc built in. The power for 24v solenoids came from this supply too. There was a late rule change that allowed only these specific sensors to be wired to the 24v solenoid breakout. The current canbuss pneumatic control module has a built in 12v to 24v power supply built in to power 24v solenoids, that is what @thatnameistaken was refereeing to, but I am not sure of the legality of using this supply to power 24v sensors. It has no terminals to distribute 24v power, so about the only thing you could do is wire the power from one of the solenoid connections and turn that output on continuously. Not sure if this would be a legal use, wired this way, and I also did not see a current rating for the solenoid outputs in the PCM manual. If you are set on using this sensor, I think I would be sourcing a 3rd part 12v to 24v dc boost brick. |
Re: Programming Bulletin 873M Ultrasonic Analog Sensor
Not a great solution, but you could use a solenoid output from the pneumatics module. (Jumpers to 24V.) Downside is it will power off when the robot is disabled.
|
| All times are GMT -5. The time now is 00:28. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi