Why dishwashers and small water appliances need conductivity/TDS measurement
In smart small appliances such as dishwashers, coffee machines, water purifiers, water dispensers, smart cups and pet water fountains, conductivity/TDS measurement is not intended to replace laboratory water quality analysis, but to provide the device with a trend signal that "something in the water has changed". Its value is concentrated in four areas:
- Scale and hardness trends: conductivity/TDS is related to the total dissolved ions in water. For dishwasher inlet water, higher TDS usually means there may be more calcium and magnesium ions, which will accelerate scaling of the heater, spray arms and inner tub. The device can use the inlet TDS trend to remind users to use softening salt, adjust wash programs or trigger descaling in advance.
- Wash program and consumable management: based on inlet TDS or changes in rinse water conductivity, the duration, water volume or detergent dosage of pre-wash, main wash and rinse can be dynamically adjusted. For dishwashers with resin softeners, the resin regeneration cycle and salt tank consumption can be estimated from the TDS difference before and after the softener or from cumulative values.
- Device status feedback and maintenance: for example, filter life estimation, probe scaling warnings and water path residue trend prompts. These signals help users understand the device's operating status, but it must be made clear that they are trend indications, not compliance measurements.
- Differentiated features for smart connectivity: by reporting TDS data to the main controller or the cloud via interfaces such as UART/single-wire, brands can offer value-added services such as water usage reports, filter replacement reminders and abnormal water usage alerts.
AtomBit's BA121 and BA311, aimed at smart water appliances and OEM integration, provide single-channel conductivity + water temperature measurement and 0–3000 ppm automatic TDS measurement capability, respectively. The following discusses how to implement these two chips in dishwashers and similar small appliances.
Implementable feature matrix
| Feature direction | Conductivity/TDS input | Typical devices | Product conditions that must be verified | | --- | --- | --- | | Inlet hardness trend | Raw water TDS, temperature | Dishwashers, coffee machines, water purifiers | Local water ion composition, temperature range | | Softener regeneration reminder | TDS before and after softener or cumulative value | Dishwashers with resin softeners | Resin capacity, salt tank status, sampling location | | Rinse residue trend | Final rinse water conductivity | Dishwashers, baby bottle washers | Detergent composition, grease, foam interference | | Filter life estimation | Outlet TDS, cumulative water volume | Water purifiers, water dispensers, pet water fountains | Different types: RO/ultrafiltration/activated carbon | | Scaling warning | TDS + temperature rate of change | Coffee machines, instant water dispensers | Heater surface temperature, flow rate |
Note: The features in the table are all internal device feedback or user prompts and must not be used to claim "water quality compliance", "sterile" or "meets a certain standard".
Selection and decision: how to choose between BA121 and BA311
1. First confirm the measurement goal and range
If the product needs to obtain both conductivity and water temperature and wants the chip to automatically perform temperature correction, the single-channel conductivity + water temperature architecture of BA121 is more suitable. If the product only needs 0–3000 ppm TDS output, is very space-constrained and wants the MCU to read data via BURST Tx data output, the SOT23-6 package and 300 ms automatic measurement cycle of BA311 can reduce peripheral components and development effort.
However, note that the public information for BA311 does not list a temperature compensation function. If the device's operating temperature range is wide (for example, dishwasher inlet water from 5°C to 60°C), the engineering team must confirm whether an external temperature sensor is needed and compensation performed on the main controller side, or segmented correction applied around the calibration temperature points.
2. Probe and electrode design
Both chips use bipolar drive, which can reduce probe polarization. However, the probe's electrode material, geometry, insulation layer and housing must be compatible with the target liquid. Dishwashers may come into contact with alkaline detergents, acidic descalers, surfactants and high-temperature water, so the probe must be resistant to chemical corrosion and temperature and not prone to scaling. The OEM team should work with the probe supplier to verify long-term drift under different detergents and food residues.
3. Sampling points and flow path
For dishwashers, three locations should be prioritized: after the inlet valve, after the softener and on the final rinse branch. After the inlet valve is suitable for detecting raw water hardness trends; after the softener is suitable for judging softening effectiveness and regeneration triggering; the final rinse branch is suitable for observing rinse residue trends. For small water appliances such as coffee machines, a detection point can be set in the water tank or at the inlet, but reading fluctuations caused by dead zones, bubble accumulation and water stagnation must be avoided.
4. Main controller and algorithms

BA121 requires configuring the measurement cycle according to the datasheet and reading conductivity and temperature; the BURST Tx output of BA311 can reduce MCU pins but must be parsed according to the protocol. Algorithmically, it is recommended to apply moving averaging, outlier removal and convert TDS/conductivity into ranges such as "low, medium, high" rather than displaying laboratory-grade values. For example, 0–3000 ppm can be mapped to several levels for user prompts.
Integration implementation steps
- Requirements freeze: clarify whether the device needs to detect raw water, post-softener water or rinse water; target range, temperature range and response time.
- Chip selection: choose BA121 or BA311 based on whether temperature compensation is needed, range, package, and output method. If space is extremely limited, the SOT23-6 package of BA311 is more suitable.
- Probe customization and assembly: determine the cell constant, materials, housing sealing, cable length and connectors, and ensure manufacturability.
- Circuit design: lay out power supply decoupling, input protection, reference resistor or calibration resistor according to the datasheet; pay attention to separating analog ground and digital ground.
- Firmware development: implement measurement timing, temperature compensation (if needed), filtering, calibration coefficient storage, and fault self-check.
- Bench validation: test with different TDS standard solutions, different temperatures, and different detergents/contaminants, and record repeatability and deviation.
- Mass-production calibration: perform rapid calibration using known standard solutions, or verify batch consistency through sampling.
Limitations and boundary conditions
Conductivity/TDS can only reflect the total amount of soluble ions in water and cannot distinguish specific ions such as calcium, magnesium, sodium, and chloride. Therefore, "hardness" can only be used as a trend and cannot be equated with laboratory hardness testing. In dishwashers, detergent, rinse aid, salt, and food residues all change conductivity, and the algorithm must account for these dynamic interferences.
In addition, high temperatures, bubbles, and scaling or contamination on the probe surface can cause measurement drift. BA121/BA311 are both chip-level solutions, and their reliability depends on the probe, housing, and installation environment; they cannot be directly assumed to be suitable for all high-temperature, high-pressure spray environments in dishwashers. If the temperature at the sampling point exceeds the allowable range of the chip or probe, cooling, isolation, or a remote probe solution must be added.
Finally, this detection is intended only for consumer screening, device feedback, and trend indication, not for regulatory or laboratory analysis. Brands must not imply in their marketing that the product "meets drinking water standards" or "has passed hygiene certification" unless it has undergone independent third-party testing.
Validation methods and mass-production testing recommendations
- Standard solution calibration: use KCl standard solutions at 25°C with at least 5 points from low to high, and check linearity and repeatability.
- Temperature sweep: measure the same standard solution at 5°C, 25°C, 45°C, and 60°C to evaluate temperature correction error.
- Actual dishwasher cycle: use standard dishwasher tablets, rinse aid, and salt, run a complete wash program, and record the TDS/conductivity curve at each stage to confirm that trends are identifiable.
- Long-term drift: run continuously for 500–1000 hours, compare weekly with a reference conductivity meter, and observe probe scaling and chip drift.
- Mass-production sampling inspection: sample a certain proportion of devices from each batch and perform quick verification at three TDS points to ensure factory consistency.
FAQ
Q: Can conductivity/TDS directly measure water hardness? A: It cannot measure it accurately. TDS is related to total dissolved solids, and hardness is mainly contributed by calcium and magnesium ions, but it is affected by sodium, potassium, chloride, and others. It can be used as a trend indicator, and a mapping must be established based on local water samples.
Q: Can BA121/BA311 be installed directly inside a dishwasher during high-temperature spraying? A: It is not recommended to assume so directly. The operating temperature range of the chip and probe must be confirmed, as well as the effects of detergent, steam, and high-pressure water flow. It can be installed at the water inlet or in a sampling branch that has been cooled/isolated.
Q: Is it reliable to judge detergent residue using the conductivity of the final rinse water? A: It can only serve as a device feedback trend. Rinse water may simultaneously contain softening salt, rinse aid, and food residue ions, so TDS alone cannot accurately determine the residual amount.
Q: Does the 0–3000 ppm range of BA311 cover all tap water? A: Most municipal tap water and RO effluent fall within this range, but some high-TDS groundwater or special water sources may exceed the range. Water samples from the target market should be collected and measured before design.
Q: How can the impact of probe polarization on measurement accuracy be reduced? A: Choose a chip that supports bipolar drive (both BA121 and BA311 have this feature), and also optimize the electrode material, measurement cycle, and flow path design to avoid long-term DC excitation.
