Injection of cryogenic deuterium pellets has been successfully applied in ASDEX Upgrade for external edge localized mode (ELM) frequency control in type-I ELMy H-mode discharge scenarios. A pellet velocity of 560 m s −1 and a size of about 6×10 19 D-atoms was selected for technical reasons, although even lower masses were found sufficient to trigger ELMs. A moderate repetition rate close to 20 Hz was chosen to avoid over-fuelling of the core plasma. Pellet sequences of up to 4 s duration were injected into discharges close to the L-H threshold, intrinsically developing large compound ELMs at a rate of 3 Hz. With pellet injection, these large ELMs were completely replaced by smaller type-I ELMs at the much higher pellet frequency, accompanied by a slight increase of density and even of stored energy. This external ELM control could be repeatedly switched on and off by just interrupting the pellet train. ELMs were triggered in less than 200 µs after pellet arrival at the plasma edge, at which time only a fraction of the pellet has been ablated, forming a rather localized, three-dimensional plasmoid, which drives the edge unstable well before the deposited mass is spread toroidally. The pellet controlled case has also been compared with a discharge at a somewhat lower density, but with otherwise rather similar data, developing spontaneous 20 Hz type-I ELMs. Despite the different trigger mechanisms, the general ELM features turn out to be qualitatively similar, possibly because of the similarity of the two cases in terms of ELM relevant parameters. The scaling with background plasma, heating power, pellet launch parameters, etc over a larger range still remains to be investigated.