Krumlink said:2 IR Emitters
2 IR Recievers TBD what they exactly are
Nigel Goodwin said:I'll try one more time?, check my website I posted a link to previously for you, you only need one receiver and two emitters - it's not something I designed and wrote, I just used the original designers product.
blueroomelectronics said:May I humbly suggest a 28pin PIC (the 18F2525) as it has 2 PWM (motor channels), just connect it like the Mongoose schematic.
petrv said:Did you select the motor/gearbox for your robot project ? If you want to use the classical 2 motor configuration I'd say Bill is correct that a PIC with 2 PWM would be a better choice. I planned to play with robotics as well, ordered some Tamyia gearboxes and wheels from www.pololu.com and also their robot chassis - it is really quite cheap, but I did not have time to continue with this project ...
It would be interesting to hear more about your robot project
Petr
Krumlink said:Yes, I looked at the site, but for simplicity we are going to use 2 sensors and 2 emitters, each easily representing Left and Right side. Maybe you mean 2 sensors and 1 emitter, but the emitter better be pretty bright!
Besides, It will as i already said represent the left and right sides better.
Krumlink said:Oh i get at what you mean now, just in the software tell when it left side is on and right side is on?
That would not work very well (cyclops robot) because, this robot wants to tell if it is going to hit left side or right side at the same time. It would only be a limiting factor.
Not at all, the 8 pin PIC outputs signals for left and right, both together mean an object directly in front - as with anything electronic it's far, far faster than the mechanics involved in the robot - it works extremely well, and just as good (if not better) than a double sensor solution.
By using a separate 8 pin PIC all you need to do is check the L and R pins from it, I even added LED's on the output so you can see what's happening.
Krumlink said:1. I don't have any 8 Pin PIC's nor do I want to deviate from the 18F series (You used a PIC12F right).
2. A 1 Sensor 2 LED design does not make sense, unless you sent a signal through the LED's, even then it does not make sense.
3. For ease of programming, a 2 sensor design would be superior, because all you have to do is when it detects an input it reverses, when it doesnt drive straight.
4. A "cyclops" robot has a disadvantage over a 2 eye robot.
5. From your description how would the sensor be able to tell what side from what? remember that I am learning C, and I am not going to use Assembly in this robot, and It will just make it more complex.
Krumlink said:its not looking straight ahead! Both sensors are looking at a 45 degree angle, that way if left detector senses a wall it backs up the opposite side of the H bridge, but if right side does not detect it goes straight, making it turn.
With a 1 sensor design it can only look straight ahead without favoring one side.
Krumlink said:I am going to use a 2 sensor design since I have experience with 2 sensors like that. Also because the sensor is actually bulging out of the packaging slightly, it is a very wide angle reciever. I will be able to see in front slightly , and it will most likely be around 30degrees from straight ahead. I could add a switch if I wanted to.
if it detects both, it will back up for a few seconds, and advance.
Krumlink said:Building Walter and VETRA are 2 completely seprate things, althought both of them seem like they are the same project. VETRA is seprate from our C learning. VETRA is more like a personal project that uses what I learn from C. As for actually learning new C content, that is where Walter is coming in. I learn with Walter and apply it with VETRA.
This is what I always do, I learn with one tool and use what i learn with another tool, a good example of this is worksheets/assignments you get in school.
Walter will not take long to assemble, and I will use 2.4V with the Motors, since my Gearbox likes that voltage without squeeling too much. I will operate the circuity off a 9V battery (Alkaline to take into affect voltage) or a 8 pack of AAA/AA cell.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?