I haven’t posted here for a while as we’ve been working on projects for the past few months.
First of all I would like to congratulate the seventeen Bodgers who were awarded belts yesterday. It’s been a pleasure mentoring you and you are all welcome to return in September and spend another year with us in the Bodgers group.
I would like to thank Dave for helping me out with the group and thanks also to Alaidh who helped us up until Christmas.
Dave and I are already making plans for next year and we’re very excited about what we are going to do. Tune in next September when we will have more information.
In other news the CoderDojo Foundation and the Raspberry Pi Foundation have merged. I’m sure this will make very little difference to what we do day to day at CoderDojo Athenry, it may mean more resources will be available for us as a group involved in STEM activities. You can read more about it from CoderDojo here and from Raspberry Pi here.
Enjoy the summer and see you in September.
Hi again everybody.
Over the last couple of Saturdays the bodgers group have been preparing to build our own circuits. Two weeks ago we looked at some of the theory behind electronics, how the GPIO pins on the Raspberry Pi work, how to use GPIO Zero the main Python module we will use and we watched some videos which explained how some of the components we will be using work together. Last Saturday we built some simple circuits.
The first circuit shown above uses GPIO pin 17 to light a LED and the second uses GPIO 2 to read from push button switch. Here are my slides from both sessions back-to-basics.
As we have only a short session next week and the Christmas party is the following week we will return to building circuits after the Christmas break.
Next week I will demonstrate some of the tools I use to set up the Raspberry Pi, this will include tools to format and write to SD cards and tools for finding the IP address of your Raspberry Pi. I will also do a very basic overview of the Arduino. So if you have or are hoping to get some hardware to experiment with at home this session shouldn’t be missed.
I will also talk about what looks like a cool new challenge from the Raspberry Pi Foundation.
See you all next week.
This week’s challenge is to create a game of Rock-Paper-Scissors.
This week, you can choose to either create a 2-player networked game with a friend, or if you don’t feel like doing networking, you can write a 1-player version where you play against the computer. It’s up to you!
This challenge makes use of the networking ideas that we have covered in recent weeks, when writing a network Chat program and when writing 2-player Pong.
The big ideas behind today’s challenge are:
- How to design a 1-player or 2-player program
- Using variables for exchange of data between computers and to pick random numbers
- Using broadcasts to sync parts of the game
Here are the presentation slides from the day, in PDF format: CDA-S2-Challenge15-RockPaperScissors.pdf
Next time, we will help ninjas to work on their own games.
If you would like me to send you these slides in PowerPoint format, feel free to get in touch on Twitter or via the comments!