No video

Effortlessly Communicate Between Two Arduinos with Just Two Wires!

  Рет қаралды 7,824

The Last Outpost Workshop

The Last Outpost Workshop

Күн бұрын

Пікірлер: 14
@soedesh1234
@soedesh1234 6 ай бұрын
Note that I think this will only work up to about 1 meter apart since it uses the I2C interface. Slowing down the baud rate of that interface could make that a little longer at the sacrifice of throughput.
@thelastoutpostworkshop
@thelastoutpostworkshop 6 ай бұрын
Maybe, never tried it
@victorynayaba4779
@victorynayaba4779 Ай бұрын
Thanks for this video, it was really helpful. I have a question: can I use the same A4 and A5 pins for communication with a Real Time Clock as well as another arduino board as you used in this video?
@leondup1962
@leondup1962 3 ай бұрын
Thanks for the video ,i have a question , if i use an uno with pin 4 and 5 used for my i2c lcd as my main controller and i use a n nano with a rotary controller would i t be possible to use pin 27 and 28 for the connection and will it work . secondly when i send an int that is determined by the rotary count on the rotary controller how do i insert that value in an int . lets call it "Pause" on the uno
@thelastoutpostworkshop
@thelastoutpostworkshop 3 ай бұрын
The Arduino Nano does not have pins 27 and 28. It has 14 digital pins (D0-D13) and 8 analog pins (A0-A7). On the Nano, the I2C communication uses the following pins: A4: SDA (data line) A5: SCL (clock line) To communicate between an Arduino Uno and an Arduino Nano using I2C, you would connect the SDA and SCL lines of both boards together, ensuring that the master and slave roles are correctly assigned in your code.
@KW-ei3pi
@KW-ei3pi 4 ай бұрын
Thank you for a great tutorial. I have a few questions about the initial test code. First, since you didn't set a pin number, how is LED_BUILTIN working? Second, in your "inverted" function, your declare the variable "led", but there is no reference to pin 13, the built in LED. How does this work??? Thanks very much.
@thelastoutpostworkshop
@thelastoutpostworkshop 4 ай бұрын
If you look at the code for both nano (links in the video description), you will see that the LED is defined, as its PinMode
@PavleBarsi
@PavleBarsi 2 ай бұрын
Do you need shared ground for communication?
@thelastoutpostworkshop
@thelastoutpostworkshop 2 ай бұрын
Yes
@muhammadm1237
@muhammadm1237 6 ай бұрын
can i connect more than two arduinos?
@thelastoutpostworkshop
@thelastoutpostworkshop 6 ай бұрын
yes, the i2C protocol can have many devices connected
@muhammadm1237
@muhammadm1237 6 ай бұрын
@@thelastoutpostworkshop I have to specify an address for each one? And kindly, can you tell me how to transmit for example, one message to three Arduino just in simple words. Also, how can I transmit a float or sensor reading From one Arduino which sensor is attached to other to Arduino. Thank you so much
@victorynayaba4779
@victorynayaba4779 Ай бұрын
Thanks for this video, it was really helpful. I have a question: can I use the same A4 and A5 pins for communication with a Real Time Clock as well as another arduino board as you used in this video?
@thelastoutpostworkshop
@thelastoutpostworkshop Ай бұрын
I have never trried it
Create a Star Wars Tactical Display with a the Round Display!
16:13
The Last Outpost Workshop
Рет қаралды 6 М.
I2C Part 1 - Using 2 Arduinos
25:51
DroneBot Workshop
Рет қаралды 411 М.
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 532 М.
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 3,1 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 48 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
Bring GIFs to Life: Animating with Round Displays & ESP32
27:26
The Last Outpost Workshop
Рет қаралды 34 М.
ChatGPT with Arduino and ESP32 | C++ and MicroPython coding
40:49
DroneBot Workshop
Рет қаралды 321 М.
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 175 М.
Scared stiff eyes mod TFT screen
2:28
franck niro
Рет қаралды 1,2 М.
Debugging the Arduino Uno or Nano! (No extra hardware needed!)
6:59
Mastering MP3 Player Busy Pin with Arduino & Audio-Visual Synchronization
13:26
The Last Outpost Workshop
Рет қаралды 8 М.
The BEEFY mini PC - Minisforum AtomMan G7 PT
12:40
ShortCircuit
Рет қаралды 186 М.
Can the ESP32 Handle 6 animated GIFs on 6 Screens ?
6:36
The Last Outpost Workshop
Рет қаралды 39 М.
MOSFETs and Transistors with Arduino
40:50
DroneBot Workshop
Рет қаралды 1 МЛН
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 532 М.