View Single Post
  #5   Spotlight this post!  
Unread 10-01-2014, 17:31
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Help for LV-MaxSonar-EZ1

You'll want to use a PWM cable cut in half to connect the sensor to the Analog Breakout. One end of the cable should be the female end and the other end should have 3 bare wires.

Red wire should go to the +5 pin on the sensor. Black wire to GND on the sensor and white wire to AN on the sensor. You'll need to solder all 3 connections. The connector end of the cable goes into the Analog Breakout. Black wire to GND, red wire to +5v and white wire to SIG.

In software, you'll need to find the AnalogVoltage (or something similarly titled) function. I can't help you much beyond that, since I'm not familiar with LabView.

When you read a voltage, every .0098 volts equals one inch. The relation is proportional.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote