Answers.Body: <p>LEGO has released the source code for the EV3, so you can see how it works. Look for the "EV3 Firmware Source Code" at <a href="http://www.lego.com/en-gb/mindstorms/downloads" rel="nofollow">http://www.lego.com/en-gb/mindstorms/downloads</a>.</p>
  
  <p>You can also find the documentation generated from this source code at <a href="http://ev3.fantastic.computer/doxygen/index.html" rel="nofollow">http://ev3.fantastic.computer/doxygen/index.html</a>. In particular, these sensors are documented at <a href="http://ev3.fantastic.computer/doxygen/UartProtocol.html" rel="nofollow">http://ev3.fantastic.computer/doxygen/UartProtocol.html</a>. But beware! The documentation on the UART sensors is not 100% correct. When in doubt, trust the actual code and not the comments.</p>
  
  <p>And finally, don't forget to search for existing Arduino libraries for these sensors. Unless you want to implement your own library just for the sake of doing it yourself, you can save yourself some work. For example, you can find a library at <a href="https://github.com/lawrie/EV3_Dexter_Industries_Sensors/tree/master/EV3_arduino" rel="nofollow">https://github.com/lawrie/EV3_Dexter_Industries_Sensors/tree/master/EV3_arduino</a> from one of the leJOS core contributors.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-07T15:46:00.660Z
Answers.LastActivityDate: 2015-07-07T15:46:00.660Z
Answers.UserDisplayName: David Lechner
Body: <p>I want to connect EV3 IR and ultrasonic sensors to my Arduino.
  Unfortunately could not find any good documents describing how to use/control them.</p>
  
  <p>Could you please help?</p>
  
  <p>Thank you very much.</p>
  
Tags: <ev3><electronics>
Title: EV3 IR, ultrasonic senosor datasheets
UserDisplayName: Tigran
ThreadText: # EV3 IR, ultrasonic senosor datasheets
  
  (Asked by: username_0 on 2015-07-07)
  
  I want to connect EV3 IR and ultrasonic sensors to my Arduino.
  Unfortunately could not find any good documents describing how to use/control them.
  
  Could you please help?
  
  Thank you very much.
  
  **Tags:** ev3, electronics
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-07. Score: 3
  
  LEGO has released the source code for the EV3, so you can see how it works. Look for the "EV3 Firmware Source Code" at <http://www.lego.com/en-gb/mindstorms/downloads>.
  
  You can also find the documentation generated from this source code at <http://ev3.fantastic.computer/doxygen/index.html>. In particular, these sensors are documented at <http://ev3.fantastic.computer/doxygen/UartProtocol.html>. But beware! The documentation on the UART sensors is not 100% correct. When in doubt, trust the actual code and not the comments.
  
  And finally, don't forget to search for existing Arduino libraries for these sensors. Unless you want to implement your own library just for the sake of doing it yourself, you can save yourself some work. For example, you can find a library at <https://github.com/lawrie/EV3_Dexter_Industries_Sensors/tree/master/EV3_arduino> from one of the leJOS core contributors.
  
  
  ---
  
  