Two sensors on the 5V pin

I agree with @JCA34F but only if the encoder is mechanical (I'm not familiar with this encoder)

Else , To troubleshoot I would:

Connect the BO 055 (leave it to the Germans to have a PN with a numeric 0 following an alpha O).

Connect just the power to the encoder. Check to see if the BO is working.

If so connect one encoder pin at a time.

Are you using the SW in the encoder? If so where is it connected.

Have you rotated the encoder when the BO was not working?

@JCA34F That unfortunately doesn't make a difference

@JohnRob
I don't use the SW

I did not rotate the encoder,

but now I noticed something strange (or not? I don' know): When I rotate the encoder, I get a signal from the BNO every second step. My guess is, when both output channels of the encoder return HIGH, the stm has not enough power anymore. but when only one channel returns HIGH, there is enough for both sensors.

@MrArduino2000 use your multimeter on current measuring mode to measure how much current flows in the 5V* or 3.3V wires to the encoder and to the sensor. Compare this to the 500mA that USB can provide.

(* The STM board is 3.3V, so you should be connecting only 3.3V signals to the input pins, 5V could damage them.)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.