Комментарии:
Hi, do you have a guide on connecting multiple slave arduino from master raspi ?
Ответитьis it possible atmega 328 chip as i2c with out Arduino ,after programming in with Arduino
ОтветитьHi!
I don't know your name, I've been searching but I have not found it...
First of all, you're a very good teacher!!!!
I've have a question... The smbus library on the Raspberry Pi BLOCKS the program execution until it has transferred the whole data. If you use the serial channel it does not happen in this way. For serial, you write, the function returns, and in the background the transmission takes place.
It is a great inconvenience, thus the program can do nothing that waiting for the transmission.
The only solution I've found to avoid this situation is to build a socket server, place on it the communication, and call this server in other programs. In the case the program is a web page the solution is good, but I don't understand why the smbus library has been designed in this way.
I've tried to place the i2c communication in a separated thread in the same program, but it does not work...
Sorry for my English.... I'm spanish.
Congratulations for your videos!!!
Thaks!
Thank you! It was really helpful and informative. I also think educational and scientific could be a little more smiley ;)
Ответитьbut what if i want to send strings? how can I do? can you give an example?
ОтветитьAny future plans on making a tutorial on using an Arduino as a Master and a RPi as a Slave?
ОтветитьVery helpful. Thanks!
ОтветитьMy absolute heartfelt thanks for your incredible contribution.
I am looking to setup a project and after doing a lot of research on the subject i've decided to go with a single rpi connected to multiple arduinos slaves over i2c . So is there any way to do that and how to connect more than an arduino board????
I got a question...if i want to use them in a portable project and i will use a battery pack probably where should i connect the battery and how and what voltage should the batteries output ?
ОтветитьMaking a GPS tracking uav drone for my project. Thinking of combining arduino and the pi for it? Steps to make that work?
ОтветитьHello,
Thanks for great tutorials.
I have a question on the logic level converter.
i have two arduino boards (Nano and Nao 33 IOT) they operate at different voltage levels.
how can we do serial communication between these two boards ? will the I2c level convertor work in this scenario or i need something else?
Regards
I have no trouble sending data from pi to arduino or from arduino ot pi but I cant work out both, I need 2 way communication, what would I need to change to get this going. simply adding the read and write commands to both causes either a communication error or causes the arduino to power cycle
ОтветитьYou are genius.Your detailing and way of description is just marvelous. If you can make some videos related to some basic electronics, It would be so useful for laymen like me.
Ответитьis it possible to expand or increase raspberry pi pico GPIO
ОтветитьHey sir, I have some problems, may you help me?
ОтветитьThese are the most easily understood and trustworthy tutorials I have seen. I'm trying something similar but unsuccessfully so far. Does an Arduino Nano have a 5V I2C pull up? Specifically, can I use an Arduino Nano (5V) slave with an ESP8266 ESP01 (3.3V) master without a Logic Level Converter?
Ответитьonce again learned something with joy. great explains how to connect a raspberry pi to an arduino Thank you from Germany
ОтветитьCan you wire a Pi Motor HAT directly to an Arduino by just connecting the corresponding I2C pins (A4 & A5 to pi 3 & 5) ?
ОтветитьDid you actually upload the video on using multiple i2c masters and extending the bus? I can't find it. BTW I love your videos.
ОтветитьIt's stupid to connect arduino directly to I²C buss, USB connection are most successful for connection. Also bcm2835 pin header are very unsuccessful in programming logic.
ОтветитьGreat video. Didn't use the Arduino as a master and raspberry as a slave.
Ответитьhi ı have a ubuntu on my raspberyy pi 4 how ı can setup that
ОтветитьThank You for covering this subject. I was having an issue powering/grounding an IoT project that has an UNO R3 connected to a DHT11 with 2 way communicating with an ESP8266 that is connected to wi-fi and a 4-way relay. The 3.3/5 volt common grounding was giving me a head ach, and causing issues with the sensor data transmitting continuously. No one else really covers things as well as you do. AWWWsome and thank you again.
ОтветитьGod Bless you, thank you very much for sharing your experience and knowledge with us, you are a great tutor <3
ОтветитьSuper high quality instruction. Thank you for this video.
ОтветитьCan Raspberry Pi and Raspberry Pi Pico can be connected?
ОтветитьPLEASE HELP, WHICH VERSION OF PYTHON IS HE USING? I used 3.9.0 and it doesn't recognize the smbus and also the smbus2
Ответитьhow does raspberry differ from being master to slave in the first and the second setups? Moreover, I couldn’t fully understand why we shouldn’t you use any other i2c device while we connect arduino and rasp?
ОтветитьWould like to have seen requests like we do with arduino to arduino.
ОтветитьHello,
I've watched all your videos about I2C protocol and I'm trying to send data from arduino to my raspberry pi but it's not working
every time I try to send data from my pi to arduino works fine but when i try to read a block of data or even a single byte it's not working at all and gives me error or gives me trash data, Can you help me please 😊!
I2C on a Pi Pico would be interesting. That's the route I'm trying to follow - after I understand I2C a bit more.
ОтветитьCan anyone point me to the right way to send an array from arduino to raspberry pi over i2c? Sending from the py to arduino works as intended.
ОтветитьThank you for your video. It helped me a lot.
ОтветитьI have really appreciated all your videos!! Any advice on how to set up the RPI as the slave? I can’t seem to find any examples on how to do that. I have the logic converter connected, but can’t get the code working.
Ответитьgreat tutorial, thanks a lot!
ОтветитьAwesome Video!
Ответитьwill a pico work as a peripheral using the arduino ide?
ОтветитьCan we connect 5v operating sensor to Arduino while using i2c
ОтветитьI wilder how much traffic can this bus handle?
ОтветитьHello, I'm new to coding my skills are mostly in hardware. But I was wondering If I'm controling over 30 relays from the arduino how do I control them through the raspverry pi using a web server page from the pi itself?
ОтветитьYou channel is amazing! I learn a lot from you. I am trying to send a string from a Raspberry pi to Arduino 1. Do you have any special advise for it? Thank you!!!
ОтветитьHello. I was able to connect the Raspberry pi 4 (Master) to arduino uno. It works perfectly. But when I want to install the 7inch touchscreen from Raspberry Pi, AND the arduino via i2c, there is a conflict and it stop working... Are there any clues you can share for this situation?. Thank you very much!
ОтветитьI checked on both my Arduino's (a Jade and another one) and the SDA and SCL stay at 5V, so they have pullup resistors to 5V. Beware! Its is always best to use a logic level shifter, damage is irreversible to poor pi's. I really don't understand why they chose 3.3 V for I2C on these
ОтветитьGreat video! What about connecting say 2 Arduino as slaves to a Pi as master, do we need that LLC?
ОтветитьIt's not I two C - it's I squared C. I²C
ОтветитьThank you so much for the information
ОтветитьBonsoir Monsieur j'espère que vous allez bien? je travail sur la communication i2c Raspberry Arduino mais j'ai un souci avec les transfère des données avant d'utiliser votre solution quand j'exécute le programme la carte arduino reçevait les données envoyer par le raspberry mais le raspberry à son tour ne reçevait pas les données envoyer par l'Arduino mais après avoir suivit votre video j'ai compris que le problème c'était le niveau logique donc j'ai payé un convertisseur de niveau logique et l'utiliser mais je n'arrive meme plus à reçevoir les données sur la carte arduino. Avez vous une autre solution à me proposer ou pensez vous que le problème vient de mon convertisseur?? merci d'avance
ОтветитьDid you ever do that third I2C video you mentioned here? Your I2C playlist only has two videos in it...
Ответить