Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Hardware Serial to Serial Communication using Arduino Uno & Mega

Автор: Scott Mon

Загружено: 2015-11-10

Просмотров: 81095

Описание:

This video clip shows how to connect an Arduino Uno and Arduino Mega using the HARDWARE tx and rx communication configuration. The Mega is the master sending commands to the Uno. After the Uno executes the command it will send an acknowledgement back to the Mega via a buzzer tone connected to pin 9 on the Mega. The Mega Serial Monitor will wait for input from the user and depending on the users menu selection, will process each command option.

Key items to note...
First, the Uno and Mega share power so when the Mega is plugged into the pc BOTH boards are powered up. Second, communication between each board does NOT require an end-of-transmission character. The numeric menu option is broken down into high and low bytes and then reassembled after transmission. Third, the Serial Monitor waits for the user to input a menu option before proceeding. Lastly, the receiver (Uno) sends an acknowledgment back by playing a tone using the buzzer connected to the Mega.

Side note...
I was able to connect 2 USB cables, one to the Uno (on COM5) and one to the Mega (on COM10) which allowed me to view the data being sent and being received after transmission.

Golden rule...
Don't forget to reverse the tx and rx wires when connecting to each board!!


You can download the code here...

https://codebender.cc/user/fish

or here:

http://www.mediafire.com/file/t4cw5me...

and

http://www.mediafire.com/file/18tbqu0...

To view more of my videos please search for "Scott Mon" on YouTube.

Hardware Serial to Serial Communication using Arduino Uno & Mega

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

ATtiny85 и Arduino передача данных  Rx Tx

ATtiny85 и Arduino передача данных Rx Tx

4 Port Software Serial to Serial Communication Uno & Mega

4 Port Software Serial to Serial Communication Uno & Mega

How to design and build your own Arduino Robot Car.

How to design and build your own Arduino Robot Car.

Line Following Car with Color Recognition and EasyVR 3 Speech

Line Following Car with Color Recognition and EasyVR 3 Speech

Гнилой пиар с треском провален. Ещё и показали во всем каналам. Села в лужу с размаха

Гнилой пиар с треском провален. Ещё и показали во всем каналам. Села в лужу с размаха

URAL, amikor a fizika szabadságra ment: A legbrutálisabb szovjet szörnyeteg.

URAL, amikor a fizika szabadságra ment: A legbrutálisabb szovjet szörnyeteg.

Это - Вирус! Пандемия жадности  // Злоба Дня

Это - Вирус! Пандемия жадности // Злоба Дня

Просто вставьте старые батарейки в дрель, и это нужно в каждом доме, но никто этого не делает!

Просто вставьте старые батарейки в дрель, и это нужно в каждом доме, но никто этого не делает!

Использование Serial.parseInt() с Arduino

Использование Serial.parseInt() с Arduino

Удары Возмездия💥 Доразведка Над Киевом🚁 Наступление Набирает Темпы⚡ Военные Сводки 26.01.2026 📊

Удары Возмездия💥 Доразведка Над Киевом🚁 Наступление Набирает Темпы⚡ Военные Сводки 26.01.2026 📊

Using Servo Motors with Arduino

Using Servo Motors with Arduino

Every Developer Needs a Raspberry Pi

Every Developer Needs a Raspberry Pi

Master UART in 1 Video (Arduino UNO Tutorial)

Master UART in 1 Video (Arduino UNO Tutorial)

Первый взгляд на Arduino Uno Q: настройка, функции и новинки.

Первый взгляд на Arduino Uno Q: настройка, функции и новинки.

I2C Part 1 - Using 2 Arduinos

I2C Part 1 - Using 2 Arduinos

Power For Your Electronics Projects - Voltage Regulators and Converters

Power For Your Electronics Projects - Voltage Regulators and Converters

Arduino GUI Part 1   Communications

Arduino GUI Part 1 Communications

Hands-On Arduino 4: I2C Communication

Hands-On Arduino 4: I2C Communication

74HC595 & 74HC165 Shift Registers with Arduino

74HC595 & 74HC165 Shift Registers with Arduino

Arduino Using Inverse Kinematics (IK)

Arduino Using Inverse Kinematics (IK)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com