You might want to check that the sensor's pings aren't hitting the wheels and returning early. I had an issue similar to this and I removed the wheels and tested and it gave me good readings. Try taking off the wheels and testing the code. If you get good readings, you know that the servo wheels are your issue!
- Viewing Profile: Reputation: PatriotAce
About Me
I'm from Lowell MI, and I've been programming for about 7 years now. I started with HTML after I got to help my mom review a product for a Homeschool magazine (drawing a blank right now, will update as soon as I remember). I soon progressed on to XHTML and CSS, though never really got into JavaScript (probably should've.)
Then I wanted to try out application programming, so my dad got me a book on the Just Basic language, a spinoff on the LibertyBASIC language, which in turn is based on the old Beginners All Purpose Instruction Code (BASIC). I played with that for about two years, then moved on to Python, and that's where I am now.
I'm the co-author on the Excellince in Writing Rockets, Radar, and Robotics book, a writing book for Upper Elementary/Middle School age boys.
Community Stats
- Group Members
- Active Posts 47
- Profile Views 11,893
- Member Title Advanced Member
- Age 27 years old
- Birthday June 29, 1999
-
Gender
Not Telling
-
Location
Lowell, MI, USA
-
Interests
Computers, Robotics, Linux, Ubuntu, Christian Rock, Christian Hip Hop/Rap, Running (kinda, not really. Minor activity during the summer to stay in shape), Prototyping, Raspberry Pi, Python
User Tools
Latest Visitors
#114 Ultrasonic sensor not working
Posted by PatriotAce
on 24 April 2014 - 05:55 PM
- Viewing Profile: Reputation: PatriotAce




Find content
