Go to Post I'm 5'5", and I'm our team's drive coach. Our drivers are nearly always taller than me. In my case, it's not the driver's station that needs to be made of lexan...it's our drivers. - StephLee [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2015, 10:31
Gabriel Mendes Gabriel Mendes is offline
Registered User
FRC #1382
 
Join Date: Jan 2015
Location: Brazil
Posts: 6
Gabriel Mendes is an unknown quantity at this point
Inductive Sensor E2E-X7D1-M1GJ 2158

Hi Everyone, I'm having trouble making the Inductive Sensor work, it doesn't have a LED indicator so its dificult to tell if its working or not, also making dificult to tell if the problem is in the program in labview or if its just the wiring that is wrong.
I wired the sensor in the power distribution 12V exit and the Signal in the Analog Input 3.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2015, 12:16
RyanShoff RyanShoff is offline
Registered User
FRC #4143 (Mars Wars)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Metamora, IL
Posts: 147
RyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to behold
Re: Inductive Sensor E2E-X7D1-M1GJ 2158

I think that is an Omron 2-wire proximity switch. I doubt wiring it to an analog input will do anything but put 12v to the input. You might get it to work if you wire it to gnd through a resistor or two. This link talks about wiring that type of sensor to an arduino: http://forum.arduino.cc/index.php?topic=149367.0 Something similiar should work. Using a DIO pin instead of an analog pin is probably more appropriate.

The are lots of posts here about wiring 3-wire NPN proximity switches to DIO pins.
__________________
Ryan Shoff
4143 Mars/Wars
CheapGears.com
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2015, 13:03
FrankJ's Avatar
FrankJ FrankJ is online now
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,917
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Inductive Sensor E2E-X7D1-M1GJ 2158

The DIs are 3.3V /5V compatible v. Your sensor is digital not analog. Best I can tell it will not work with the RobRIO.

Without adding other components, you are looking for a sensor the sinks to input to 0V. Without anything connected to it the input is pull up to 3.3 V.
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 22-01-2015 at 13:06.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi