In this work, we describe the development of a Testing environment, both hardware and software, for the new generation of particle detectors used by the LAGO Collaboration. The test environment consists of two printed circuit boards (PCBs), an interface board to interconnect RedPitaya (SoC used for data acquisition) with a photomultiplier tube (PMT) and environmental sensors, and a biasing board used to interconnect RedPitaya to a Silicon Photomultiplier (SiPM). A Software module in LabView and Matlab was developed to emulate the RedPitaya. This software saves and process data acquired through a digital oscilloscope. We show a first application of this test environment: Setting the working point of the PMT and SiPM.