cancel
Showing results for 
Search instead for 
Did you mean: 

Need HELP getting started with VL53L5CX - Nucleo L476RG

Eriol
Visitor

Hello everybody!
I would really appreciate if you find some time to help me with my project. 
I want to take distance data from VL53L5CX module, which I have connected with Nucleo L476RG board exactly as in the picture uploaded.

I just want this data to be printed in serial port, 4x4, 8x8 matrix would be great. Need some real help step by step, also with the scripts in CubeIDE as I am a new enthusiast in this whole thing.

Thanks in advance,
Eriol

These are the exact pin connections(L476RG board)These are the exact pin connections(L476RG board)

4 REPLIES 4
Andrew Neil
Super User

Welcome to the forum.

 


@Eriol wrote:

I am a new enthusiast in this whole thing.


What do you mean here by, "this whole thing" ?

 


@Eriol wrote:

 with the scripts in CubeIDE 


It sounds like you are not familiar with C programming? C Programs aren't usually described as "scripts".

In that case. it might be best to start with that on a PC - most microcontroller materials will assume (at least) a basic understanding of C.

Also, learning C on a microcontroller adds a few complications not found on a PC.

Here are some learning & reference materials for C: 

https://blog.antronics.co.uk/2011/08/08/so-youre-thinking-of-starting-with-c/

 

Some microcontroller getting started tips:

https://community.st.com/t5/stm32-mcus-products/for-better-learning-stm32-programming-and-debugging/m-p/719485/highlight/true#M260696

https://community.st.com/t5/stm32-mcus-products/for-better-learning-stm32-programming-and-debugging/m-p/719485/highlight/true#M260696

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi Andrew, thanks for replying!
I mean I am new with CubeIDE and Nucleo boards. Also I am not much familiar with C, as you mentioned.
Tried some programing, but still can't initialise the sensor.  I have added the necessary drives, vl53l5cx uld library, still can't find the solution. Thats why I asked a step by step guidance, maybe a main.c file that works, or if you can help with a similar project.

Thank you!


@Eriol wrote:

I mean I am new with CubeIDE and Nucleo boards. Also I am not much familiar with C, 


Then I would certainly suggest that this is a bit ambitious as a starting point.

I would strongly suggest that you start with the basics to gain a good understanding of the part, the tools, etc:

https://community.st.com/t5/stm32-mcus-products/for-better-learning-stm32-programming-and-debugging/m-p/719485/highlight/true#M260696

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Pavel A.
Super User

Need some real help step by step

Here you can find this help.