Langues

Répondre au commentaire

Serial communication with more than two Arduinos

I just want to point out, that it is possible to set up a serial communication with more than two Arduinos. I2C is definitely much better, but here is what you would have to do. You have to setup a ring. TX 1 => RX 2, TX2 => RX 3, TX3 => RX 4, .... TX n => RX 1. Each Arduino needs to know its ID. Each send message needs to send the ID of the receiver. When an Arduino receives a message it compares its ID with the message ID. When equal you react to the message (consume), if not you send it to the next node. Not very efficient, but definitely possible.

Répondre

Le contenu de ce champ ne sera pas montré publiquement.
  • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h3> <h4> <h5> <h6>
  • Les lignes et les paragraphes vont à la ligne automatiquement.

Plus d'informations sur les options de formatage

CAPTCHA
Cette question permet de vérifier si vous êtes un visiteur humain afin d'empêcher les envois automatisés de pourriel.
Fill in the blank
By submitting this form, you accept the Mollom privacy policy.