The judge sentencing Ashley Gill-Webb said although his behaviour was "serious" enough to demand punishment, he thought Gill-Webb was unlikely to offend again.
Gill-Webb was found guilty of intending to cause the men's Olympic 100m finalists harassment, alarm or distress by using threatening, abusive or disorderly behaviour.
Prosecutor Helen Shaw said the high-profile nature of the incident and the fact that the world was watching were aggravating factors.
[It was a] once-in-a-four-year event watched by millions of people around the world.
Some of the people who were in that area missed the event and had paid up to £4,000 a ticket.
More top news
Team Sky's Chris Froome is set to win the 2016 Tour de France with an overall lead of four minutes 11 seconds after stage 20 to Morzine
The attempted kidnap of an RAF serviceman took place near RAF Marham, in Norfolk, on Wednesday.
Footballer Marc Crosas faces an investigation after pictures emerged of him appearing to have speared an endangered baby shark