Electronic pill (1, 11) comprising at least one medicine reservoir (2, 12) with a solid powder or granulate medicine, a discharge opening (3, 13) and an actuator responsive to control circuitry for displacing medicine from the reservoir (2, 12) to the discharge opening (3, 13). The medicine comprises a dispersion of one or more active ingredients—e.g., solids in powder or granulate form—in an inert carrier matrix. Optionally, the active ingredients are dispersed using intestinal moisture absorbed into the pill via a semi-permeable wall section (14).