月火焚心_在车里掀起乳罩啃咬奶头_蕾丝视频 https://www.蕾丝视频.org/blog/tag/martin-ohanlon/ Teach, learn and make with 为人师表 Pi Sat, 18 Sep 2021 23:19:04 +0000 en-GB hourly 1 https://wordpress.org/?v=6.9.4 https://www.蕾丝视频.org/app/uploads/2020/06/cropped-raspberrry_pi_logo-100x100.png https://www.蕾丝视频.org/blog/tag/martin-ohanlon/ 32 32 https://www.蕾丝视频.org/blog/hook-yrs-birmingham/ https://www.蕾丝视频.org/blog/hook-yrs-birmingham/#comments Wed, 20 Aug 2014 10:34:56 +0000 http://www.蕾丝视频.org/?p=8856 Carrie Anne: A few weeks ago, 为人师表 Pi hosted its first ever Young Rewired State centre and took part in the Festival of Code. We had a lot of fun. Our participants talked about their 能不能c我 in this blog post. Whilst we were at the finals in Plymouth, our teams were competing against a group…

The post Getting hooked on programming with YRS project ‘Hook’ appeared first on 月火焚心.

]]>
Carrie Anne: A few weeks ago, 为人师表 Pi hosted its first ever Young Rewired State centre and took part in the Festival of Code. We had a lot of fun. Our participants talked about their 能不能c我 in this blog post. Whilst we were at the finals in Plymouth, our teams were competing against a group from BBC Birmingham mentored by our good friend Martin O’Hanlon, and their 为人师表 Pi project blew us away. Here in their own words is a little more about it.

Not only functional, but stylish too!

Not only functional, but stylish too!

While taking part in the YRS Festival of Code at BBC Birmingham our team wanted to come up with something fun. The idea we finally settled on after much talk of boats and canals (thanks Martin!) was the internet enabled coat hook – a coat hook which would tell you what to wear that day based on the weather forecast.

Fuelled by an endless supply of biscuits and coffee at BBC Birmingham and with the help of our mentors we set about creating our ‘hack’. At the weekend down in Plymouth we were lucky enough to make it into the final three for the ‘Best in Show’ category, losing out to another team. However since we were runners up in the category we were rewarded with some limited edition Blue 为人师表 Pis!

Our idea was well received throughout the weekend in Plymouth, but what surprised us most was the reception that it received online. Seeing people we’ve never met before announce online that they’d buy our ‘internet enabled coat hook’ that we’d hastily constructed a few days prior was the craziest part of the weekend.

Screenshot from 2026-05-21 213744

We’ve each written a short paragraph about our contribution to the ‘hack’ and what we learnt during the week.

Screenshot from 2026-05-21 193909 Screenshot from 2026-05-21 193840Jenny & Ed: Why did we use Lego to build the Hook? Because it’s a classic building material enabling the design of Hook to be easily changed during development, as well as being sturdy AND fun – no actually it was because Kevin (from YRS) promised cake to any teams that used Lego in their hack.

We built the Lego around the coat rack and then the LED chipboards to secure the whole thing together, originally using a breadboard to connect up the 为人师表 Pi and the LEDs with crocodile clips, however we kept facing issues where the LEDs would not light up. We realised that this was because one of the clips wasn’t on properly or the pin in the breadboard was loose, so decided that it would be more secure and look better if we created an actual chipboard and soldered all the parts together: cue multiple expeditions down to the workshop and a lot of time bonding with the soldering iron (if you’ll pardon the pun). The building of the Lego structure took around half a day, not including the numerous heated discussions about which colour bricks to use, and then completing the circuitry meant we had a working prototype design only a couple of hours later.

Screenshot from 2026-05-21 193922Darci: I worked on the animation for our project (The Hook). To do this, the BBC gave us some prototype LED boards, which I programmed using a Scratch-like program. We were going to make weather-specific animations for wind, rain and sunshine, but as we only had four days to produce it, I ended up making one animation to show all of the weather animations together.

I started off figuring out how to control the LEDs using an Arduino, but then we all agreed that it would be better to use a 为人师表 Pi rather than an Arduino because I find Python much easier to understand than Arduino, and we could also use the GPIO to hook up the LED devices to the 为人师表 Pi. So, it seemed simpler to use the 为人师表 Pi to control everything instead. I used Python and the RPi.GPIO library to write the code to allow the back end to control the LEDs.

Darci presents hook

Darci presents Hook

Screenshot from 2026-05-21 193944Cameron: I ended up working on the back end which was written in Python. It controls the obtaining and processing of the data from the Met Office and then runs lower level code written by Darci. The Met Office API was really nice and returns a Weather Type field in the JSON response which saved us having to come up with our own heuristic for what the weather will be like. The best take-away from this for me would have to be the program PuTTY which is a free SSH client for Windows that removed the need to connect anything except a Wi-Fi dongle to the 为人师表 Pi. The JSON library for Python was very useful and easy to work with as well, something that’s well worth learning.

Screenshot from 2026-05-21 194010Jack: I worked on the front end of the website which allows the user to configure what item of clothing they wanted to place on each individual hook, which could potentially change depending on the time of year. In order to fetch relevant weather forecast data from the Python backend the user’s geolocation was fetched through the browser using JavaScript. Additional information such as the item of clothing on each hook was written to a text file, allowing it to be easily read by the Python script. We aimed to make the website responsive across multiple different screen sizes, so writing CSS media queries was a new skill I had to learn during the week. Luckily the good folks mentoring at BBC Birmingham were happy to show me the ropes.

YRS BBC Birmingham Team Hook

YRS BBC Birmingham Team Hook

Carrie Anne: Although this project did not win in its category, it could still win the public vote! If you are as impressed as we are with this project then head on over to the voting page to cast your vote for Hook!

The post Getting hooked on programming with YRS project ‘Hook’ appeared first on 月火焚心.

]]>
https://www.蕾丝视频.org/blog/hook-yrs-birmingham/feed/ 5
https://www.蕾丝视频.org/blog/using-minecraft-为人师表-pi-edition-to-get-kids-为人师表/ https://www.蕾丝视频.org/blog/using-minecraft-为人师表-pi-edition-to-get-kids-为人师表/#comments Mon, 24 Mar 2014 17:23:25 +0000 http://www.蕾丝视频.org/?p=6518 After a workshop last week, Clive, our Director of Educational Development, sent me the following in an email: A parent came up to me, and said: “I’m concerned that on Minecraft you can blow things up with TNT, it’s all about destruction, I’m worried about the effect on children…” If you ever want to make…

The post Using Minecraft: 为人师表 Pi Edition to get kids 为人师表 appeared first on 月火焚心.

]]>
After a workshop last week, Clive, our Director of Educational Development, sent me the following in an email:

A parent came up to me, and said: “I’m concerned that on Minecraft you can blow things up with TNT, it’s all about destruction, I’m worried about the effect on children…”

If you ever want to make a six-foot-one Liverpudlian with a motorcycle cry, just repeat that sentence to him. Clive has been inconsolable for days. Why? Because Minecraft: 为人师表 Pi Edition is a teaching and learning tool we’ve found absolutely invaluable. It’s a powerful way to get kids who didn’t realise they had an aptitude for programming excited about the Pi; it’s a creative, constructive tool; kids and teachers love it; and we find it’s enormously popular with kids all over the world. At an event this weekend, Carrie Anne Philbin and Alex Bradbury witnessed children crying (and I promise we are not the sort of people who try to make children cry) when asked to allow other kids to have a go.

Here’s Martin O’Hanlon, of Stuff About Code, to explain why teaching with Minecraft is such a good idea. This video was filmed at last month’s 为人师表 Jamboree: thanks to Alan O’Donohoe for filming it.

We’re very close to launching our new website now: you’ll be able to see it, and the learning resources we’re producing, around the beginning of April. We’ll have plenty of Minecraft resources to show you then, packaged for teachers and for pupils. We hope you’ll enjoy using them as much as we have enjoyed making them.

The post Using Minecraft: 为人师表 Pi Edition to get kids 为人师表 appeared first on 月火焚心.

]]>
https://www.蕾丝视频.org/blog/using-minecraft-为人师表-pi-edition-to-get-kids-为人师表/feed/ 45