Bioelectronic devices can provide an interface for feedback control of biological processes in real-time based on sensor information tracking biological response. The main control challenges are guaranteeing system convergence in the presence of saturating inputs into the bioelectronic device and complexities from indirect control of biological systems. In this paper, we first derive a saturated-based robust sliding mode control design for a partially unknown nonlinear system with disturbance. Next, we develop a data informed model of a bioelectronic device for in silico simulations. Our controller is then applied to the model to demonstrate controlled pH of a target area. A modular control architecture is chosen to interface the bioelectronic device and controller with a bistable phenomenological model of wound healing to demonstrate closed-loop biological treatment. External pH is regulated by the bioelectronic device to accelerate wound healing, while avoiding chronic inflammation. Our novel control algorithm for bioelectronic devices is robust and requires minimum information about the device for broad applicability. The control architecture makes it adaptable to any biological system and can be used to enhance automation in bioengineering to improve treatments and patient outcomes.