I2C driver in C (with VL53L0X sensor) | Embedded System Project Series #23

  Рет қаралды 3,628

Artful Bytes

Artful Bytes

Күн бұрын

Пікірлер: 16
@kyle6344
@kyle6344 Жыл бұрын
Your workflow and code style is very satisfying! Good inspiration to establish best practices for clean and debuggable code, no matter the size of the project
@artfulbytes
@artfulbytes Жыл бұрын
Thanks Kyle, happy to hear it!
@4sIElectronics
@4sIElectronics 3 ай бұрын
The documentation about the sensor in this video is at whole different level compared to ST:s. Wasted an awful amount of time with their "easily implementable" API. This video greatly endorsed me for starting to write the drivers from scratch. Your blog post is very valuable and easy to follow, thank you for your contribution.
@nabeast1980
@nabeast1980 Жыл бұрын
this is such great content! I've been trying to learn the stm32 family of MCUs but your videos show design approaches and organization concepts that generalize well. definitely an underrated channel that i hope gets more popular!
@olivialinden8699
@olivialinden8699 Жыл бұрын
I'm incredibly grateful for your videos as a beginner in embedded systems. They provide valuable insights and help me understand the working process and essential steps involved. Your dedication to sharing knowledge is commendable. 👍👍👍👍👍👍👍
@olivialinden8699
@olivialinden8699 Жыл бұрын
By the way the comment is not generated by ChatGPT
@artfulbytes
@artfulbytes Жыл бұрын
@@olivialinden8699 I believe you!
@olivialinden8699
@olivialinden8699 Жыл бұрын
@@artfulbytesoh, yeah, sure
@stefanogrillo6040
@stefanogrillo6040 10 ай бұрын
whole i have to say fantastic channel, on point well presented clarity of arguments
@shahzaibshamim6524
@shahzaibshamim6524 11 ай бұрын
Man you are a serious hardcore programmer.
@artfulbytes
@artfulbytes 11 ай бұрын
🦾
@konstantinmovie
@konstantinmovie 10 ай бұрын
Hi, I have 8 - VL53L0X sensors, I connected them to raspberry pi 4, how do I start them? It turned out only to assign different addresses, but how to get the distance from these sensors. Please help me.
@artfulbytes
@artfulbytes 10 ай бұрын
Hi, there should be a linux library/driver you can use if you are on a raspberry pi. Just did a quick search, and found this github.com/mjbogusz/vl53l0x-linux and this github.com/torvalds/linux/blob/master/drivers/iio/proximity/vl53l0x-i2c.c
@konstantinmovie
@konstantinmovie 10 ай бұрын
Thanks, but I'm using python@@artfulbytes
@Bachanguc
@Bachanguc Жыл бұрын
line 710 in vl53l0x.c :"i2c_read_addr8_data16(REG_RESULT_RANGE_STATUS + 10, range)" i don't know why, you explain for me.Thank you
@artfulbytes
@artfulbytes Жыл бұрын
This reads register with address REG_RESULT_RANGE_STATUS+10=0x14+10, so register with address 0x1E, which is the register that contains the range value. I could have defined a name for 0x1E to avoid the addition of 10, but there is no complete register map for vl53l0x provided by ST, and this is how they did in their reference code.
How to Board Bring-up | Embedded System Project Series #24
33:09
Artful Bytes
Рет қаралды 4 М.
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 47 МЛН
Real Or Cake For $10,000
00:37
MrBeast
Рет қаралды 59 МЛН
Why Function Pointers are Awesome
11:11
Jacob Beningo
Рет қаралды 7 М.
How I program GPIOs in C | Embedded System Project Series #12
30:00
STM32 + OLED = Display Anything
18:01
Nick Electronics
Рет қаралды 19 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 355 М.