
How to Connect Multiple Arduino Microcontrollers with I2C कैसे I2C के साथ एकाधिक Arduino Microcontrollers कनेक्ट करने

Use I2c to connect several Arduinos together to combine their power. I2C stands for the Inter Integrated Circuits and is one of the best का प्रयोग करें I2c कई Arduinos जोड़ने के साथ साथ अपने power. I2C गठबंधन अंतर एकीकृत परिपथों आंदा के लिए खड़ा है सर्वश्रेष्ठ में से एक है Multi Master Serial Computer Bus बहु मास्टर सीरियल बस कंप्यूटर technologies used in different systems to connect the peripherals of low speed data transmission. विभिन्न प्रणालियों में इस्तेमाल के लिए कम गति आंकड़ा संचरण के बाह्य उपकरणों से कनेक्ट प्रौद्योगिकियों. The technology was invented by Philips for TVs but is used in all sorts of applications including our तकनीक फिलिप्स ने टीवी के लिए खोज की लेकिन आवेदन सहित सभी प्रकार में उपयोग किया गया है हमारे Wiimote and Arduino tutorial Wiimote और Arduino ट्यूटोरियल . .

The I2C circuits follow a standard operational procedure where only two bi-directional lines, a serial clock, and a serial data systems are used.  There are recently improved versions of I2Cs available on the market which can hold a higher number of nodes and can perform faster than the rest. I2C सर्किट एक मानक संचालन जहां केवल दो द्वि-directional लाइनों, एक धारावाहिक घड़ी है, और एक धारावाहिक डेटा सिस्टम used. प्रक्रिया का अनुसरण कर रहे हैं वहाँ हैं हाल ही में बाजार में उपलब्ध है जो नोड्स के एक उच्च संख्या पकड़ कर सकते हो I2Cs के संस्करणों में सुधार और प्रदर्शन कर सकते हैं आराम से अधिक है.
- Don't miss: नहीं याद मत: Top 40 Arduino Projects of the Web शीर्ष 40 Arduino वेब की परियोजनाओं
![]()
You can use I2C then you will be able to connect more than one तुम I2C उपयोग कर सकते हैं तो आप एक से अधिक कनेक्ट कर सकेंगे Arduino Arduino to a robot or other application and you can easily establish a network of sensors. एक रोबोट या अन्य अनुप्रयोग है और आप आसानी से सेंसर का एक नेटवर्क स्थापित कर सकते हैं. By using these circuits you will have more controller pins at your disposal which will allow you to add more devices. You do have other options such as an expander or इन सर्किट का उपयोग कर आप अपने निपटान में और अधिक नियंत्रक पिंस होगा जो आपको और अधिक devices. तुम ऐसा जोड़ने के लिए अनुमति देगा तक ऐसी एक या expander के रूप में अन्य विकल्प हैं Arduino Mega Arduino मेगा , but I2C because is significantly cheaper. है, लेकिन क्योंकि I2C है काफी सस्ता है.
How To Set Up Your I2C कैसे स्थापित आपका I2C
Here are the basic requirements for setting the यहाँ स्थापित करने के लिए बुनियादी आवश्यकताओं हैं I2C protocol with the Arduino Arduino के साथ I2C प्रोटोकॉल : :
- More than two Arduinos दो से अधिक Arduinos
- The latest version of the Arduino IDE Arduino आईडीई के नवीनतम संस्करण
- Few pieces of hook up wire तार ऊपर हुक के कुछ टुकड़े
- 1.5 to 2K Pull-up resistors 1.5 को 2K प्रतिरोधों अप खींचो
- You need to install the Arduino wire library (new versions have it built in) आप Arduino तार पुस्तकालय स्थापित करने की आवश्यकता (नए संस्करणों में इसे बनाया है)
If you are working with two Arduinos, then one must be the master and the other must act as the slave. To ensure a successful project, you need to make sure that you are using a minimum 1K pull-up resistor on every single line which will pull it to 5 Volts. यदि आप दो Arduinos के साथ काम कर रहे हैं, तो एक गुरु और अन्य slave. करने के लिए एक सफल परियोजना को सुनिश्चित करने के रूप में कार्य करना चाहिए होगी, तो आपको यह सुनिश्चित कर लें कि आप हर एक पंक्ति पर एक रोकनेवाला को न्यूनतम 1K पुल का उपयोग कर रहे हैं की जरूरत है जो इसे 5 वोल्ट को खींच जाएगा.
If you are interested in learning more about the I2C and the Arduino, here are a few great resources: यदि आप I2C और Arduino के बारे में अधिक सीखने में रुचि रखते हैं, यहाँ हैं कुछ महान संसाधन हैं:












































August 13th, 2009 13 अगस्त 2009
Hello! हैलो!
I've done some time in practice with the Arduino I2Cbus based on the Philips device PCF8574P, the truth is that I had no idea how complicated that would be, in principle I am trying to make a 4×3 numeric keypad, as is the example shown in this link: मैं Arduino फिलिप्स उपकरण PCF8574P पर आधारित I2Cbus के साथ व्यवहार में कुछ समय किया है, सच यह है कि मैं कोई कितनी जटिल है कि होगा विचार था, सिद्धांत रूप में मैं एक 4 × 3 संख्यात्मक कीपैड करने की कोशिश कर रहा हूँ, के रूप में है उदाहरण के इस लिंक में दिखाया गया है:
http://www.arduino.cc/playground/Main/I2CPortExpanderAndKeypads http://www.arduino.cc/playground/Main/I2CPortExpanderAndKeypads
I can not get back the number of the button pressed. दबाया मैं वापस बटन की संख्या नहीं मिल सकती.
I can help, what should I do to show me the number for the button pressed. दबाया मैं, मुझे क्या करना चाहिए मदद करने के लिए मुझे बटन के लिए संख्या दिखा सकता हूँ.
Thanks for your reply. आपके उत्तर के लिए धन्यवाद.