Exercise 5: Coin counter


Variables are introduced in this model. The end position mechanism is used to count revolutions and to check the magazine fill level. Finally, voice output is added to the model.



How does a program save counts? How can different processes be controlled with an end position mechanism?

Learning objective

  • Programming several end position mechanisms
  • Use of variables to count events
  • Voice output of variables

Time required

Setting up the coin counter takes about half an hour. Two school hours should be set aside for the development and testing of the programs 
Coin ejector, Multiple coin ejector, Coin ejector all, Coin counter and Coin counter with speech, which build on each other.

The experimental task supplements a voice output that can be added in a few minutes if the students have already programmed the voice output from model 4.