Go to Post 2011. Tried swerve. Didn't move for 1.5 regionals. - cadandcookies [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 11-12-2008, 11:35
matanost matanost is offline
Registered User
FRC #1690
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: israel
Posts: 6
matanost is an unknown quantity at this point
what I2C means?

while watching the examples in the frc libarys in LabVIew , i found some examples containing a thing called "I2C".
Can someone please tell me what that means?
thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 11-12-2008, 11:48
keen101's Avatar
keen101 keen101 is offline
Ubuntu Linux User
no team
Team Role: College Student
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Loveland, CO
Posts: 228
keen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the rough
Re: what I2C means?

It's a BUS. Similar to the USB. (Universal Serial Bus)

In theory you can have a bunch of sensors daisy chained to each other on only on two wires, and still be able to receive and transmit data from each individual sensor. Other than that i don't know much about it. But, you can do some neat things with the I2C bus. For a neat way to use the I2C bus with an array of RGB Leds watch the youtube link.

http://en.wikipedia.org/wiki/I2C

http://www.harbaum.org/till/i2c_tiny_usb/index.shtml

http://www.sparkfun.com/commerce/pro...oducts_id=8579

http://www.arduino.cc/playground/Learning/I2C

http://www.youtube.com/watch?v=dUf9SzWqKOo
Reply With Quote
  #3   Spotlight this post!  
Unread 11-12-2008, 11:54
matanost matanost is offline
Registered User
FRC #1690
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: israel
Posts: 6
matanost is an unknown quantity at this point
Re: what I2C means?

tnx
Reply With Quote
  #4   Spotlight this post!  
Unread 11-12-2008, 11:51
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: what I2C means?

I2C is a generic and widely used digital communication protocol for "simple electronics" - http://en.wikipedia.org/wiki/I%C2%B2C It is commonly used to allow a microprocessor to talk to a bunch of simple devices such as memory, sensors, ADCs or intelligent batteries. Check out the Wikipedia link for more examples, my list is by no means exhaustive.

NXT uses I2C to talk to some of its sensors. The DSC provides support to talk to those same sensors. Be careful though, not all NXT sensors use I2C. I2C sensors are also available from many other sources.

I2C allows a processor to use 2 pins to talk to many devices. If you are interested in electronics, I'd recommend looking into how it does this - it is a very cheap but decent method.

The new system also supports SPI, which is a digital communication protocol that competes in the same niche of "super simple for simple tasks". I'm excited to see what teams will end up doing with these two buses.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-12-2008, 14:35
AndrewN's Avatar
AndrewN AndrewN is offline
it's alive!
AKA: Andrew Nicholson
FRC #1778 (Chill Out)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Edmonds, WA
Posts: 48
AndrewN is just really niceAndrewN is just really niceAndrewN is just really niceAndrewN is just really niceAndrewN is just really nice
Re: what I2C means?

It is a 4 wire connection from computers to devices, plus the serial protocol for addressing and talking to the devices. The Wii uses IC2 over the cord between the Wii Remote and the Nunchuk.
__________________
Andrew Nicholson
2011 FRC Robot Inspector (Seattle, Portland)
Mentor FRC 1778 "Chill Out", FTC 3018, 3940 "Hawks", 4434 "Heat Misers"

"Everything should be made as simple as possible, but no simpler."
Reply With Quote
  #6   Spotlight this post!  
Unread 11-12-2008, 16:07
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: what I2C means?

Quote:
Originally Posted by AndrewN View Post
It is a 4 wire connection from computers to devices
As was stated before, it only uses two wires, a data line and a clock signal line. Other signals are sometimes passed with it, such as ground and power, but those aren't officially part of the bus specification. Compare with something like SPI (previously mentioned) that has additional signals for chip select and a second data line so it can run in full duplex (a device can send and receive at the same time)
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 11-12-2008 at 16:09.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-12-2008, 16:44
AndrewN's Avatar
AndrewN AndrewN is offline
it's alive!
AKA: Andrew Nicholson
FRC #1778 (Chill Out)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Edmonds, WA
Posts: 48
AndrewN is just really niceAndrewN is just really niceAndrewN is just really niceAndrewN is just really niceAndrewN is just really nice
Re: what I2C means?

You are quite right in that I2C only requires 2 pins of the processor for the signaling and it can be made to work only over 2 wires if a bridge has been used and the device doesn't have the same power source as the processor. However, in practice the devices and the processor share a common Vdd wire for power and a ground wire - total 4 wires. If you cut the cord between the Wii remote and the Nunchuk there are 4 wires - that's all I was attempting to convey.

The specification from Phillips details all the various electrical requirements for those interested, wikipedia does not.

http://www.nxp.com/acrobat_download/...8/39340011.pdf
__________________
Andrew Nicholson
2011 FRC Robot Inspector (Seattle, Portland)
Mentor FRC 1778 "Chill Out", FTC 3018, 3940 "Hawks", 4434 "Heat Misers"

"Everything should be made as simple as possible, but no simpler."
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does this I/O Message means? magical hands Programming 4 10-02-2006 22:36
I2C tutorials John Gutmann Electrical 3 30-07-2005 10:44
I2C? John Gutmann Electrical 3 19-07-2005 22:52
Anyone Know What This Means ? Help, only a few days left.. gemccnp Programming 4 19-02-2005 01:28
what is said, and what it really means. Da Moose! Chit-Chat 4 13-01-2003 01:05


All times are GMT -5. The time now is 11:47.

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