
How to Connect Multiple Arduino Microcontrollers with I2C Wie kann man mehrere Arduino Mikrocontroller Connect mit I2C

Use I2c to connect several Arduinos together to combine their power. I2C stands for the Inter Integrated Circuits and is one of the best Verwenden Sie I2c mehrere Arduinos miteinander verbinden zu kombinieren ihre power. I2C steht für die Inter Integrierte Schaltkreise anda ist eine der besten Multi Master Serial Computer Bus Multi Master Serial Bus Computer technologies used in different systems to connect the peripherals of low speed data transmission. Technologien in verschiedenen Systemen an die Peripherie der niedrigen Geschwindigkeit der Datenübertragung zu verbinden. The technology was invented by Philips for TVs but is used in all sorts of applications including our Die Technologie wurde von Philips für Fernseher erfunden, sondern ist in allen Arten von Anwendungen eingesetzt unserer Wiimote and Arduino tutorial Wiimote und Arduino Tutorial . .

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. Die I2C-Schaltungen folgen einer einheitlichen operativen Verfahren, bei dem nur zwei bi-directional Linien, eine serielle Uhr, und einen seriellen Daten-Systeme used. sind, gibt es in letzter Zeit verbessert Versionen von I2C-Schnittstellen auf dem Markt erhältlich, die eine höhere Anzahl von Knoten halten kann und ausführen kann schneller als die anderen.
- Don't miss: Verpassen Sie nicht: Top 40 Arduino Projects of the Web Top 40 Arduino Projekte des Web
![]()
You can use I2C then you will be able to connect more than one Sie können I2C verwenden, dann können Sie mehr als eine Verbindung Arduino Arduino to a robot or other application and you can easily establish a network of sensors. an einem Roboter oder einer anderen Anwendung, und Sie können ganz einfach eine Netzwerk von Sensoren. 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 Durch den Einsatz dieser Schaltungen werden Sie mehr Controller-Pins zur Verfügung zu haben, die Sie zum Hinzufügen weiterer devices. Sie erlauben werden auch andere Optionen wie ein Expander oder Arduino Mega Arduino Mega , but I2C because is significantly cheaper. , Aber I2C, da ist deutlich billiger.
How To Set Up Your I2C How To Set Up Your I2C
Here are the basic requirements for setting the Hier sind die grundlegenden Anforderungen für die Einstellung des I2C protocol with the Arduino I2C Protokoll mit dem Arduino : :
- More than two Arduinos Mehr als zwei Arduinos
- The latest version of the Arduino IDE Die neueste Version der Arduino IDE
- Few pieces of hook up wire Nur wenige Stücke hook up Draht
- 1.5 to 2K Pull-up resistors 1,5 bis 2K Pull-up-Widerstände
- You need to install the Arduino wire library (new versions have it built in) Sie müssen die Arduino Draht-Bibliothek installieren (neue Versionen haben es im eingebauten Zustand)
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. Wenn Sie mit zwei Arduinos, dann muss man den Master und die andere als die slave. Um ein erfolgreiches Projekt zu gewährleisten handeln muss, müssen Sie sicherstellen, dass Sie ein Minimum 1K Pull-up Widerstand auf jeder einzelnen Zeile verwenden die sie ziehen wird auf 5 Volt.
If you are interested in learning more about the I2C and the Arduino, here are a few great resources: Wenn Sie mehr über den I2C und der Arduino interessiert sind, hier sind ein paar große Ressourcen:










































August 13th, 2009 13. August 2009
Hello! Hallo!
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: Ich habe einige Zeit in der Praxis mit dem Arduino I2Cbus auf der Grundlage der Philips Gerät PCF8574P getan, die Wahrheit ist, dass ich keine Ahnung, wie kompliziert das werden würde, war im Prinzip bin ich versucht, eine 4 × 3 numerische Tastatur zu machen, wird als Beispiel gezeigt, in diesem Link:
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. Ich kann nicht wieder die Nummer der Taste gedrückt halten.
I can help, what should I do to show me the number for the button pressed. Ich helfen kann, was soll ich tun, um mir die Nummer für die Maustaste gedrückt.
Thanks for your reply. Vielen Dank für Ihre Antwort.