how to power a 24volts electromagnet
i am using electromagnetic sensor which is 24volts. in that i only have the connections for power voltage(positive) and the signal. when i am trying to power it with my stm32f411re nucleo board i can see that the power isn't sufficient. so can i use a 24volts power supply to that and the negative to the stm32f411re nucleo board ground.
so i was thinking the connections would be like,
power supply positive to the sensor positive, signal to the stm32 nucleo board. power supply negative to the ground of the stm32 board. would these connections make sense, or would it fry my board?
is there any quick connections to power the sensor with 24volts. quickest answer is much appreciated. thank you in advance.


