View unanswered posts | View active topics It is currently Sat Oct 20, 2018 11:25 pm






Reply to topic  [ 3 posts ] 
Reading sensor's value through motor port on EV3 
Author Message
Rookie
User avatar

Joined: Sun Apr 10, 2016 10:24 am
Posts: 1
Location: Chelyabinsk, Russia
Post Reading sensor's value through motor port on EV3
Both motor and sensor ports implements I2C protocol. I wonder whether it's possible to read sensor's state by using motor port?

Any samples would be very helpful as well. Thank you!

_________________
— Sergey Zwezdin
Microsoft MVP


Sun Apr 10, 2016 10:27 am
Profile WWW
Expert

Joined: Thu Dec 01, 2011 12:07 am
Posts: 151
Post Re: Reading sensor's value through motor port on EV3
This page has information on the difference between the sensor ports and motor ports:
http://www.dexterindustries.com/shop/breadboard-adapter-lego-mindstorms/


Sun Apr 10, 2016 8:00 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Reading sensor's value through motor port on EV3
The motor ports most definitely do not use I2C, at least not with the standard firmware. You cannot read sensors with the motor ports.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Apr 11, 2016 1:06 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.