Комментарии:
i need to use an mpu6050 and L293D motor driver shield on I2C at the same time can you help write a code and explain it you do a great job explaining codes
Thanks
Is there a way to identify the piece of information sent? For example if my slave has 10 temperature sensors, 1 in each room, and I want the master to display the readings. How would I distinguish the temperature readings from each other. Or how would I get the master to ask for a specific piece of information like living room temperature?
ОтветитьThank you so much you help me a lot, excellent video, 10/10
ОтветитьI m using it without resistors and all run smoothly. Thank you. I have the question how to put master in state of sending and receiving messages like strings to/from slave. That because master arduino will read sensors from slave, but sending some instruction to move motors on slave side.
Thank you in advance
Can anyone think of any reason why I cannot get my setup to work? I have connected everything identically and typed in the code exactly like in the video, but the slave board does not respond when I type H or L in the serial monitor on the master. I have also tried going from A4 and A5 to the same on both boards, as well as using the dedicated SDA and SCL pins. I can't tell if it's the master not sending the Wire data to the slave, or the slave not parsing the data.
ОтветитьWondering if this would work without connecting the resistors?
Ответитьplease stop touching the board with the conductive graphite pencil lead
ОтветитьU can show circut map, the tutorial very good, but why not transmit and recieved by 0,1 port.
ОтветитьHello what if i want to put multiple messages for example hello in one send message and world another send message, How would i be able to display that on the receiver Serial monitor?
Ответитьthe closest resistor i had to 4.7Kohm was 5K1 would that work?
Ответитьwhat if i want to power up the slave arduino with another power source so that they are both isolated. will they still communicate?
ОтветитьExcellent explained.
ОтветитьThanks Alot . . . really helped me big time
ОтветитьPerfect, thanks!
ОтветитьHlo sir
How can jump from void loop() back to void setup() ?
Can you please upload the schematic
Thanks
Really nice and really helpfull. Keep making videos please.
Ответить👍🏻 good one!
Ответитьcan someone recomend a wire library that works?
ОтветитьI just want to say thanks for this video I've been struggling with i2c for sending text back and forth for two days and this is simple and works perfect
Ответитьthanks a lots
Ответитьdid i2c work on long distance like 12 meters??
ОтветитьVery useful tutorial
I have DHT sensor connected with arduino slave1, same set for slave2 and one Arduino as master.
Could you please guide me, how I can read the values from both
Regards
I know that if you enable serial to be read from the arduino software it slows processing down a bit, when you use i2c does it slow it down too?
ОтветитьYou are the Bucky Roberts of electronics 😉
ОтветитьGreat tutorial! Thanks!!!
ОтветитьWire. write(c);
ОтветитьCan i use 1k ohm resistors?
ОтветитьDid u just say, "I am human hard drive?"
ОтветитьHow will it work with an arduino nano and arduino nano
ОтветитьIts i square c btw
ОтветитьFantastic tutorial, simple and easy to follow. Can you do similar for the case when we have more than one master in an i2c network of several arduinos? I'd really like to see how the Arbitration works in multi-master case. I am building a system of 4 to 6 arduinos connected to various sensors and indicators and communicating between each other over i2c.
Ответить@humanHardDrive, I really liked this tutorial, but I wonder, how can I pass from the Terminal window from the Master, like number "21" and the Slave receives it? Thank you!
ОтветитьExcellent tutorial, thanks!
Ответитьjust perfect, thanks A F*CKING LOT BROAAAAAAAh
Ответитьvery nice explanation... this helped me alot in my project, THANKS...
Ответитьvery good tuto!
Ответитьhey, in school i have been doing i2c communication with two arduinos. Master arduino has adding +1 (x=x+1) and sending to slave but the problem was when it reaches 255 it goes back to 0, i don't know why.Do you know how to do it?It has to go at least over 50 000 or more but without string has to be integer.
ОтветитьHow come the Wire.onReceive(receiveEvent) can be put on void setup instead of loop??
ОтветитьThanks!
Ответитьcan you use the i2c with two arduino unos
Ответитьque le paso a mcqueen?
ОтветитьHi, I am connecting to same as well as you shown a video , but in my case Arduino does not working . nothing happen when i press in the Serial monitor 'H' ... it just blinking master Arduino led. could you please help me some one.
ОтветитьThank you very much
Ответитьyou have 1 sub extra
ОтветитьGreat Tutorial. Easy explanations and was able to follow exactly step by step. Great Job!
ОтветитьCouple questions: Can two slaves send messages to each other and can there be multiple lines of communication. Perhaps a lines from a master to slaves and then a different communication line from the slave to other arduinos.
ОтветитьWhy you din't not use github... ??
Ответить