My First Robot

This is my first robot ever.

Navigate around via infrared

  • Actuators / output devices: 2 x SM-S1337SM
  • CPU: arduino uno
  • Power source: 7.2v 3300mah Rocketpack 2
  • Programming language: Arduino
  • Sensors / input devices: Sharp digital IR
  • Target environment: indoor

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/my-first-robot-24

Most important part

Is not connected in the photo … 

Yep but

I have some problems with it.

Looking at your code

You might want to use the arduino servo library.

http://arduino.cc/en/Reference/Servo

Can it

Be used to control full rotation servos? I thought that it cannot.

If you send pulses to a

If you send pulses to a modified servo, what will happen is it will try to move towards the position the pulse indicates, but since it never gets any feedback, it keeps moving.  It moves faster when you send it to extreme positions.

At least, that’s how my modified servos work when I run them with code meant for unmodified servos.

Yes
Instead of sending the servo a posisition you send it a velocity.