So here's the Target Bot. D7 is the main servo. D8 is the switch, which uses the GND and Signal cables (no resistors required).
EZ-Script Code:
Servo(d7,38)
Sleep(1000)
Release(d7)
:main
If(GetDigital(d8) = 0)
Goto(hit)
Goto(main)
:hit
Servo(d7,80)
Sleep(1500)
say("Nice Shot")
Servo(d7,38)
Sleep(500)
Release(d7)
return()
By urbanh
— Last update
Other robots from Synthiam community
Ezang's Roman With New Head Movements And More...
New ARC program with the arduino So far he can: move his eyes move his head move his mouth, timed with the words he is...
DJ's Darth Vader Humanoid Robot
I made this Darth Jader for an upcoming The Robot Program episode. Wanted to share the robot exclusively with the...
Wolfie's Well Its A . Start
Hello all I got my kit the other day and just started to play with it today and yes when it came in i did hook a servo...

Very nice... simple, yet refreshingly different and practical. Now throw in some random dodging and a phased plasma pulse rifle, in the forty watt range.....
Super project! I dig this
Glad to see you got it working so easily. What's next
Thanks Gunner and DJ. Just starting out. Thinking about mounting a gun to it and using the movement/facial recognition software to make it a little more interactive. I'm waiting for my replicator 2 to show up to build some of the required parts.