The solar fuels generator includes photoanodes that each extends outward from a first side of a membrane. The generator also includes photocathodes that each extends outward from a second side of the membrane. The photocathodes each includes a p-type semiconductor and the photoanodes each includes an n-type semiconductor. The p-type semiconductors are in electrical communication with the n-type semiconductors.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH
 This invention was made with government support under DE-FG02-07ER46405 awarded by the Department of Energy. The government has certain rights in the invention.