Projectiles transmitting information to a remote location using optical or electronic means