ISS tracker project code help

Thread Starter

lyxm8d

Joined Sep 10, 2022
4
I'm trying to do the following project:
https://www.instructables.com/International-Space-Station-TrackerPointer/

I've followed all of the instructions, connected all the components, and uploaded the code to the board (changing everything mentioned in the instructions). For some reason, I can't get it to work; neither the DC motor nor the servo motor are moving at all when I connect the battery. I asked someone to help me cut the trace and solder it so the nucleo board could work at 5v (someone who is much more experienced than me, and who checked it to make sure it was still working afterwards), so I know that isn't the problem. I have very little coding experience, so I'm unsure whether or not that's what I need to change.
Here's a picture of what I've set up:
IMG_9053.jpg

And here's what it's supposed to look like:
3268bb_3e5fbd9bc41544a9afe9eb394a7f4c0b_mv2.jpg
3268bb_dcd399df97cf4c21af32c4167ec66abb_mv2.png
3268bb_df5a4e9827194441be33a18e01d9ad59_mv2.png
3268bb_02b4f06d2bc742c0b1c1f7648cd528d3_mv2.png
3268bb_96cb13f5682447b091db9743e9f9d685_mv2.jpg

Does anyone have any idea what I need to change to get the servo and DC motors to work as they should?
 

LesJones

Joined Jan 8, 2017
3,811
I suspect that the tiny 9 volt battery in the picture cannot supply enough current to drive the motors. Monitor the battery voltage and note how much it drops when trying to run the motors. (The link in your post states that a 9 volt supply that is capable of supplying at least 1 amp is required. The battery you are using will not supply that much current. The motor that you are calling a DC motor is a stepper motor.

Les.
 

Thread Starter

lyxm8d

Joined Sep 10, 2022
4
I suspect that the tiny 9 volt battery in the picture cannot supply enough current to drive the motors. Monitor the battery voltage and note how much it drops when trying to run the motors. (The link in your post states that a 9 volt supply that is capable of supplying at least 1 amp is required. The battery you are using will not supply that much current. The motor that you are calling a DC motor is a stepper motor.

Les.
Thank you for your help! I'll try a different power source when I next have access to a lab.

I did know it's called a stepper motor- I'm not sure why I called it a DC motor, but thank you.
 
Top