Yes, what's on the last pic you posted needs to go in here:
And you need to wire the sensor up fully of course (red, black and blue)
all the three wires you removed from the original sensor in your motor...
using the wires that are inside your motor!
Do not hotglue it in place ideally,
it will need to be removeable
since no, it's still NOT the correct sensor for the motor it's our measuring tool to determine what sensor will be needed.
And since the measuring device needs to be removed again.. I'd say no hotglue.
(if it wiggles around, a tiny bit of bluetack perhaps..)
And yes the motor needs to be CLOSED with it's end cap.
And then it's time for the arduino to do it's job.
conenct to the laptop (and the motor of course)
following the instructions it prins in the serial monitor
and then copying the results for me to read.
wait what? shorted out?
in the pic it looks like it shorted against the rotor..
(which slammed against it when you removed the end cap)
if you suspect another short.. test first!
(disconnect black and red from the arduino, and probe that with a multimeter for resistance..
any less than 50 Ohms and we have a problem)
you should see something like 1 kOhms or so tbh (1000 Ohms..)
so 50 Ohms would already indicate an issue, but no dangerous one to our arduino
reconnect black and red to the arduino as before and proceed (if resistance on black and red on the motor is 50Ohms or higher)
'sid
And you need to wire the sensor up fully of course (red, black and blue)
all the three wires you removed from the original sensor in your motor...
using the wires that are inside your motor!
Do not hotglue it in place ideally,
it will need to be removeable
since no, it's still NOT the correct sensor for the motor it's our measuring tool to determine what sensor will be needed.
And since the measuring device needs to be removed again.. I'd say no hotglue.
(if it wiggles around, a tiny bit of bluetack perhaps..)
And yes the motor needs to be CLOSED with it's end cap.
And then it's time for the arduino to do it's job.
conenct to the laptop (and the motor of course)
following the instructions it prins in the serial monitor
and then copying the results for me to read.
wait what? shorted out?
in the pic it looks like it shorted against the rotor..
(which slammed against it when you removed the end cap)
if you suspect another short.. test first!
(disconnect black and red from the arduino, and probe that with a multimeter for resistance..
any less than 50 Ohms and we have a problem)
you should see something like 1 kOhms or so tbh (1000 Ohms..)
so 50 Ohms would already indicate an issue, but no dangerous one to our arduino
reconnect black and red to the arduino as before and proceed (if resistance on black and red on the motor is 50Ohms or higher)
'sid