{"id":9924,"date":"2014-10-14T13:43:20","date_gmt":"2014-10-14T12:43:20","guid":{"rendered":"http:\/\/www.raspberrypi.org\/?p=9924"},"modified":"2021-09-19T00:10:43","modified_gmt":"2021-09-18T23:10:43","slug":"annabels-goblin-detector","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/annabels-goblin-detector\/","title":{"rendered":"Goblin detector and Jam review – a guest post from 8-year-old Annabel"},"content":{"rendered":"

Liz: Annabel Oakley is eight years old. That makes her our youngest ever guest blogger! Here’s her account of a day out at a the PyCon UK Raspberry Jam in September at Coventry University, and the goblin-scaring project she made with her Raspberry Pi. <\/em>Thanks very much, Annabel – and thanks also to Dad<\/a>, who helped out with the Goblin Detector and drove the car!<\/em><\/p>\n

Annabel wanted a project to show at the  computer conference. She decided to make a Goblin Detector which would sound a buzzer and flash a light, when her brother or sister went in her bedroom.<\/p>\n

\"goblins\"<\/p>\n

Annabel used a Raspberry Pi computer and a motion sensor.<\/p>\n

\"Annabel
\nHer dad showed her what to do, and Annabel wired it up and wrote the program to control it.<\/p>\n

\"goblin
\nThe program was written in a computer language called Python. The Goblin Detector has a motion sensor in a margarine tub. It connects to the Raspberry Pi using three wires.<\/p>\n

\"wiring\"<\/p>\n

The Raspberry Pi has an add-on called Pibrella<\/a> which gives it three lights, a buzzer and a button. It waits 5 seconds to let you get out of
\nthe room, then it waits for movement. When it sees movement, it sounds a buzzer. You can press the button to stop the buzzer, and it will wait for movement again.<\/p>\n

\"Pibrella\"
\nThe motion sensor is very cheap, only \u00a33, and can be found in light switches which turn off automatically. It has three wires:<\/p>\n

\u2022 Positive
\n\u2022 Signal
\n\u2022 Negative<\/p>\n

The program waits for a high current on the Signal wire, which means it has seen some movement. You can find out how to make and <\/a>
\n
program one yourself<\/a> on Annabel’s dad’s website.<\/p>\n

Then Annabel and her dad set off for the computer conference. The ticket was only \u00a35 for children!<\/p>\n

\"Annabel,
\nWhen Annabel got there, she got given a goody bag which included a brand new Raspberry Pi, a book and other goodies!<\/p>\n

Annabel wrote a program to put the words \u201cHello World\u201d on the screen in Minecraft.<\/p>\n

\"programming\"<\/p>\n

Some teachers were also at the conference. The teachers were learning how children used computers.<\/p>\n

\"programming\"
\nThere were also some computer programmers helping the children and
\nteachers. The grown-ups were not allowed to touch the keyboards. The children had to do everything themselves! There were lots of grown-up computer programmers around to help out, and some of the children were already experts.<\/p>\n

Lots of people were interested in Annabel\u2019s Goblin Detector.<\/p>\n

\"kids\"
\nWe let the children take it apart and program it for themselves. It was easy to put it back together.<\/p>\n

Most of the children at the computer conference were girls. There was a whole pack of Brownies!<\/p>\n

\"girls\"<\/p>\n

Annabel also saw some robots which  could be programmed to dance.<\/p>\n

\"robot\"
\nAnnabel made a friend called Sam and they wrote a program to take lots of photos, and then turn those photos into an animated video.<\/p>\n

\"sam
\nThere were some famous programmers helping out, such as Carrie Anne Philbin and Ben Nuttall, who work for the Raspberry Pi charity.<\/p>\n

\"Miss
\nSam and Annabel had to show off their animation to everyone else.<\/p>\n

\"demo\"<\/p>\n

You can watch their 8-second animation here.<\/p>\n