Wednesday, December 11, 2019

Connor Guzikowski AM 2 Hours Robot Club

Today for my robot club project, I made some pretty big strides. I was able to get accurate readings from my flex sensor, turns out it was just the wiring I messed up. I was then able to get an accurate  reading from my sensor and send it to rotate my servo. At first, the servo would be rotating in unusual degree increments and would not rotate as I bend my flex sensor. I realized that this is because it is common for the flex sensor to give off random, unusual readings. The way I was able to fix this was to research and create an array to take the values from five different reads of the flex sensor, and then took the average of those values to get one accurate value.

No comments:

Post a Comment