Storing Data With Ping))
dirtrider444
Posts: 33
Hey guys
Im trying to figure out how to store data with my ping)) ultrasonic range finder. My books show me how to do it with photoresistor but not an ultrasonic. I put a servo on my boe-bot(BS2 chip) so I can have the servo rotate the ping sensor left, then right, and determine which distance is greater and go that way. My book only demonstrates how to do it with the photoresistors, but not with the ultrasonic. Any simple codes or info for me that can help me on storing data?
Thanks!
Taylor
Im trying to figure out how to store data with my ping)) ultrasonic range finder. My books show me how to do it with photoresistor but not an ultrasonic. I put a servo on my boe-bot(BS2 chip) so I can have the servo rotate the ping sensor left, then right, and determine which distance is greater and go that way. My book only demonstrates how to do it with the photoresistors, but not with the ultrasonic. Any simple codes or info for me that can help me on storing data?
Thanks!
Taylor
Comments
As with most Parallax products, there are a variety of links to sample programs and documentation on the webstore page for each product. Have a look at the Parallax webstore page for the PING))). There's a link to "Roaming with the PING" that shows how to use a servo to scan the environment using a PING and use the data to control the BoeBot to explore its environment.
Microcontrolled- Apologize for the briefness of the question. I am using a boe-bot board, BS2 stamp, Ping)) UltraSonic RangeFinder, and a Hitec Micro Servo "HS-505MG". Servo works great, general program works pretty well right now. Just trying to have my robot not be a "bumper-kart" lol Oh and the book im using for reference is "Robotics with the Boe-Bot" by Andy Lindsay
Thanks Guys!
'
You can take the Roaming with PING))) code and strip out the code that deals with the IR sensors. Start with the first FREQOUT statement and delete lines through the first ENDIF. If you want, you can delete the declarations for irDetectLeft and irDetectRight as well.