cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 nucleo and ultrasonic sensor

Asma Ben nasr
Associate
Posted on November 30, 2017 at 20:49

Hi everyone,

I have a shield stm32L476 Nucleo and an ultrasonic sensor.

is it possible to connect them together ?

Thank you

3 REPLIES 3
AvaTar
Lead
Posted on December 01, 2017 at 13:20

I have a shield stm32L476 Nucleo and an ultrasonic sensor.

is it possible to connect them together ?

Why not ?

For the MCU, it does not matter what the sensor actually measures, just the interface (analog, SPI, I2C, ...).

So, it would be helpful to state the sensor type you want to use.

And, things are easier if the supply voltages match.

Posted on December 01, 2017 at 17:29

AvaTar wrote:

For the MCU, it does not matter what the sensor actually measures

And for the sensor, it does not matter what microcontroller you use!

The sensor will simply behave as specified in its documentation - so it's your job to read that, and then write your code accordingly:

http://www.8052.com/forum/read/160143

 
Posted on December 01, 2017 at 18:20

You are right, but (as I guess) if the O.P. knew and understood that, he wouldn't have asked.