Comunicación entre arduinos

Español

Cuando existe la necesidad de comunicar dos placas Arduino para poder pasar información entre ellas, ya sea porque no tenemos entradas y salidas suficientes con una placa y utilizamos una segunda para ese propósito, o porque queremos dividir el trabajo entre los dos procesadores de sendas placas, existen diferentes técnicas. Una de las posibilidades  es la que os explicamos a continuación.

Esta técnica consiste en comunicarlas (conectarlas) mediante el bus de comunicaciones I2C. Para esto solamente hay que conectar las entradas analógicas 4 y 5 de ambas placas (SDA y SCL respectivamente) y colocar entre cada línea y alimentación una resistencia de 1K5 a 4K7.

Es muy importante conectar entre sí las GND de ambas placas.

Lo siguiente que queda es probar con los programas que os adjuntamos a continuación que lo que hacen es enviar un dato recibido por un sensor analógico conectado en A0 y enviarlo a la segunda placa Arduino. Los datos de ambas placas se pueden ver en el hiperterminal.
El programa “envio_datos” se cargará en la placa Arduino 1 que tiene el sensor analógico y el programa “recepción_datos” en el Arduino 2.

Aquí teneis un ejemplo con los dos programas funcionando en paralelo. El “envio_datos” se realiza por el COM3 y la “recepción_datos” por el COM4.

Enlace archivos

Comentarios

There's definately a great deal to find out about this subject.
I really like all the points you made.

My website: Agen Judi Poker Online - http://nontonbola080800.blogspot.co.id/2016/12/10-masyarakat-bingung-age...

There's definately a great deal to find out about this subject.
I really like all the points you made.

Also visit my web blog Agen Judi Poker
Online - http://nontonbola080800.blogspot.co.id/2016/12/10-masyarakat-bingung-age...

I got this site from my pal who shared with me concerning this site and at the moment
this time I am browsing this web site and reading very informative posts
at this time.

Also visit my blog Agen Bola Terpercaya - http://kilimanjarojr.blogzet.com/pemain-penasaran-atas-agen-judi-casino-...

I got this site from my pal who shared with me concerning this site and at the
moment this time I am browsing this web site and reading very informative
posts at this time.

Here is my webpage - Agen Bola Terpercaya - http://kilimanjarojr.blogzet.com/pemain-penasaran-atas-agen-judi-casino-...

Thank you for another wonderful article. Where else may anybody get that type of information in such an ideal method of writing?

I have a presentation next week, and I am at the look for such info.

Here is my web-site seo windows vps - http://edwintogy001.blogolize.com/VPS-with-SEO-tools-SEO-VPS-3255633

Do you have any video of that? I'd like to find out more
details.

Check out my blog; Agen Judi Casino Indonesia - http://nontonbola.total-blog.com/masyarakat-kena-penyakit-taruhan-bola-o...

Do you have any video of that? I'd like to find out more details.

Also visit my webpage Agen Judi Casino Indonesia
- http://nontonbola.total-blog.com/masyarakat-kena-penyakit-taruhan-bola-o...

I every time used to study post in news papers but now as I am a user of
net therefore from now I am using net for content, thanks to web.

Look at my web-site - Bandar Judi Casino Terbaik - http://nontonbola.edublogs.org/2016/12/30/8-rasakan-keuntungan-melimpah-...

I every time used to study post in news papers but now as I am a user of net therefore from now I
am using net for content, thanks to web.

My web site: Bandar Judi Casino Terbaik - http://nontonbola.edublogs.org/2016/12/30/8-rasakan-keuntungan-melimpah-...

whoah this weblog is fantastic i really like studying your posts.

Stay up the good work! You realize, a lot of persons are
searching round for this info, you can help them greatly.

my website; Bandar Bola Terbesar - http://pusatliga.com

whoah this weblog is fantastic i really like studying your posts.

Stay up the good work! You realize, a lot of persons are searching round for this
info, you can help them greatly.

Also visit my website; Bandar Bola Terbesar - http://pusatliga.com

It's a shame you don't have a donate button! I'd certainly donate to this superb blog!
I suppose for now i'll settle for book-marking and adding your RSS
feed to my Google account. I look forward to
new updates and will talk about this site with my Facebook group.
Chat soon!

Here is my site - seo vps server - http://landenxskc223.pages10.com/Premium-SEO-VPS-Hosting-3664389

Hi my friend! I want to say that this article is awesome, great written and include almost all important infos.

I would like to look extra posts like this .

my webpage ... ck togel 2d hari ini - http://marcobxrl94826.bloguetechno.com/Database-Result-Togel-Lengkap-201...

Hi my friend! I want to say that this article is awesome,
great written and include almost all important infos.
I would like to look extra posts like this .

My page; ck togel 2d hari ini - http://marcobxrl94826.bloguetechno.com/Database-Result-Togel-Lengkap-201...

Hello there! This post couldn't be written any better!
Reading this post reminds me of my previous room mate!
He always kept chatting about this. I will forward this article to him.

Pretty sure he will have a good read. Thank you for sharing!

Here is my web page - Angka Jitu Hongkong Nanti Malam - https://carakerjajuditogelkudalari960.wordpress.com/2017/01/18/angka-jit...

Hello there! This post couldn't be written any better!
Reading this post reminds me of my previous room mate!
He always kept chatting about this. I will forward this article
to him. Pretty sure he will have a good read. Thank you for sharing!

Here is my web site :: Angka Jitu Hongkong Nanti Malam
- https://carakerjajuditogelkudalari960.wordpress.com/2017/01/18/angka-jit...

Right here is the right website for anyone who would like
to find out about this topic. You realize so much its almost hard to argue with you (not that I really will need to…HaHa).

You certainly put a new spin on a subject that has been written about for many years.
Wonderful stuff, just excellent!

Feel free to surf to my website - website prediksi - http://www.websiteprediksi.com

Right here is the right website for anyone who would like to find out about this topic.
You realize so much its almost hard to argue with you (not that I really will need to…HaHa).
You certainly put a new spin on a subject that has been written about for many years.
Wonderful stuff, just excellent!

Look into my page - website prediksi - http://www.websiteprediksi.com

Unquestionably believe that which you said. Your favorite
reason seemed to be on the web the simplest thing to be aware of.
I say to you, I definitely get irked while people think about worries that they just don't know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects ,
people can take a signal. Will probably be back to get more.

Thanks

my website - Bandar Judi Casino Terpercaya - http://jacksmi.blogzet.com/keuntungan-bermain-beserta-bandar-judi-casino...

Unquestionably believe that which you said. Your favorite reason seemed to
be on the web the simplest thing to be aware of. I say to you,
I definitely get irked while people think about worries that they just don't know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people
can take a signal. Will probably be back to get more.

Thanks

Look at my web blog :: Bandar Judi Casino Terpercaya - http://jacksmi.blogzet.com/keuntungan-bermain-beserta-bandar-judi-casino...

hey there and thank you for your information – I've certainly picked
up anything new from right here. I did however expertise several
technical points using this web site, since I experienced to reload the site a lot of times previous to I could get it to load properly.
I had been wondering if your web hosting is OK?
Not that I am complaining, but sluggish loading
instances times will often affect your placement in google and can damage your
quality score if advertising and marketing with Adwords.
Anyway I am adding this RSS to my email and can look out for much more of your
respective fascinating content. Ensure that you update this again very soon.

Here is my web-site - Bandar Casino Terbaik - http://prediksi-singapura.postbit.com/inilah-tabel-data-singa-pengeluara...

hey there and thank you for your information – I've certainly picked up anything new from right
here. I did however expertise several technical points using this web site, since I experienced to reload
the site a lot of times previous to I could get it to load properly.

I had been wondering if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will often affect your placement in google and can damage your quality score if
advertising and marketing with Adwords. Anyway I am
adding this RSS to my email and can look out for much more of your respective fascinating content.
Ensure that you update this again very soon.

Feel free to surf to my homepage Bandar Casino Terbaik - http://prediksi-singapura.postbit.com/inilah-tabel-data-singa-pengeluara...

Hi! Do you use Twitter? I'd like to follow you if that would be okay.
I'm absolutely enjoying your blog and look forward to new updates.

Feel free to surf to my webpage :: .pgssjupel - https://medium.com/@andikasongko/1-melirik-kemajuan-agen-judi-bola-terbe...

Hi! Do you use Twitter? I'd like to follow you if that would be
okay. I'm absolutely enjoying your blog and look forward to new updates.

Here is my web blog .pgssjupel - https://medium.com/@andikasongko/1-melirik-kemajuan-agen-judi-bola-terbe...

Añadir nuevo comentario

Plain text

  • No se permiten etiquetas HTML.
  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Saltos automáticos de líneas y de párrafos.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.