Let's Make Robots!

Arduino Micro + Lego

Avoid hitting objects and eventually remote controlled with bluetooth

Re-Write

After a bit of research, I finially have two fully working sketches.  One is for autonomous mode using dual ultrasonic SR04 modules and the motors are running straight from a L293D and 6 volts worth of double A's.  I did manage to get speed control, but not really sure how it is working since the pinout is not addressed as a voltage and it doesn not appear to be PWM...but it is good enough to match speed on both of the old spybotic motors.

The second sketch is bluetooth through the BT2s module and BlueTerm using u/d/l/r for direction commands. 

My next task will be to integrate the two sketches so it will run either mode.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Way to go Oddbot. Why is it that so many in the Arduino world tend to go out of their way making others feel welcome? I thought this place was different to the Arduino.cc forum but .......nup......I was wrong.

FYI, OddBot was being helpful. He was explaining the difference between a robot page and the forum. You ask questions in the forum and show how you built your robot on a robot page.

I notice the two criticizing him haven't made any significant contribution to LMR while OddBot is likely the most respected member of LMR because of his many informative tutorials and robot pages.

...how posting a negative comment helps to elevate the robot building experience? Nobody is doing anything magical here. Each project is a rehash of previously designed robot projects. No disrespect intended! Let the kid build and document his robot as he pleases...

Because you have posted this as a robot project you should not be asking for help here. Don't post your code like you have because it makes your post very untidy. Attach a zip file. Your code to drive the ultrsound looks wrong. Start a seperate forum to get help.

 

A robot project post should have photos showing construction of your robot, video of it in action and an explanation of why you built it, how you built it etc.

?