The electrolysis process is used with sodium carbonate & a battery charger, definitely not a battery.
One such sodium carbonate product is "Arm & Hammer Super Washing Soda, (see below).
Baking Soda, a different product, is sodium "bi"- carbonate, & can be used only if spread on a cookie sheet & baked at 300 degrees F for an hour.