You normally want to use an opto isolator or an SSR (which is also isolated) to drive a 230VAC load. Directly driving a transistor or TRIAC from the drive circuit would expose the circuit to lethal voltages.
You normally want to use an opto isolator or an SSR (which is also isolated) to drive a 230VAC load. Directly driving a transistor or TRIAC from the drive circuit would expose the circuit to lethal voltages.