Serious Help Needed!
zerosimple
Posts: 1
I am trying to write a code for a BoeBot using the proximity sensor, it has to be able to complete a maze. It is also required for the bot to sit at the starting line until you wave your hand in front of the sensor as it then proceeds to start the course and then also stops once it reaches the end of the course. I was sick most of the semester and did all of my work on my own time and don't exactly understand all what I am exactly doing. My group members also haven't been paying much attention and are even more clueless. Any help would be greatly appreciated. If anyone has a pre-existing code out there that they could post it would be amazing. Below I am going to include some pictures of our set up so far. Thanks so much in advance!
Comments
2) You're obviously not using a PING ultrasonic sensor. If you want help, you're going to have to give more details and provide links to datasheets for the non-Parallax parts.
3) Maze traversal is a very complex problem. You're very unlikely to find pre-existing code that someone will give you, particularly for an obvious contest where, I'm sure, writing the program is part of the challenge. We'd be happy to answer specific questions, but getting ready-to-go code is out of the question and would be cheating. Maybe if you provided the e-mail address of the contest organizers so we could verify that using someone else's code is acceptable ...
Or else, if you can live with a digital high/low at whatever fixed distance your module triggers, you can skip the ADC as shown at http://www.youtube.com/watch?v=zLk4n8KjhB4
I don't understand the wiring though. It doesn't look like it's wired correctly to me. I looks like Din is connected to Vdd.