Тёмный

I2C Part 2 - Build a I2C Sensor 

DroneBot Workshop
Подписаться 605 тыс.
Просмотров 132 тыс.
50% 1

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@allinclusive5762
@allinclusive5762 5 лет назад
You and "the gui with the swiss accent" ( Mr. Spiess ) a are a class of their own! Very professional! Thanks for your work! Thumbs up!!
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Andreas is the best, I just stand in his shadow - which is a very big shadow considering that he is in Switzerland and I'm in Canada! But I do thank you for the complement.
@allinclusive5762
@allinclusive5762 5 лет назад
@@Dronebotworkshop So - i'm sitting in the middle ( Germany ) - and i think, you are fishing for compliments ;)
@sledgeHammerRulez
@sledgeHammerRulez 5 лет назад
don't do yourself short! i like your videos like the ones from andreas. I'm looking forward to your connection between a pi and an arduino. I want a (double) car-detection & aid (distance to the wall 4 my wife) in my garage directed by an pi (connecting to home-assistant) and measured with an arduino. KUTGW!
@davidfarning8246
@davidfarning8246 5 лет назад
@@sledgeHammerRulez That is an interesting idea. I think I will make an arduino based ultrasonic sensor for my mom that tells her when she has pulled her car alll the way forward in the garage.
@jonathanr4242
@jonathanr4242 4 года назад
@@davidfarning8246 LOL! I need one for my mum that reminds her to open the garage door before trying to drive the car out.
@acadman4322
@acadman4322 5 лет назад
:-) Another high-quality tutorial from the best teacher on RU-vid. Thank you.
@Pinchington
@Pinchington 2 года назад
If Mr. Rodgers worked with electronics and programming, it would be you. Love your videos
@Mystic0Dreamer
@Mystic0Dreamer 5 лет назад
I thank you for your excellent explanation of the programs you use. You go through each and every line of code in precise detail, and that's exactly what I need. So I can't thank you enough for your attention to precise detail. Also I totally agree with "I Two C". That's perfectly acceptable and how I pronounce it too. I understand that "I Squared C" is also acceptable, but like you, I actually prefer "I Two C". Because in truth, there's nothing mathematically squared about it. You are an excellent instructor far above the norm.
@oracid
@oracid 5 лет назад
Thank for all. From Paris.
@raagamparmar179
@raagamparmar179 4 года назад
Thanks Man! I am a teenager in to come in 10th, and with your help, I've made my very own I2C Keypad 4x4 Matrix and made a smart keypad door lock with it. I am going to make a PCB for that. Thanks a lot.
@bigsteve6729
@bigsteve6729 2 года назад
Your videos are nothing but flawless. Great job
@corbamilk6412
@corbamilk6412 5 лет назад
The readI2C() in the video isn't waiting for 100ms, it's waiting no more than 100 ms. You will break out of the while if either there is something available or you are greater than or equal to 100 ms. You then do the read only if the elapsed time is less than 100ms. The return from readI2C() is undefined if more than 100 ms occurs between the request and the waiting for a response. It only reads and sets bval if there is less than 100ms, if it is more than 100 ms you return an indeterminate value.
@GrafRucola
@GrafRucola 4 года назад
Thx, I felt that there was something fishy in these lines, you helped me understand what was going on!
@Steven-jf4cs
@Steven-jf4cs 5 лет назад
Outstanding tutorial. Clear, concise and fun to watch and learn. So being that I'm from Southern California you get the "woohhhoo Awesome Dude....you made I2C gnarly" award!
@robertwillemsen368
@robertwillemsen368 5 лет назад
Very good video again! For everybody complaining about I2C or I square C, please start your own channel and do a better job. I wish you all the best but doubt you will succeed. Keep up the good work! Love IT!
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Thank you Robert, it can be very dishearting to put the effort into making a video only to have some clown critize it for something as silly as "I squared C" vs "I two C". Especially when neither of them are technically correct - it's the Inter Integrated Circuit bus so it should probably be "IIC"! Maybe I should have just said "TWI" to avoid offending Mr. Perfection. I really appreciate your nice comment, hopefully there are others who feel the way you do. Thanks!
@robertwillemsen368
@robertwillemsen368 5 лет назад
@@Dronebotworkshop the problem is that it is not possible to satisfy everybody. But nowaday it is so easy to BASH that you could be discouraged tot make this video's. Well I happen to love them andere learn a lot. Hope this helps to continue! Thanks
@gunnarstoa
@gunnarstoa 5 лет назад
I truly enjoy your videos and instructional style and was pleasantly surprised to hear you mention my original favorite RU-vid teacher with the Swiss accent! The sinister part of me was waiting for you to coyly explain that the reason you decided to build a custom 4-way ultrasonic I2C sensor (unlike Mr. Spiess' 3-way sensor) is simply because 4 is clearly better than 3. Maybe zoom in to picture of two groups of puppies where 4 is clearly better than 3. No smiling, just more matter-of-fact presentation of your analysis. I'm kind of glad you didn't as I would be cleaning up a cup of coffee right now. But seriously, thank you for sharing your knowledge!
@northshorepx
@northshorepx 5 лет назад
Bill - WOW! That was an amazing tutorial. I know feel confident that I could change my own sensors to be I2C items. It's like I can create a wired version of MQTT where I don't need wireless. Thank you do much for doing such a patient and well thought out tutorial.
@diamantbluemc
@diamantbluemc 3 года назад
Thank you from the bottom of my heart !!!!
@davetribbett8577
@davetribbett8577 2 года назад
This guy is fantastic! The two I2C vids are really good, best I’ve seen! Hoping he also does the other available interfaces...highly recommend this channel...
@azyfloof
@azyfloof 5 лет назад
Hi, Bill! I just wanted to reach out and thank you personally for covering I2C, because that first episode in particular helped me learn a huge amount on the topic! I was able to massively overhaul the hardware and software of a project I'm working on for an up coming convention. I previously had an ATMega328 running animations on about 120 neopixels, while reading buttons on a control panel and polling a potentiometer for a brightness control. Since learning about I2C and how to implement two way communication between two or more microcontrollers, I've been able to use one ATMega to run the light animations, and second ATMega running the control panel. I've also been able to swap out the potentiometer for a rotary encoder AND implement IR remote functionality using a cheap slim pocket IR remote, since I learned from your videos how to use IR control in projects :) I hope you know how much you've taught people and inspired them to try new things :D Take care of yourself :) ~Azy
@AhmadAsmndr
@AhmadAsmndr 4 года назад
thank you very much i learn new things every time i watch your videos..
@MrHjsalom
@MrHjsalom 4 года назад
Thank you for sharing your knowledge with your outstanding dedication.
@quaternion-pi
@quaternion-pi 5 лет назад
Simply amazing tutorial. As the newping library is available on platformio, I'm moving to visual studio code with the platformio extension instead of the arduino interface - seems a much nicer programming environment. Thanks for sharing your excellence!
@sledgeHammerRulez
@sledgeHammerRulez 5 лет назад
andreas, the guy with the swiss accent, did an excellent video on it last sunday! I will switch also, since visual studio code is now available as addon for home-assistant as well
@ExperimentwithPhotography
@ExperimentwithPhotography 3 года назад
Your presentation so skillful and excellent that I do not have word for it. it is too good....!!!!
@PhG1961
@PhG1961 5 лет назад
Awesome ! I've been using an ultrasonic sensor on a servo that sweeps left to right to avoid obstacles. The noise of the servo drive me (and many others) crazy. This solution is really silent ! Much better.
@mohammedomer7155
@mohammedomer7155 3 года назад
This channel is very helpful. Thanks so much for the time you put into it
@electronic7979
@electronic7979 5 лет назад
Very useful video 👍
@opal177
@opal177 2 года назад
Thank you so much for your good videos.
@weeeBloom
@weeeBloom Год назад
Thank you very much!! amazing tutorial!!
@ratmadness4858
@ratmadness4858 4 месяца назад
this video was very helpful! thanks
@guyd6
@guyd6 4 года назад
Excellent against. It's a real course. Continue your nice job.
@raagamparmar179
@raagamparmar179 4 года назад
Wow! This video has inspired me to develop my homemade 3x6 keyboard matrix into a I2C Device. That would be Wonderful! Thanks a lot :)))))))
@DodgyBrothersEngineering
@DodgyBrothersEngineering 5 лет назад
Great video goes a long way towards answering some questions I have about a project.
@DavidDyck
@DavidDyck 4 года назад
thank you! at 3:50 bit zero is mentioned, but the timing diagram shows bits one through bit N - is the diagram off-by-one - or Also it is stated "the clock signal will go high every time a data byte is sent" - perhaps sometimes you mean a single data bit?
@vtorsi610
@vtorsi610 4 года назад
No, his diagram shows many BYTES 0 ... - It should show many clock cycles per BYTE.
@DavidDyck
@DavidDyck 4 года назад
@@vtorsi610 thanks perhaps that is what is confusing - the clock is shown clocking individual "bits", but the audio is using the word "byte" - the audio clearly shows the clock for the start "bit" - confusing use of bit and byte The wikipedia timing diagram uses the word "bit" for each clock transition - very similar image en.wikipedia.org/wiki/I%C2%B2C#Timing_diagram
@dansam1395
@dansam1395 5 лет назад
forward to see one for SPI too. Thanks for sharing with us such a great quality tutorials.
@dbijenhof
@dbijenhof 2 года назад
When talking about sending data, you say data bytes (segment around the 4 minut mark), when I assume you mean data bits. The SDA-line can only contain one bit at a time...
@Taran72
@Taran72 5 лет назад
Yes, this video (as your other videos) definitely inspired me to create my own master and slave I2C project. Thank you for providing the explanation and the code. :)
@geoffreyjbrown
@geoffreyjbrown 4 года назад
Many thanks for your videos. Very informative. One topic I would be interested in a video on which continues the I2C learning is whether it is possible to use I2C within an ISR (interrupt service routine). It would be useful say if a RTC (real time clock) was able to be read in an ISR as millis() does not function. This could ideally go into detail about when and how interrupts are used in I2C comms. Geoffrey, New Zealand.
@SaucemanSauceman
@SaucemanSauceman 4 года назад
Really enjoy your vids, they have helped me alot!
@roberthillkg5wry206
@roberthillkg5wry206 5 лет назад
Yet another really great tutorial. I did have a question about your explanation of the protocol. As you describe the data being clocked on the SDA line, you mentioned the data as being sent in bytes. I think you really meant to say that data is sent bitwise until 8 bits are sent whereas the slave can then ack or nack the byte sent. Any number of bytes and be transferred during a transaction until a Stop or Restart is encountered. Once again, really love your videos.
@superleisie
@superleisie 4 года назад
You are right. There should be a clock signal (a rising edge) for every bit and not for a byte. His explanation is wrong.
@rsrini7
@rsrini7 4 года назад
Thanks for wonderful explanation and demo on I2C. Please explain on SPI compared with I2C difference, applications. Finally About UART, CAN bus as well.
@CR046
@CR046 5 лет назад
Thanks for your work! Greatings from Belgium.
@johnfrankforther8162
@johnfrankforther8162 5 лет назад
Thanks for the great video. This looks like something I may use on my model railroad for signal control.
@yusufaksel2516
@yusufaksel2516 4 года назад
You should add thia video to your i2c playlist, thanks by the way.
@adapasriharsha3720
@adapasriharsha3720 4 года назад
thank you for making this video
@phucthinhnguyen5633
@phucthinhnguyen5633 5 лет назад
OMG!! This is what i need!! Right on time!! Thanks Dronebot!!!
@soumitradey8208
@soumitradey8208 5 лет назад
Wow excellent! Great explanation. Best in the world!
@samerswedan5876
@samerswedan5876 2 года назад
Thank you very much
@billstrain1
@billstrain1 4 года назад
Like your quality tutorials. I have a question. Since you are going to send back 4 bytes of sensor data, why not just ask for 4 bytes on the master request and then have the slave just read the 4 HC-SR04's at that point of time in the order of 1, 2, 3 and 4. All the other reading between requests will not do the master any good. BillW
@vtorsi610
@vtorsi610 4 года назад
You can send all 4 bytes
@privatepeewee6402
@privatepeewee6402 3 года назад
@@vtorsi610 he's asking why wait for 8 bytes if the slave only sends 4, if you read all 4 sensors in a defined order and pnly wait for 4 bytes instead of 8 then the communication time slave to master is halved making it possible to respond faster to sensor input.
@olegvelichko1659
@olegvelichko1659 5 лет назад
Awesome content! Thanks for these videos! On a side note - during the first few minutes of the intro it looks like you have cat ears thanks to the pliers on the peg board behind you. Easter egg or not - still found it pretty neat... 👍👍
@newburypi
@newburypi 5 лет назад
A caution regarding the HC-SR04. There is now a "p" version of this sensor (recognized by the missing xtal) that does not work in one wire mode. only in two wire mode.
@opalprestonshirley1700
@opalprestonshirley1700 5 лет назад
Great tutorial, I've got to try this.
@obyildiz
@obyildiz 4 года назад
Very useful tutorial! thanks sir.
@HeliosFire9ll
@HeliosFire9ll 4 года назад
shouldn't the code be if(millis() - entry > 100) bval = Wire.read() instead of if(millis() - entry < 100) bval = Wire.read()? To show that the time has ellapsed
@HeliosFire9ll
@HeliosFire9ll 4 года назад
Could we also replace millis() with delay(100)?
@sidspatil
@sidspatil 3 года назад
Yes, I believe, that's an error in the sketch shown in the video, as well. Attn: @Bill
@KKTVirtualLearning
@KKTVirtualLearning 3 года назад
Excellent
@starkship7018
@starkship7018 2 года назад
very help full tutorial respect++++
@passertm
@passertm 4 года назад
Great. Super videos. Thanks a lot!!!
@dibyojyotibhattacherjee4279
@dibyojyotibhattacherjee4279 4 месяца назад
Hello, while adding up those pullup resistors on the SDA and the SCL line, will it be a problem if I add pull-down ones?
@flanker0ne
@flanker0ne Год назад
I have some problem trying to understand how the readings from the sensors remain synchronized. How the Master can always recognise the 3rd sensor as the third?
@mejrimouhamedali1011
@mejrimouhamedali1011 Год назад
That's good thank you
@kulaniscap
@kulaniscap Месяц назад
Can I connect the 5V Arduino to a 3.3V ESP32 via I2C? What voltage should I connect the Pull-up resitor to?
@OsoPolarClone
@OsoPolarClone 5 лет назад
Very good video. Thanks
@davidhawley1132
@davidhawley1132 6 месяцев назад
It's not clear here why a data-based protocol (the 255 marker) is being used instead of multiple byte reads/writes. Am I misunderstanding the I2C spec, is it an issue with the library, a robustness issue, or something else?
@dalie3672
@dalie3672 3 года назад
I'm messed up with the theory part, what i think is the CLK signal toggles when a bit sent, not a byte. Also i expected a example communication with different sensors through I2C in the last part of the video, but it turned out to be just a combination of this and the last videos.
@proftiagogomes
@proftiagogomes 5 лет назад
Please Tell me How to make a I2C to LDR, and other to LM35 and read only with SDA and SCL from Arduíno UNO???
@dizignit1983
@dizignit1983 7 месяцев назад
Thanks!
@Dronebotworkshop
@Dronebotworkshop 7 месяцев назад
You are very welcome!
@Rainy_days_lover
@Rainy_days_lover 2 года назад
could you do a tutorial for i2c for when the slave only sends the data once if requested by master?
@syedmuhammadali2083
@syedmuhammadali2083 5 лет назад
Please share some videos for I2C interfacing using Texas Instruments micro controller.
@dainiusjaraminas6412
@dainiusjaraminas6412 5 лет назад
Very useful . Sir thank you very much :)
@tinkmarshino
@tinkmarshino 5 лет назад
Bill, I actually followed a lot of what you said! I got confused a bit at the beginning but as you went through the sketches I kind of got it! It amazes me how you can make things understandable to me in my current condition.. I am so thankful. One thing I do not understand is why use i2c? everything seemed work ok before you added the second arduino? I did not understand what the advantage was.. Sorry if my questions are rather childish.. But I do have such a hard tome understanding things here in my later years.. Sheesh it never used to be this way.. Well thanks for the share and carry on my friend.. oh one other thing.. I got the DroneBot workshop news letter on april 8th has thee been a new one? or is it just once a month? I have forgotten..
@santorcuato
@santorcuato 5 лет назад
You are a MASTER! Nice video, thanks.
@surendramaharjan3129
@surendramaharjan3129 3 года назад
the drill machine in background is it for pcb drilling to mount the through hole components?
@youssefbenmouhou9030
@youssefbenmouhou9030 Год назад
how 1 wire mode is even possible ? as I know we can't change the mode of a pin while execting a program ! so how Newping library is working ?
@Rohit-oz1or
@Rohit-oz1or 4 года назад
Why can't we read the full payload at once in place of byte by byte?
@noweare1
@noweare1 4 года назад
You are right. Sending back five bytes would of been better. Instead the master has to request 5 times. I don't know the library but that could mean starting and stopping the bus 5x to get the readings.
@vtorsi610
@vtorsi610 4 года назад
@Rohit - You can ...
@atmosferaDIGITALweb
@atmosferaDIGITALweb 5 лет назад
Ótimo tutorial, espetacular !!!
@PTHouy
@PTHouy 2 года назад
I wondering how to draw diagram like this 8:07. what software did you used?
@kacadenganmata
@kacadenganmata Год назад
if the pull up resistor doesnt exist, is it cause the slave does not send the data to master?
@rgdphome8974
@rgdphome8974 5 лет назад
Gr8 Sir.
@mikemiller2748
@mikemiller2748 4 года назад
Thanks for this video! How would you build a system that has upwards of 60 sensors? I2C should allow them all to be connected serially, without requiring a connection from each back to the arduino as you’ve done here, right? Would each sensor need its own microcontroller in that case?
@diamantbluemc
@diamantbluemc 3 года назад
You will definitely have a significant delay if you will use one Arduino Mega and wait for each one to measure, if you can read all of them at the same time ( assumming they will not interfer with each other ) just scale the code to acomodate all of that data, from my experience with 20 sensors and a master and slave ( 2 Megas), it was not a problem. Btw why do you need so many ?
@hubertmargreiter3508
@hubertmargreiter3508 3 года назад
Like all of your videos, also this one is very educational. Thanks for uploading!! But how do you approach the problem if you want to transfer 128 bytes from a slave node to a master (e.g. Arduino or Teensy)? Do you know of any link that might help me with a code fragment?
@Logical_Controls
@Logical_Controls 5 лет назад
Why the hell are you making videos at 5:38 in the morning Bill? Haha very informative as always. Thanks for the video.
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Actually I film most of my videos from about 4am to 7am - it's a lot quieter at that time.
@Logical_Controls
@Logical_Controls 5 лет назад
@@Dronebotworkshop And that mentality is the difference between your channel and all the other hobby electronics channels on YT, most of which are not even half as well constructed nor half as informative.
@nishikanthingole3638
@nishikanthingole3638 5 лет назад
Hello @DroneBot Workshop, i am using esp32-wroom with bq24195l, but i am unable to communicate bq with esp32 via i2c. can you please tell me how i get data from BQ to ESP32 via I2C?? thank you
@lylehintz7275
@lylehintz7275 3 года назад
What happens if you use one of the reserve addresses?
@DustinjBailey
@DustinjBailey 4 года назад
I'd love if you made a video about connecting 2 ESP8266 devices over wifi. :-D
@narutoboruto4784
@narutoboruto4784 2 года назад
Hi Dronebot iam working on an MS4525DO digital airspeed sensor with I2C communication module i want it to measure velocity of air through an arduino uno,I was able to start communicating with the sensor. It does respond to changes in airflow. But I cannot get the values to come close to normal pressure reading.
@narutoboruto4784
@narutoboruto4784 2 года назад
I will really appreciate your help with this,thank you
@wishicouldarduino8880
@wishicouldarduino8880 5 лет назад
Something is wrong with i2c master sketch doesn't compile for windows says expected initializer before j token right at void set up any solutions would be greatly appreciated thanks😁
@fahmywaleed
@fahmywaleed 5 лет назад
Thanks for the excellent video, I have a question though hope it is the wright spot to ask. My understanding from the video that due to address conflict we cannot connect the 4 ultrasonic sensors to the same I2C bus because all of them have the same address?
@PablumMcDump
@PablumMcDump 4 года назад
The sensors weren't I2C capable. Those pins were "trigger" and "echo", not SCL and SDA, which is why they could be tied together in the example.
@b.shashanksunny1927
@b.shashanksunny1927 4 года назад
sir in my project i want to send string variable from master to salve and multiple sensor data is need to send from salve to master(master is node mcu and salve is arduino uno)
@LUCKY007725
@LUCKY007725 4 года назад
Very informative video, thanks Could you please tell me how I can separate the values of dht22 as temperature and humidity... If You can make a complete tutorial on it then will be very helpful. I have dht22 connected with uno and i2c with esp8266, I want to get values from uno to esp8266 and display them over blynk app. Please favor me
@vtorsi610
@vtorsi610 4 года назад
There are finished DHT22 drivers available - just use google.
@pokednaful
@pokednaful 2 года назад
Is it possible for TCS34725?
@lem09able
@lem09able 4 года назад
Hello sir, would it work if I used an RTC module, a master arduino, and a slave arduino? I want the master to be receiving time from RTC and the slave arduino to be sending int values to the master. Then the master will take a look at values given by the rtc and slave and perform a certain operation base on those values. Example: An if else decision based on the time given by rtc and value sent by slave. If the values match the condition, the operation happens. My problem is that the rtc module is also connected in sda and scl, so how should I proceed since the master slave should also be connected via sda and scl?
@vtorsi610
@vtorsi610 4 года назад
1 Master Arduino + 1 Slave Arduino @ Address xxx + 1 Slave RTC @ address yyy is OK !
@A.D.38q9
@A.D.38q9 2 года назад
How can i make this with 2 of this sensors en 3 arduino's 2 slaves and 1 master en de master request value of them both everytime
@pisacc
@pisacc 4 года назад
To subscribers: Play with 1.25 speed. Even 1.5 is not too fast.
@ilhamrahmatmuharam8501
@ilhamrahmatmuharam8501 4 года назад
hello sir, I am an arduino beginner user ,, I want to use a pressure sensor with type xgzp6857 and will be processed by arduino, this sensor uses the i2c communication protocol, I have found the i2c sensor address is 0x6D, but this sensor does not yet have a library for arduino, how can I use this sensor so that the pressure reading can be displayed on the serial monitor? maybe you have an idea for this problem? thank you
@vtorsi610
@vtorsi610 4 года назад
Get the DATASHEET and go to the Arduino Forum ...
@mikeholczer
@mikeholczer 5 лет назад
Great video! Could you have powered the Arduino running the slave code from the other one?
@Dronebotworkshop
@Dronebotworkshop 5 лет назад
Hi Mike - I think that might be a bit too much current for the Master Arduino to handle.
@mikeholczer
@mikeholczer 5 лет назад
makes sense, thanks.@@Dronebotworkshop
@dawnishsyafie4738
@dawnishsyafie4738 5 лет назад
HOw to use on sound sensor ...Please .......
@eddieeriksson5830
@eddieeriksson5830 4 года назад
Can shelded twisted pair increase the distance between the Master /Slave units?
@vtorsi610
@vtorsi610 4 года назад
Possibly ...
@aleksandarrankovic2035
@aleksandarrankovic2035 4 года назад
Can you make tutorial for 10-bit addresses.I tried to register on yours site but it does not accept mail.They are great tutorials, it would be nice to move on with I2C.For example, how to make address 200, and how to extract bites.Thanks
@noweare1
@noweare1 4 года назад
With 10 bit addresses you get a nack from the slave after the first byte of the address but the i2c register should be set for 10 bit slave address mode. The master will just send the second byte of the address and this time the slave will send back an ACK and off you go. The i2c has a lot of options that can be set up if the chip has a hardware i2c. If you are using a library then it just depends how much functionality the author included in the library.
@aleksandarrankovic2035
@aleksandarrankovic2035 4 года назад
Thanks @@noweare1 I solved the problem at another way. Thanks again
@noweare1
@noweare1 4 года назад
Did you use a library or hardware registers ?
@aleksandarrankovic2035
@aleksandarrankovic2035 4 года назад
@@noweare1 I skipped I2C.I use Serial comunication UART it was easier for me
@noweare1
@noweare1 4 года назад
@@aleksandarrankovic2035 Good deal ! Good luck in your projects.
@alibehrouz9833
@alibehrouz9833 5 лет назад
greatttttttttttttttttttttttttttttttttttttt
@tharunv1885
@tharunv1885 5 лет назад
Hi sir I have list of projects expected from u 1. Drone using arduino (TX,RX,FLIGHT CONTROOLER using arduino only) 2. Using mpu6050 module with arduino 3. Using arduino and nodemcu as iot thanks in advance
@gaventucker8416
@gaventucker8416 4 года назад
How can I get a consultation?
@munfaridlmunfaridl2491
@munfaridlmunfaridl2491 2 года назад
can i get code please ?
@Steven-jf4cs
@Steven-jf4cs 2 года назад
Did you look in at the full article link? May I suggest just typing it out to get some memory practice. It's not a huge piece of work really.
@kokogyi5905
@kokogyi5905 3 года назад
Please like to learn 2 arduino UNO, master and slave using Modbus.
@Ricard2k
@Ricard2k 2 года назад
OMG! You are confusing bits and bytes at the serial line. Please, correct the data exchange explanation: The SDA contains on high clock are bits, not bytes. And the number of cycles to get a complete packet including address, plus data, etc... must be expanded explaining how bytes are constructed from bits. Remember to explain if the bus is MSB first or LSB first.
@superleisie
@superleisie 4 года назад
Are you sure that your explanation of the protocol is correct? There should be one clock cycle per BIT and not per BYTE.
@vtorsi610
@vtorsi610 4 года назад
Correct - There are 8 Clock Cycles per byte + 1 Clock Cycle for the ACK/NAK reply. But he is showing many BYTES...
Далее
I2C Part 1 - Using 2 Arduinos
25:51
Просмотров 412 тыс.
What is I2C, Basics for Beginners
18:30
Просмотров 164 тыс.
Прохожу маску ЭМОЦИИ🙀 #юмор
00:59
Build an Electronic Level with MPU-6050 and Arduino
33:37
Connecting Arduino with multiple I2C devices
6:22
Просмотров 191 тыс.
Getting A RCWL-0516 Microwave Sensor To Work!
14:11
Просмотров 27 тыс.
I2C Hardware & PCB Design - Phil's Lab #132
34:50
Просмотров 41 тыс.