Arduino 2 Arduino Communication VIA Serial Tutorial

preview_player
Показать описание
This video tutorial helps you connect a Arduino Mega and Uno together
and communicate via Serial.

Files used in the project


DM on twitter @jongrimes1983
Рекомендации по теме
Комментарии
Автор

Just wanted to say how much I appreciate your videos. Short and to the point with a good explanation, telling us what we need to know and how it works. No BS opinions or wasted time. Thanks again, keep the vids coming.

CRUZIFIEDv
Автор

Thank you so much for doing this video. It's straight forward, clear, concise, and effective. I've been struggling with using UART on a non-Arduino device and realized I needed to go through more basics first as a part of my learning. This video answered and highlighted some areas that helped me grow in my understand. Great job!

garywallster
Автор

Great video and gives me a close understanding of my project. I am using 2 arduino uno rev3. The first one has 2 joystick inputs on it. I want to sent the output of the potentiometers to the second arduino that has a Adafruit motor shield on it. They are about 50 feet apart. So I want to sent 4 potentiometer reading that would be 3 digits long to the motor shield to control the motors. It was this part of the serial that I was having difficulty understanding. The Adafruit team made it seem both easy and possible.

jsfgolf
Автор

thank you, just what I was looking for:)

myvideochannel
Автор

thanks bro, i very apreciate your videos.

adiyatmasani
Автор

What is the meaning and purpose of "if (isControl (c)) { // 'Serial.println ("it's a control character"); break"?

drkgld
Автор

Great video. I need 2 megas because for my project the i/o pins are not sufficient on one mega.
Now my question: can i read a input on mega1 and generate a output on mega2.
Sorry i am a newcomer to arduino programming and would really appreciate your help on how the sketch would have to look?
Thanks in advance for any help!

cmdrorkas
Автор

Fantastic!! Ive been pulling my hair out all week trying to get leds controlled on a shift register from midi commands (from traktor dj software) ... NIGHTMARE!!
everyone says you can add more output pins (leds) with shift registers, but they dont telling you cannot control them individually, let alone controlled by midi callbacks, so i shall try this method to tell the other uno to light the leds :)

Dirtbreaks
Автор

Hello, I have a sensor connected to Uno which will send the data back to Mega do I have to power both arduinos with separate power supply? Without connecting the 5v to vin, only ground and tx/rx?

jasperblase
Автор

Can I use this code to link an ESP32 Cam and Arduino Uno?

wunderwaffeyt
Автор

Can I put a LCD on the data bus aswell ?

ulrichgrobbelaar
Автор

It is nice to see a stripped down version of this build. When I tried looking at other builds, they incorporate LED displays, 4 other UNO boards, which leads to all kinds of confusion. I tried your experiment with two UNOs. I cannot get the MEGA code to run. I get the error message "Serial1 was not declared in this scope". I did nothing to alter the code.

gameworn
Автор

Sir, can I connect to Arduinos and read in pc Analog input from one Arduino and digital inputs from the other ?

Stagmike
Автор

Nice video, but why the interlacing lines?

horticultural_industries
Автор

Will it work for different power source?

maignanamgnanavel
Автор

Hello
I want to trnsfer 8 digit data from one station to another and show those recieved data on slave location via a LED board. The distance between two stations is 50m.
1) is that possible using arduino?
2)i wanna show the typed msg on master station as well?
3) how should i input master station msg? I must make a operator friendly interface? Examples like a key pad???
Plz advise me

hasithasudasinghe
Автор

Hey 50 Hz
Fantastic Video!
Is this Serial Communication possible with 300 m distance?
(I have no idea. Sorry if that's a dumb question...)

nauticat