No code required — just go to the Chao Garden.
In Sonic Adventure 2 Battle you can raise a chao resembling Sonic through the normal garden mechanics, so a cheat device is unnecessary. Any "AR code" for this is overcomplicating something the game already lets you do.