Search the Community
Showing results for tags 'nxtcam'.
Found 1 result
bartneck posted a topic in LEGO Technic, Mindstorms, Model Team and Scale ModelingPlay TicTacToe against this LEGO Mindstorms EV3 robot. It uses three motors to drop its balls into the right field and a NXTCam to view the board. It then calculates the best move using a MiniMax Algorithm. All future moves are explored and rated according to their winning chances. An IR sensor detects your hand when you drop your ball. The robot is using red balls and the human player uses blue balls. The java code is available at Github and the building instructions are available for LEGO Digital Designer on my website show in the description. I used the MinuteBot baseplate, which is useful for building static Mindstorms models. I also used a LED lamp to provide consistent lighting that is powered through the USB port of the EV3. The position of the camera can be centered on the board using the wrench and through sliding along the axles. I hope you enjoy this robot. More information at http://www.bartneck.de/2017/07/17/tictactoe-playing-lego-mindstorms-robot-using-computer-vision/