Skip to content

hannes22/xyRobot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xyRobot

xyRobot is the Framework for my Robot. Visit my website for more informations.

Software used

xyRobotRemote

xyRobotRemote is a Java App which communicates with the Robot Firmware over a serial port. It allows you to shoot pictures with the Gameboy camera and remote-control the robot. It requires Java 6 and could possibly work with Java 7...

Protocol

The protocol used by the xyRobot Firmware and xyRobotRemote to remote-control the robot is as follows.

Character SequenceAction
ASCII '?'Print Firmware Version String
0x80, xRotate the camera Up/Down to the position indicated by the next byte, x, (0 to 180)
0x81, xSame as 0x80, but Left/Right
0x82, r1...r8Send picture. Camera Register Settings set with the following 8 bytes.
0x83, d, s, dirDrive dist cm with speed speed. Direction Forwards if dir = 1, Backwards if dir = 0
0x84, deg, dirRotate deg Degree. Direction Right if dir = 1, ;eft if dir = 0
0x85, r1...r8Send picture with 4bit per Pixel.
0x86Returns measured distance.
0x87, r1...r8Send picture with 2bit per Pixel.
0x88, r1...r8Send picture with 1bit per Pixel.

New major releases could change this protocol or make additions.

Releases

No releases published

Packages

No packages published