How to use multiple i2c devices on the same bus with the Arduino

  Рет қаралды 34,751

Garage Geek Guy

Garage Geek Guy

Күн бұрын

I wire and program two i2c devices on the same i2c bus with the Arduino as the master.
Complete Arduino kit:
amzn.to/2qBR2ww

Пікірлер: 39
@berniemukonesi2684
@berniemukonesi2684 2 жыл бұрын
This is the video I've been looking for!! Thanks
@sashidharanp.m.sreeadharan9129
@sashidharanp.m.sreeadharan9129 4 жыл бұрын
Straight and simple.
@pietchavalala7351
@pietchavalala7351 Жыл бұрын
Thanks. This is exactly what I needed. (Note: pull up resistors its already there) .
@vikramadithyaanand759
@vikramadithyaanand759 11 ай бұрын
The data and clock pins on every I2C device is pulled up?
@myinfo7114
@myinfo7114 5 жыл бұрын
Use the photon-pixel coupling method, it is a new approach in science for reading an unlimited number of sensors in parallel. Maybe you can do it with an Arduino. From what I know it supports a cam.
@TheRealMoviePastor
@TheRealMoviePastor 4 жыл бұрын
Awesome. I also need to connect a display and rtc for a project. Now I know how. Thanks!
@abrahammagnifico9538
@abrahammagnifico9538 4 жыл бұрын
you did it ? i'm wondering if that work, i need it so much
@TheRealMoviePastor
@TheRealMoviePastor 4 жыл бұрын
Abraham Magnifico yes.
@AJDJ108
@AJDJ108 5 ай бұрын
Thanks sir for explaining better 🙏
@beacdc
@beacdc 4 ай бұрын
nice video! I was searching for this as I'm also going to use an RTC i2c with a i2c LCD. BTW, just wanted to point out that most of the i2c devices boards already have the pull-up resistors on them so no need to wire that.
@mansirajput4224
@mansirajput4224 Ай бұрын
I also i wanted to do same but does Arduino uno board comes with pull-up resistors ? I really didnt understand how to do this whole shit. It would be really helpful if you give me a short summary for connecting multiple i2c device rtc module and a display
@qzorn4440
@qzorn4440 2 жыл бұрын
very very nice. 😎 a wonderful 1st or refresher I2C video. 🥳 thanks a lot 🙂🏋‍♂🐦🌲
@H2ON_MEA
@H2ON_MEA Жыл бұрын
Thank you for share that great information
@dhruvruparelia3361
@dhruvruparelia3361 5 жыл бұрын
can you please send the code
@caribbeanchild
@caribbeanchild 4 жыл бұрын
Why do you need pullup resistors?.... when you can do it with code.... "pinMode(PIN,INPUT_PULLUP)"
@neerajhebbar7313
@neerajhebbar7313 5 жыл бұрын
We dont need pull up resistors its already their on the modules i think
@neerajhebbar7313
@neerajhebbar7313 5 жыл бұрын
Ohk 😊
@wayneswan3092
@wayneswan3092 2 жыл бұрын
I'm sorry, I'm hard of hearing. What size resistors did you say you were using for pull up resistors?
@Lukasz420
@Lukasz420 Жыл бұрын
two 10K value resistors
@ecsyntric
@ecsyntric 20 күн бұрын
since SCL and SDA are supposed to be common to all devices why not put the yellow and blue wires into the open power rail on the other side? unless both power rails are already connect together internally
@mantanitchannel
@mantanitchannel 3 жыл бұрын
can you share the codes ?
@Ian-Threaded
@Ian-Threaded 5 жыл бұрын
I’m trying to use two of the exact same sensor. Have you ever done that?
@Ian-Threaded
@Ian-Threaded 5 жыл бұрын
Great video by the way. Thanks for making it
@3d_idea800
@3d_idea800 5 жыл бұрын
Good video :)
@upcycleengineer7825
@upcycleengineer7825 10 ай бұрын
so I am frying displays, is it because I am not using pull up resistors?
@torchwork8651
@torchwork8651 9 ай бұрын
I would guess no. The resistors are for signals I think.
@tristunalekzander5608
@tristunalekzander5608 4 жыл бұрын
What kind of resistors are those?
@tristunalekzander5608
@tristunalekzander5608 4 жыл бұрын
This would have been a great tutorial if you had just explained the resistors.
@paolomaster18
@paolomaster18 4 жыл бұрын
@@tristunalekzander5608 10k ohm
@ezeprojects5425
@ezeprojects5425 5 жыл бұрын
The OLED is really flickering. I've used OLED before, singly, and no flicker like that. Suppose it's because it's sharing the I2C? Probably so.
@taufanali3170
@taufanali3170 4 жыл бұрын
@Garan Carter-Woodgate That OLED works at 3.3V no? Hooking it with 5 V supply would wreck it no?
@CodeXBro
@CodeXBro 5 жыл бұрын
thanks
@amirhoseinaz1969
@amirhoseinaz1969 4 жыл бұрын
Thanks
@rolandberendonck3900
@rolandberendonck3900 5 жыл бұрын
Great :)
@Benmaluco9
@Benmaluco9 4 жыл бұрын
Obrigado
@caribbeanchild
@caribbeanchild 4 жыл бұрын
Maybe you shouldn't be doing this if you don't know what a pull-up resistor does! Doesn't give much confidence that you actually know what you are doing.
@garagegeekguy
@garagegeekguy 4 жыл бұрын
You do it then. Starting a KZfaq channel is free. Do it
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 100 М.
How To Find Unknown I2C Addresses Several Ways
17:32
Gadget Reboot
Рет қаралды 19 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 57 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 19 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 1,9 МЛН
Connecting Arduino with multiple I2C devices
6:22
BlueDot
Рет қаралды 190 М.
The Arduino Family - Uno - Mega - Nano - Pro Mini -ATtiny85
30:01
DroneBot Workshop
Рет қаралды 212 М.
Electronic Basics #36: SPI and how to use it
10:31
GreatScott!
Рет қаралды 333 М.
Electronic Basics #19: I2C and how to use it
6:09
GreatScott!
Рет қаралды 414 М.
Soldering 101 - For Arduino Projects
24:28
Dan Sohan
Рет қаралды 36 М.
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
Andreas Spiess
Рет қаралды 207 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,4 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 656 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 14 МЛН
СТРАШНЫЙ ВИРУС НА МАКБУК
0:39
Кринжовый чел
Рет қаралды 1,1 МЛН