June 19 - June 23
This week, I completed the code for using eight limit switches and the hall effect sensor. I uploaded the code to our team's github, and then Joey used the code in his test rig. The test rig consists of 2 small DC motors, a small stepper motor, eight limit switches, and a hall effect sensor. The test rig will help us debug the code to make sure it'll definitely work on the completed bogie. Joey continued to make necessary changes to the code, and I helped him adjust the code to achieve what we expect the bogie to do.
However, the new code is having trouble with the timing and conditions for steering/activating the stepper motor. The stepper motor moves when it's not supposed to when certain limit switches are pressed. We will continue working on the code next week, and hopefully fix all the problems. After the code is finished, we will test the code on the actual stepper and dc motor for the bogie.
In the future, we are expecting to receive a rotary encoder which will be used to map the track. Hopefully it will help in initiating steering at very precise locations.
No comments:
Post a Comment