58. How to: I2C Circuit and Initialization - ARM STM32 Microcontroller Tutorial

preview_player
Показать описание
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1

I recommend using the STM32CubeIDE:

You can still download the CoIDE here:

Please watch: "Buildyourcnc CNC Router on Love Yurts"
Patrick's Tip Jar:
bitcoin:1Gtawd29Sgu5CdvfUnkRg1YBfowCawjFdH
Ether:0xa962365100011B79097A7bb9DD51A53eE98266bb
If you have found this video to be helpful, consider making a tip. Thanks.

In this video, I create the circuit and start the I2C Initialization.

Recommended servos:

Equipment that I use to make videos:

Рекомендации по теме
Комментарии
Автор

Lot of hard work has been done to do this video tutorial! Kudos Instructor!!

partha
Автор

Thank you so much for your STM32 playlist. I watched every video so far! It has helped me very much in getting started with microcontroller programming. This type of programming can be incredibly daunting but you make it simple.

awdawdawdawdawd
Автор

Patrick i have just found your channel and i love it, the most complete clear and precise instructions ever on you tube, keep it up

ronkirby
Автор

Love the content and the animation, clearly loads of effort, on behalf of all makers Cheers!

andymouse
Автор

Thank you, I am programming a flight controller which uses I2C to communicate with the gyro, accelerometer, compass and altitude sensor. This video is really helpful.

jeffisanon
Автор

Dude, what you are doing is awesome. Thank you so much.

samueljosess
Автор

Very Helpful Tutorial as always.I want to communicate between 2 stm32 different cores, let say between F0 and F4 or 7.F0 would be slave and F7 master.The idea is when user button on F7 is pressed, the control will shift to F0..but i dont know how to give a slave adress to my F0..So how can i do that and how to make sure that address is not already in use.

MO_Ventures
Автор

Patrick Hood-Daniel what is that document you referred to on 13:59 ?

kunalsalvi
Автор

Good Morning Daniel, I love the explanation you give on each video thanks again for shearing your experience, we are also looking forward for pure sine wave inverter, volatage, current and watts meter with voltage divider, shunt resister ans op-amps please. thanks once again for all video you sheared with us.

ghafoorsamadi
Автор

your tutorial videos are perfect. thank you

bevedel
Автор

which wires you use instead of jumping cables ?

dushanindunil
Автор

I need so much a video from you talking about the USART peripheral ;--;

BikutaBecker
Автор

WHERE CAN I FIND THAT DOCUMENT WITH EXAMPLES?

vitoleonardogallo
Автор

Can you make the video for initialization i²c using stm32f103

jaenalawaluddin
Автор

9:30 Wouldn't be better the 'and' operator instead of 'or' operator?

ExceXior
Автор

Sir I am using STM32F0 custom board interfaced with BMP180 via I2C. The I2C lines stops working after some time with I2C error 1 or I2C error 4. What should I do?

rishavbhattacharya
Автор

Hi thanks for your very useful tutorials.
I need some help about CNC and ARM microcontroller.
Actually i am new in ARM Microcontroller and my plan is make a USB to LPT port adapter for my old Mach3 cnc machine, which receive Mach3 signals form USB port and convert them to LPT so my old mach3 controller can transfer them to stepers, end switchs and... .
I really like to research and i want to do this. so the questions are:
What protocol about USB to LPT port should i know and which one Mach3 needs?
Can i do this whit this tutorials?
In which conspectus shoud i research?
Is there any websites to help?
Thank you very much.

rezashiri
Автор

thanks Patrick useful as always, but i have a question plz, when i connect more than one device to the I2C bus they don't work, for example the adxl345 and pcf8574 to drive the LCD over I2C, but when i connect one device everything is going well, and i have tried a lot of devices, mpu6050, and some eeproms, can't connect more than one device at time... is it because of the pull-up resistors?, but when i used the embedded pull-up resistors in the mcu the problem wasn't fixed. is there any solution?

MrController
Автор

Surely the !CS line is active LOW not HIGH?

Graham
Автор

Hi, I'm have been using coIDE for 8 months. Now i'm unable to use it. Repository don't connect. And now I'm completely stuck. To create a new project you need the repository. I don't know what to do.

KarlVaello
visit shbcf.ru