NOVELTY - A device comprises a tank (3) having separator (7) with anode chamber (1) and cathode chamber (2). A cathode material (6) is provided in the cathode chamber. An anode material (5) is provided in the anode chamber. The cathode material and anode material are connected by wires. The groove bottom position is set with polyethylene-phase positive ion exchange film (4). Water is added to the cathode chamber as a cathode chamber liquid at 25-37 degrees C, and incubated for 12-36 hours.    USE - Device used for producing electric energy and biogas fertilizer.    ADVANTAGE - The device can be operated at room temperature, and has good power generating property, low production cost, and simple operation.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is included for production of electric energy and biogas fertilizer comprising:    (A) crushing and sieving crop straw having a grain diameter of less than 2 mm, adding distilled water, leaching for 12-20 hours, cutting ion exchange film into proper size, and soaking in distilled water at not less than 24 hours;    (B) mixing the livestock manure, and crop straw, placing in the anode chamber, fermenting for few hours, adjusting a solid content to 2-10%, adding the raw material, leading the anode chamber to nitrogen for 3 minutes, and sealing the anode chamber, and connecting the anode and cathode electrodes through an external circuit to form a closed loop, and adding water to the cathode chamber;    (C) operating the device for 12 hours and gradually increasing for 4-10 days to reach a maximum value of 0.81 V, carrying out continuous operation for more than 35 days; after 3 days if more than 20 mA, continuing the operation for 5-21 days; and    (D) determining a biogas slurry and biogas residue component, a pH value, organic carbon, organic compound content, nitrogen phosphorus potassium-containing amount, and each index in standard organic fertilizer, taking biogas liquid, and leaving the subsequent device operation and controlling the raw material of the released fertilizer.    DESCRIPTION OF DRAWING(S) - The drawing is a schematic diagram of the fertilizer production device.    Anode chamber (1)    Cathode chamber (2)    Tank (3)    Polyethylene-phase positive ion exchange film (4)    Anode material (5)    Cathode material (6)    Separator (7)