The PANDA Experiment will be one of the future experiments at the Facility for Antiproton and ion Research (FAIR), which has been officially founded in October2010. The facility will be built on the area of the GSI Helmholtz zentrum fur Schwerionenforschung GmbH (GSI) in Darmstadt, Germany [1]. In the experiment, a stream of frozen hydrogen spheres (pellets) will traverse vertically an anti-protonbeam circulating in the accelerator. Collisions of projectile anti-protons with the proton nuclei’s of the pellets will lead to the generation of new particles, which inturn will be measured in the PANDA detector facility. By using fast single-line CCD cameras, it is possible to capture the pellet course in all three spatial dimensions and calibrate the pellet interactions. The aim of this thesis project is to describe the FPGA firmware for reading frames delivered by line-scan CCD cameras, detect and parameterize light reflections from pellets and deliver the results in the form of amplitude, position and a time stamp to the external readout system via an optical link. Additionally, the firmware supports slow control functions of the system as well as camera configuration.