This paper presents a miniature Optogenetics headstage for wirelessly stimulating the brain of rodents with an implanted LED while recording electrophysiological data from a two-channel custom readout. The headstage is powered wirelessly using an inductive link, and is built using inexpensive commercial off-the-shelf electronic components, including a RF microcontroller and a printed antenna. This device has the capability to drive one light-stimulating LED and, at the same time, capture and send back neural signals recorded from two microelectrode readout channels. Light stimulation uses flexible patterns that allow for easy tuning of light intensity and stimulation periods. For driving the LED, a low-pass filtered digitally-generated PWM signal is employed for providing a flexible pulse generation method that alleviates the need for D/A converters. The proposed device can be powered wirelessly into an animal chamber using inductive energy transfer, which enables compact, light-weight and cost-effective smart animal research systems. The device dimensions are 15×25×17 mm; it weighs 7.4 grams and has a data transmission range of more than 2 meters. Different types of LEDs with different power consumptions can be used for this system. The power consumption of the system without the LED is 94.52 mW.