Carbonates are an important raw material in many areas of industry. Today, precipitated calcium carbonate (PCC) in particular can replace the natural mineral CaCO3. PCC is used in coating pigments and fillers in rubber, plastics, paints (15 Mt/a) and paper (10 Mt/a) 1-4 . CaCO3 is conventionally produced from limestone, which consists mainly of CaCO3 in addition to magnesium carbonate MgCO3 and other compounds . Naturally occurring limestone reserves are available all over the world and are mined in large quantities, which has an impact on the environment. Alternatively, CaCO3 can be produced synthetically as a PCC. In the first step, quicklime (CaO) is deglazed by reacting with water (H2O) to form calcium hydroxide (Ca(OH)2). CO2 is then passed through the Ca(OH)2 solution to produce PCC and H2O. This process is known as carbonation. The reverse process, calcination, is used to make quicklime. CaCO3 decomposes to CO2 and CaO in a thermolysis process that requires a large amount of thermal energy. In terms of climate protection, it is particularly important that raw materials such as CaCO3 are produced in an environmentally friendly and resource-saving manner. One possibility for carbon capture to limit anthropogenic warming is to inject CO2 into sedimentary basins which requires an impermeable cap rock to prevent CO2 from migrating to the surface . Inside the basin carbon-mineralization takes place, but with this technology the generated product cannot be used and is only permanently stored. As a result, lime is still mined. Therefore, technologies that bind greenhouse gases in addition to the producing of raw materials are important components in fighting climate change. In addition to the leaching of lime, the recycling of waste streams is a variant of energy-saving carbonate production. In industry, there are many waste streams rich in calcium. For example, there is cement waste (1 Gt/a) coal fly ash (750 Mt/a), steel mill slag (400 Mt/a) and mine tailings (77 Mt/a) . The food sector also produces waste streams containing calcium, such as eggshells, which can be used for calcium leaching . While there is research on the recovery of calcium from cement waste , coal fly ash and steel mill slag , research on tailings as a raw material is more limited to heavy metals . As the most common alkaline earth metals in nature, calcium and magnesium are also present in tailings, they are useful raw material for carbonates . One potential approach for carbonation is the pH swing method, which emulates the natural chemical weathering process. Subsequently, the calcium (Ca 2+ ) and magnesium (Mg 2+ ) ions present in the tailings are carbonized with CO2 to form CaCO₃ and MgCO₃ . This process represents an energysaving, sustainable, and environmentally friendly alternative to previous productions methods as the tons of mine waste produced each year are refined and CO2 is captured from the atmosphere. Mineral carbonation can thus contribute to the reduction of CO2 in the atmosphere, which is one of the main causes of global warming, and can provide sustainable and geostable CO2 storage in carbonates. In order to achieve high efficiency and wide applicability, it is proposed to develop an autonomous process capable of adapting to the specific conditions of each mine. The process is comprised of four distinct stages: leaching, filtration, precipitation, and separation. The leaching stage involves the dissolution of alkaline ions from minerals, while the filtration stage is responsible for separating solid residues. The precipitation stage is responsible for the selective production of carbonates, and finally, the separation stage is responsible for extracting the carbonates from the leaching solution. This study focuses on the initial step, namely the leaching of Ca 2+ and Mg 2+ ions from a range of minerals. The quality of the leaching is determined by means of ion chromatography, with the analysis conducted at varying times of acid addition. The following acids are employed: hydrochloric acid (HCl), sulfuric acid (H2SO4), and citric acid (C6H8O7). In addition to real tailings from an iron and copper mine, the individual particles of anhydrite and talc are examined for comparison between single and multiple particle systems. The objective is to characterize the process of acid leaching with regard to autonomous control by identifying the optimal acid type, acid concentration, and leaching time for continuous, autonomous control to produce selectively carbonates of CaCO3 and MgCO3 with high purity using the pH swing carbonation method.