Tag Archives: Your Projects

Using data to help a school garden

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/using-data-to-help-a-school-garden/

Chris Aviles, aka the teacher we all wish we’d had when we were at school, discusses how his school is in New Jersey is directly linking data with life itself…

Over to you, Chris.

Every year, our students take federal or state-mandated testing, but what significant changes have we made to their education with the results of these tests? We have never collected more data about our students and society in general. The problem is most people and institutions do a poor job interpreting data and using it to make meaningful change. This problem was something I wanted to tackle in FH Grows.

FH Grows is the name of my seventh-grade class, and is a student-run agriculture business at Knollwood Middle School in Fair Haven, New Jersey. In FH Grows, we sell our produce both online and through our student-run farmers markets. Any produce we don’t sell is donated to our local soup kitchen. To get the most out of our school gardens, students have built sensors and monitors using Raspberry Pis. These sensors collect data which then allows me to help students learn to better interpret data themselves and turn it into action.

Turning data into action

In the greenhouse, our gardens, and alternative growing stations (hydroponics, aquaponics, aeroponics) we have sensors that log the temperature, humidity, and other important data points that we want to know about our garden. This data is then streamed in real time, online at FHGrows.com. When students come into the classroom, one of the first things we look at is the current, live data on the site and find out what is going on in our gardens. Over the course of the semester, students are taught about the ideal growing conditions of our garden. When looking at the data, if we see that the conditions in our gardens aren’t ideal, we get to work.

If we see that the greenhouse is too hot, over 85 degrees, students will go and open the greenhouse door. We check the temperature a little bit later, and if it’s still too hot, students will go turn on the fan. But how many fans do you turn on? After experimenting, we know that each fan lowers the greenhouse temperature between 7-10 degrees Fahrenheit. Opening the door and turning on both fans can bring a greenhouse than can push close to 100 degrees in late May or early June down to a manageable 80 degrees.

Turning data into action can allow for some creativity as well. Over-watering plants can be a real problem. We found that our plants were turning yellow because we were watering them every day when we didn’t need to. How could we solve this problem and become more efficient at watering? Students built a Raspberry Pi that used a moisture sensor to find out when a plant needed to be watered. We used a plant with the moisture sensor in the soil as our control plant. We figured that if we watered the control plant at the same time we watered all our other plants, when the control plant was dry (gave a negative moisture signal) the rest of the plants in the greenhouse would need to be watered as well.

Chris Aviles Innovation Lab Raspberry Pi Certified Educator

This method of determining when to water our plants worked well. We rarely ever saw our plants turn yellow from overwatering. Here is where the creativity came in. Since we received a signal from the Raspberry Pi when the soil was not wet enough, we played around with what we could do with that signal. We displayed it on the dashboard along with our other data, but we also decided to make the signal send as an email from the plant. When I showed students how this worked, they decided to write the message from the plant in the first person. Every week or so, we received an email from Carl the Control Plant asking us to come out and water him!


If students don’t honour Carl’s request for water, use data to know when to cool our greenhouse, or had not done the fan experiments to see how much cooler they make the greenhouse, all our plants, like the basil we sell to the pizza places in town, would die. This is the beauty of combining data literacy with a school garden: failure to interpret data then act based on their interpretation has real consequences: our produce could die. When it takes 60-120 days to grow the average vegetable, the loss of plants is a significant event. We lose all the time and energy that went into growing those plants as well as lose all the revenue they would have brought in for us. Further, I love the urgency that combining data and the school garden creates because many students have learned the valuable life lesson that not making a decision is making a decision. If students freeze or do nothing when confronted with the data about the garden, that too has consequences.

Using data to spot trends and make predictions

The other major way we use data in FH Grows is to spot trends and make predictions. Different to using data to create the ideal growing conditions in our garden every day, the sensors that we use also provide a way for us to use information about the past to predict the future. FH Grows has about two years’ worth of weather data from our Raspberry Pi weather station (there are guides online if you wish to build a weather station of your own). Using weather data year over year, we can start to determine important events like when it is best to plant our veggies in our garden.

For example, one of the most useful data points on the Raspberry Pi weather station is the ground temperature sensor. Last semester, we wanted to squeeze in a cool weather grow in our garden. This post-winter grow can be done between March and June if you time it right. Getting an extra growing cycle from our garden is incredibly valuable, not only to FH Grows as business (since we would be growing more produce to turn around and sell) but as a way to get an additional learning cycle out of the garden.

So, using two seasons’ worth of ground temperature data, we set out to predict when the ground in our garden would be cool enough to do this cool veggie grow. Students looked at the data we had from our weather station and compared it to different websites that predicted the last frost of the season in our area. We found that the ground right outside our door warmed up two weeks earlier than the more general prediction given by websites. With this information we were able to get a full cool crop grow at a time where our garden used to lay dormant.

We also used our Raspberry Pi to help us predict whether or not it was going to rain over the weekend. Using a Raspberry Pi connected to Weather Underground and previous years’ data, if we believed it would not rain over the weekend we would water our gardens on Friday. If it looked like rain over the weekend, we let Mother Nature water our garden for us. Our prediction using the Pi and previous data was more accurate for our immediate area than compared to the more general weather reports you would get on the radio or an app, since those considered a much larger area when making their prediction.

It seems like we are going to be collecting even more data in the future, not less. It is important that we get our students comfortable working with data. The school garden supported by Raspberry Pi’s amazing ability to collect data is a boon for any teacher who wants to help students learn how to interpret data and turn it into action.

Hello World issue 10

Issue 10 of Hello World magazine is out today, and it’s free. 100% free.

Click here to download the PDF right now. Right this second. If you want to be a love, click here to subscribe, again for free. Subscribers will receive an email when the latest issue is out, and we won’t use your details for anything nasty.

If you’re an educator in the UK, click here and you’ll receive the printed version of Hello World direct to your door. And, guess what? Yup, that’s free too!

What I’m trying to say here is that there is a group of hard-working, passionate educators who take the time to write incredible content for Hello World, for free, and you would be doing them (and us, and your students, kids and/or friends) a solid by reading it 🙂

The post Using data to help a school garden appeared first on Raspberry Pi.

Raspberry Pi interactive wind chimes

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/interactive-wind-chimes/

Grab yourself a Raspberry Pi, a Makey Makey, and some copper pipes: it’s interactive wind chime time!

Perpetual Chimes

Perpetual Chimes is a set of augmented wind chimes that offer an escapist experience where your collaboration composes the soundscape. Since there is no wind indoors, the chimes require audience interaction to gently tap or waft them and encourage/nurture the hidden sounds within – triggering sounds as the chimes strike one another.

Normal wind chimes pale in comparison

I don’t like wind chimes. There, I said it. I also don’t like the ticking of the second hand of analogue clocks, and I think these two dislikes might be related. There’s probably a name for this type of dislike, but I’ll leave the Googling to you.

Sound designer Frazer Merrick’s interactive wind chimes may actually be the only wind chimes I can stand. And this is due, I believe, to the wonderful sounds they create when they touch, much more wonderful than regular wind chime sounds. And, obviously, because these wind chimes incorporate a Raspberry Pi 3.

Perpetual Chimes is a set of augmented wind chimes that offer an escapist experience where your collaboration composes the soundscape. Since there is no wind indoors, the chimes require audience interaction to gently tap or waft them and encourage/nurture the hidden sounds within — triggering sounds as the chimes strike one another. Since the chimes make little acoustic noise, essentially they’re broken until you collaborate with them.

Follow the Instructables tutorial to create your own!

The post Raspberry Pi interactive wind chimes appeared first on Raspberry Pi.

Gamified boxing with Pi Fighter

Post Syndicated from Rob Zwetsloot original https://www.raspberrypi.org/blog/gamified-boxing-with-pi-fighter/

Gamifying boxing with a special punchbag that allows you to fight Luke Skywalker? Rob Zwetsloot starts a training montage to check it out.

Not Rob

Street Fighter

Did you know that the original version of Street Fighter had a variant where you could punch the buttons to get Ryu to attack? The harder you smacked the kick button, the more damage it would do. These apparently wore out very quickly, which is why watching Street Fighter tournaments these days is akin to watching someone playing the piano. Albeit with six buttons and a joystick.

What if you could bring this back? And combine it with other arcade classics and staples? Meet Richard Kirby’s Pi Fighter.

A new challenger!

“Pi Fighter is essentially a real-world old-school fighting video game,” Richard tells us. “The player chooses an opponent and challenges them to a sparring match. Each player has a certain number of health points that decrement each time the other player lands an attack. Instead of clicking a joystick or mouse button, the player hits a heavy bag. The strength of the hit is measured by an accelerometer. [A Raspberry] Pi translates the acceleration of the heavy bag (measured in G) into the number of health points to decrement from the opponent. [Raspberry] Pi runs your opponent, which attacks you — you don’t actually get hit, but your health points decrement each time they attack.”

Use a heavy bag to get a good workout and a good idea of your punch strength, Rocky IV style

It’s a remarkably simple idea, and it started off as just an app that used a smartphone’s accelerometer. Translating that to a Raspberry Pi is just a case of adding an accelerometer of its own.

3… 2… 1… Fight!

“I realised it could be used to measure the overall strength of a punch, but it was hard to know how that would translate into an actual punch, hence the idea to use a heavy bag,” Richard explains. “This appealed to me as I studied karate and always enjoyed hitting a heavy bag. It is always difficult to gauge your own strength, so I thought it would be useful to actually measure the force. The project ended up consuming a good amount of time, as you would expect when you are learning.”

Finish them?

While Pi Fighter is already used at events, Richard says “[i]t needs a bit of tuning and coding to get everything right […]. It could be a never-ending project for me. You can always fix things and make the software more robust, the user interface more usable, etc. It isn’t mass-rollout ready, but I have never had it fail at a key moment such as presenting at a Raspberry Jam or Raspberry Pint. It (mostly) gets better every time I put some effort into it.”

If you find yourself at Raspberry Pint in London, make sure to do a bit of a warm-up first — you might find yourself head-to-head in a boxing match with a Jedi. Here’s hoping they don’t know Teräs Käsi.

The post Gamified boxing with Pi Fighter appeared first on Raspberry Pi.

Raspberry Pi in space!

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-in-space/

We love ‘Raspberry Pi + space’ stuff. There, I’ve said it. No taksies backsies.

From high-altitude balloon projects transporting Raspberry Pis to near space, to our two Astro Pi units living aboard the International Space Station, we simply can’t get enough.

Seriously, if you’ve created anything space-related using a Raspberry Pi, please tell us!

Capturing Earth from low orbit

Surrey Satellite Technology Ltd (SSTL) sent a Raspberry Pi Zero to space as part of their Demonstration of Technology (DoT-1) satellite, launched aboard a Soyuz rocket in July.

Earth captured from Low Earth Orbit by a Raspberry Pi

Subscribe to our YouTube channel: http://rpf.io/ytsub Help us reach a wider audience by translating our video content: http://rpf.io/yttranslate Buy a Raspberry Pi from one of our Approved Resellers: http://rpf.io/ytproducts Find out more about the #RaspberryPi Foundation: Raspberry Pi http://rpf.io/ytrpi Code Club UK http://rpf.io/ytccuk Code Club International http://rpf.io/ytcci CoderDojo http://rpf.io/ytcd Check out our free online training courses: http://rpf.io/ytfl Find your local Raspberry Jam event: http://rpf.io/ytjam Work through our free online projects: http://rpf.io/ytprojects Do you have a question about your Raspberry Pi?

So, not that we’re complaining, but why did they send the Raspberry Pi Zero to space to begin with? Well, why not? As SSTL state:

Whilst the primary objective of the 17.5kg self-funded DoT-1 satellite is to demonstrate SSTL’s new Core Data Handling System (Core-DHS), accommodation was made available for some additional experimental payloads including the Raspberry Pi camera experiment which was designed and implemented in conjunction with the Surrey Space Centre.

Essentially, if you can fit a Raspberry Pi into your satellite, you should.

Managing Director of SSTL Sarah Parker went on to say that “the success of the Raspberry Pi camera experiment is an added bonus which we can now evaluate for future missions where it could be utilised for spacecraft ‘selfies’ to check the operation of key equipments, and also for outreach activities.”

SSTL’s very snazzy-looking Demonstration of Technology (DoT-1) satellite

The onboard Raspberry Pi Zero was equipped with a Raspberry Pi Camera Module and a DesignSpark M12 Mount Lens. Image data captured on the space-bound Raspberry Pi was sent back to the SSTL ground station via the Core-DHS.

So, have you sent a Raspberry Pi to space? Or anywhere else we wouldn’t expect a Raspberry Pi to go? Let us know in the comments!

The post Raspberry Pi in space! appeared first on Raspberry Pi.

Control a vintage Roland pen plotter with Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/control-vintage-roland-pen-plotter/

By refitting a vintage Roland DG DXY-990 pen plotter using Raspberry Pi, the members of Liege Hackerspace in Belgium have produced a rather nifty build that writes out every tweet mentioning a specific hashtag.

Liege Hackerspace member u/iooner first shared an image of the plotter yesterday, and fellow Redditors called for video of the project in action immediately.

Watch the full video here. And to see the code code for the project, visit the Liege Hackerspace GitHub.

The post Control a vintage Roland pen plotter with Raspberry Pi appeared first on Raspberry Pi.

Controlling a boom lift with a Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/controlling-a-boom-lift-with-a-raspberry-pi/

Do you have a spare Raspberry Pi lying around? And a Bluetooth games controller? Do you have access to boom lifts or other heavy machinery?

Well, then we most certainly (do not) have the project for you.

Allow us to introduce what is (possibly, probably, hopefully) the world’s first Raspberry Pi–controlled boom lift. Weighing in at 13,000lb, this is the epitome of DON’T try this at home.

Please don’t!

Raspberry Pi-controlled boom lift

Shared on Reddit over the weekend, u/Ccundiff12’s project received many an upvote and concerned comment, but, as the poster explains, hacking the boom is a personal project for personal use to fix a specific problem — thankfully not something built for the sake of having some fun.

Meet STRETCH. Circa 1989 Genie Boom that I bought (cheap) from a neighbor. I use it to trim trees around my property. Its biggest problem was that it always got stuck. It’s not really an off-road vehicle. It used to take two people to move it around… one to drive the lift, and the other to push it with the tractor when it lost traction. The last time it got stuck, I asked my wife to assist by driving one of the two…….. the next day I started splicing into the control system. Now I can push with the tractor & run the boom via remote!

Visit the original Reddit post for more information on the build. And remember: please do not try this at home.

The post Controlling a boom lift with a Raspberry Pi appeared first on Raspberry Pi.

Retrofit a vintage camera flash with a Raspberry Pi Camera Module

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/retrofit-vintage-camera-flash-with-camera-module/

Wanting to break from the standard practice of updating old analogue cameras with digital technology, Alan Wang decided to retrofit a broken vintage camera flash with a Raspberry Pi Zero W to produce a video-capturing action cam.

Raspberry Pi Zero Flash Cam Video Test

Full story of this project: https://www.hackster.io/alankrantas/raspberry-pi-zero-flash-cam-359875

By hacking a somewhat gnarly hole into the body of the broken flash unit, Alan fit in the Raspberry Pi Zero W and Camera Module, along with a few other components. He powers the whole unit via a USB power bank.

At every touch of the onboard touchpad, the retrofit camera films 12 seconds of footage and saves it as an MP4 file on the onboard SD card or an optional USB flash drive.

While the project didn’t technically bring the flash unit back to life — as the flash function is still broken — it’s a nice example of upcycling old tech, and it looks pretty sweet. Plus, you can attach it to your existing film camera to produce some cool side-by-side comparison imagery, as seen in the setup above.

For a full breakdown of the build, including the code needed to run the camera, check out the project’s Hackster.io page.

The post Retrofit a vintage camera flash with a Raspberry Pi Camera Module appeared first on Raspberry Pi.

Build your own Raspberry Pi night vision camera

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/build-your-own-raspberry-pi-night-vision-camera/

A Raspberry Pi Zero W, Pimoroni HyperPixel screen, and Raspberry Pi IR Camera Module are all you need to build this homemade night vision camera.

How to build a night vision camera

How to build a night vision camera, video showing the process and problems that I came across when building this camera

Raspberry Pi night vison camera

Built into the body of an old camera flash, Dan’s Raspberry Pi night vision camera is a homage to a childhood spent sneaking around the levels of Splinter Cell. Says Dan:

The iconic image from the game is the night vision goggles that Sam Fisher wears. I have always been fascinated by the idea that you can see in the dark and this formed the foundation of my idea to build a portable hand-held night vision piece of equipment.

The camera, running on Raspbian, boasts several handy functions, including touchscreen controls courtesy of the Pimoroni HyperPixel, realtime video and image capture, and a viewing distance of two to five metres.

It’s okay to FAIL

Embracing the FAIL (First Attempt In Learning) principle, Dan goes into detail about the issues he had to overcome while building the camera, which is another reason why we really enjoyed this project. It’s okay to fail when trying your hand at digital making, because you learn from your mistakes! Dan’s explanations of the struggles he faced and how he overcame them are 👌.

For a full rundown of the project and tips on building your own, check out its Hackster.io page.

The post Build your own Raspberry Pi night vision camera appeared first on Raspberry Pi.

Real-time train station departure board

Post Syndicated from Liz Upton original https://www.raspberrypi.org/blog/real-time-train-station-arrival-board/

All across the UK, you’ll find train departure boards on station platforms that look like this:

They’ve looked this way for as long as I can remember (before they were digital dot-matrix displays, they were made from those flappy bits of plastic with letters of the alphabet and numbers printed on them, which whirled round like a Rolodex; they still look very similar). If you’re a frequent train traveller in the UK, you probably have a weird emotional response to seeing one of these. Mine is largely one of panic about being late.

Some people have a more…benign relationship with trains than I do, like Chris Crocker-White, who has adapted a build tweeted by Chris Hutchinson to make a miniature departure board for his desk. Here’s the tweet that started it all:

Chris Hutchinson on Twitter

Pretty hyped about my most recent @Raspberry_Pi project – a realistic, real-time, train departure board I’ve open sourced the software over at: https://t.co/vGQzagsSpi Next step: find a case and make it a permanent fixture! https://t.co/HEXgzdH8TS

Chris C-W’s build is similar, but has a couple of very neat upgrades, including some back-end software work (his build runs in Docker on balenaCloud, to make configuration easier), and some work on the display, which he’s tweaked to use 1:1 pixel mapping of the fonts and avoid any scaling, so the tiny board looks more like the dot-matrix LED displays you’ll see when you visit the station. You can see the difference in the image below:


Chris seems to be using his board as a piece of desktop furniture, where it looks terrific, but model train or narrow-gauge enthusiasts should be all over this project too; it’s a lovely way to inject some realism into a miniature setup. You can find a very complete guide to making your own here.

Now, if you’ll excuse me, I have a train to catch.



The post Real-time train station departure board appeared first on Raspberry Pi.

Use PlayStation Buzz! controllers with a Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/use-playstation-buzz-controllers-with-a-raspberry-pi/

Buzz! was a favourite amongst my university housemates and me. With popular culture questions asked by an animated Jason Donovan, answered using real-life quiz controllers with a big red button, what’s not to like?

But, as with most of the tech available in the early 2000s, my Buzz! controllers now sit in a box somewhere, dusty and forgotten.

That’s why it is so goshdarn delightful to see PiMyLifeUp breathe new life into these awesome-looking games controllers.

Bringing Buzz! back

The tutorial uses the hidapi library to communicate with the controllers, allowing them to control functions through the Raspberry Pi, and the Raspberry Pi to control the LED within the big red button.

By the end of this tutorial, you will have learned how to read information about all your USB devices, learned how to read data that the devices are sending back and also how to write a library that will act as a simple wrapper to dealing with the device.

Aside from the Buzz! controllers, available on eBay or similar for a few pounds, you only need a Raspberry Pi and its essential peripherals to get started, as the controllers connect directly via USB — thanks, Buzz!

PiMyLifeUp’s tutorial is wonderfully detailed, explaining the hows and whys of the lines of code needed to turn your old Buzz! controllers into a quiz game written in Python that uses the coloured buttons to answer multiple-choice questions.

Guitar Hero, dance mats, Donkey Kong Bongos — what other gaming peripherals would you like to bring back to life?

The post Use PlayStation Buzz! controllers with a Raspberry Pi appeared first on Raspberry Pi.

Pulling shower thoughts from Reddit for a Raspberry Pi e-paper display

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/pulling-shower-thoughts-from-reddit-for-a-raspberry-pi-e-paper-display/

The Reddit users among you may already be aware of the Shower Thoughts subreddit. For those of you who aren’t, Shower Thoughts is where people go to post the random epiphanies they’ve had about life, the universe, and everything. For example:

YouTuber ACROBOTIC is a fan of the Shower Thoughts subreddit. So much so that they decided to program their Raspberry Pi to update an e-paper HAT with the subreddit’s top posts from the last hour.

Raspberry Pi 4 Scrape JSON Data w/ Python And Display It On e-Paper | reddit /r/showerthoughts

$2 for PCB prototype (any color): https://jlcpcb.com/ ========== * Your support helps me post videos more frequently: https://www.patreon.com/acrobotic https://www.paypal.me/acrobotic https://buymeacoff.ee/acrobotic BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM ========== * Find me on: https://twitter.com/acrobotic https://facebook.com/acrobotic https://instagram.com/acrobotic ========== * Parts & supplies: https://acrobotic.com/shop https://amazon.com/shops/acrobotic ========== In another video we setup a Raspberry Pi to control an e-Paper/e-Ink HAT and running demo code.

For their build, they used a three-colour e-paper display, but you can use any e-paper add-on for Raspberry Pi to recreate the project. They also used Raspberry Pi 4, but again, this project will work with other models — even Raspberry Pi Zero W.

ACROBOTIC created an image to frame the Shower Thoughts posts, which they uploaded to their Raspberry Pi as a .bmp file. They altered prewritten code for using the e-paper display to display this frame image and the various posts.

Adding .json to the URL of the appropriate Shower Thoughts page allows access to the posts in JSON format. Then a request can be set up to pull the data from this URL.

ACROBOTIC goes into far more detail in their video, and it’s a great resource if you’re looking to try out working with JSON files or to learn how to pull data from Reddit.

Find more projects using e-paper displays for you to recreate in our handy guide.

The post Pulling shower thoughts from Reddit for a Raspberry Pi e-paper display appeared first on Raspberry Pi.

Raspberry Pi Sense HAT impact recorder for your car

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-sense-hat-impact-recorder-for-your-car/

Let the accelerometer and gyroscope of your Raspberry Pi Sense HAT measure and record impact sustained in a car collision.

Raspberry Pi Sense HAT

The Raspberry Pi Sense HAT was originally designed for the European Astro Pi Challenge, inviting schoolchildren to code their own experiments for two Raspberry Pi units currently orbiting the Earth upon the International Space Station.

The Sense HAT is kitted out with an 8×8 RGB LED matrix and a five-button joystick, and it houses an array of useful sensors, including an accelerometer and gyroscope.

And it’s these two sensors that Instructables user Ashu_d has used for their Impact Recorder for Vehicles.

Impact Recorder for Vehicles

“Impact Recorder is designed to record impact sustained to a vehicle while driving or stationary,” Ashu_d explains. Alongside the Raspberry Pi and Sense HAT, the build also uses a Raspberry Pi Camera Module to record footage, saving video and/or picture files to the SD card for you to examine after a collision. “The impacts are stored in the database in the form of readings as well as video/picture.”

By following Ashu_d’s Instructables tutorial, you’re essentially building yourself a black box for your car, recording impact data as the Sense HAT records outside the standard parameters of your daily commute.

“Upon impact, remote users can be verified in real time,” they continue, “and remote users can then watch the saved video or take remote access to the Pi Camera Module and watch events accordingly.”

Ashu_d goes into great detail on how to use Node-RED and MQTT to complete the project, how you can view video in real time using VLC, and how each element works to create the final build over at Instructables.

The post Raspberry Pi Sense HAT impact recorder for your car appeared first on Raspberry Pi.

Playing Snake on a Raspberry Pi word clock

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/playing-snake-on-a-raspberry-pi-word-clock/

I have a soft spot for Raspberry Pi word clocks. True, they may not be as helpful as your standard clock face if you need to tell the time super quickly, but at least they’re easier to read than this binary clock built by engineerish.

“But Alex,” I hear you cry, “word clocks are so done. We’re over them. They’re so 2018. What’s so special about a word clock that you feel it to be worthy of a blog post?”

And the answer, dear reader, is Snake, the best gosh darn game to ever grace the screen of a mobile phone, ever — sorry, Candy Crush.

If you’re looking to build a word clock using your Raspberry Pi, here’s a great tutorial from Benedikt Künzel. And, if you’re looking to upgrade said word clock to another level and introduce it to Snake, well, actually, there isn’t a tutorial for that, yet, but there’s a whole conversation going on about it on Reddit, so you should check that out.

There is, however, a tutorial for coding your own game of Snake Slug on the Raspberry Pi Sense HAT here. So give that a whirl!

Until tomorrow, fair reader, adieu.

The post Playing Snake on a Raspberry Pi word clock appeared first on Raspberry Pi.

Rather lovely Raspberry Pi time lapses

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/rather-lovely-raspberry-pi-time-lapses/

Having just sat and watched this gorgeous time lapse of a Finnish lake, we thought it would be nice to finish off the working week with a collection of lovely Raspberry Pi Camera Module time lapses.

Summer over a Finnish lake

Summer time lapse over a Finnish lake.

Time lapse over a Finnish lake from July 2019. Shot with a DIY all-weather HDR time-lapse camera built from ZWO ASI 224MC and Raspberry Pi 3. The camera was built to function as an all-sky camera for recording the night sky year round but since in July the stars were not visible in Finland I decided to test it aimed horizontally over a lake and was positively surprised about the results.

Time-lapse over a Finnish lake from July 2019. Shot with a DIY all-weather HDR time-lapse camera built from ZWO ASI 224MC and Raspberry Pi 3.

Six days of cress growth

Cress Seeds Growing Raspberry Pi Time Lapse Video

Filmed over 6 days using a Raspberry Pi Zero W and Raspberry Pi Camera. Once photo taken every 5 minutes and then played back at 24 fps. I removed the night time photos and then the images were stitched together using the ‘Stop Motion’ app on an iPhone.

Filmed over 6 days using a Raspberry Pi Zero W and Raspberry Pi Camera. Once photo taken every 5 minutes and then played back at 24 fps.

Growing salad

Salad Growth | Timelapse | Raspberry Pi Camera | PiMeetsPlants

Timelapse about salad growth. Period of Picture Making: 03-04 to 02-05-2016 Camera has shot 2087 pictures in a distance of 20 minutes. Camera: Raspberry Pi Camera Module Music: Valesco – Stay With Me: http://soundcloud.com/valesco_official/stay-with-me Valesco on Soundcloud: http://soundcloud.com/valesco_official My Links: Website: https://pimeetsplants.com Twitter: https://twitter.com/PiMeetsPlants Google+: https://plus.google.com/+Pimeetsplants

I think I have a thing for time-lapse videos of plant growth. They’re just so friggin’ cool!

Skyline time lapse

Skyline Timelapse: Day to Night l SainSmart FOV160° Raspberry Pi Camera

More info : https://www.sainsmart.com/products/wide-angle-fov160-5-megapixel-camera-module-for-raspberry-pi FOLLOW US Twitter: https://twitter.com/Sain_Smart Facebook: https://www.facebook.com/SainSmart/ Instagram: https://www.instagram.com/sainsmart/

A time lapse of slime


Summer Project 2018 – Computational Arts MA, Goldsmiths University London. Time-lapse footage of Physarum Polycephalum captured with Raspberry Pi and IR camera, slit-scan program in Open Frameworks.

Summer Project 2018 – Computational Arts MA, Goldsmiths University London. Time-lapse footage of Physarum Polycephalum captured with Raspberry Pi and IR camera, slit-scan program in Open Frameworks.

Setting up the Raspberry Pi Store, Cambridge

Setting up the Raspberry Pi Shop, Cambridge

Given that we had access to a bunch of Raspberry Pis, we thought that we should use some of them to get some timelapse footage of the shop being set up. Read more about the Raspberry Pi shop on our blog: http://rpf.io/ytstoreblog

We couldn’t help ourselves. When the time came to set up the Raspberry Pi retail store in Cambridge, we just had to install a time-lapse camera in the corner.


While this time lapse wasn’t taken with a Raspberry Pi Camera Module, the slider moving the camera was controlled using Raspberry Pi. That counts, right?

The Burren

The Burren is a karst landscape region in north-west Co. Clare in Ireland. It is one of the largest karst regions in Europe. I have been photographing The Burren over the last 5 years, and recently got into time lapse photography. The Burren was an obvious place for me to do this first video.

The Burren is a karst landscape region in north-west Co. Clare in Ireland. It is one of the largest karst regions in Europe. I have been photographing The Burren over the last 5 years, and recently got into time-lapse photography. The Burren was an obvious place for me to do this first video.

Your turn

Want to set up your own Raspberry Pi time-lapse camera? Our handy guide shows you how.

Do you have a time-lapse video you’d like to share with us? Then please post your link in the comments below.

The post Rather lovely Raspberry Pi time lapses appeared first on Raspberry Pi.

Build Demolition Man’s verbal morality ticketing machine

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/build-demolition-mans-verbal-morality-ticketing-machine/

In the 1993 action movie Demolition Man, Sylvester Stallone stars as a 1990s cop transported to the near-future. Technology plays a central role in the film, often bemusing the lead character. In a memorable scene, he is repeatedly punished by a ticketing machine for using bad language (a violation of the verbal morality statute).

In the future of Demolition Man, an always-listening government machine detects every banned word and issues a fine in the form of a receipt from a wall-mounted printer. This tutorial shows you how to build your own version using Raspberry Pi, the Google Voice API, and a thermal printer. Not only can it replicate detecting banned words, but it also doubles as a handy voice-to-paper stenographer (if you want a more serious use).

Prepare the hardware

We built a full ‘boxed’ project, but you can keep it simple if you wish. Your Raspberry Pi needs a method for listening, speaking, and printing. The easiest solution is to use USB for all three.

After prototyping using Raspberry Pi 4 and various USB devices, we settled on Raspberry Pi Zero W with a small USB mic and Pimoroni Speaker pHAT to save space. A Pico HAT Hacker allowed the connection of both the printer and Speaker pHAT, as they don’t share GPIO pins. This bit of space-saving means we could install the full assembly inside the 3D-printed case along with the printer.

Connect the printer

To issue our receipts we used a thermal printer, the kind found in supermarket tills. This particular model is surprisingly versatile, handling text and graphics.

It takes standard 2.25-inch (57mm) receipt paper, available in rolls of 15 metres. When printing, it does draw a lot of current, so we advise using a separate power supply. Do not attempt to power it from your Raspberry Pi. You may need to fit a barrel connector and source a 5V/1.5A power supply. The printer uses a UART/TTL serial connection, which neatly fits on to the GPIO. Although the printer’s connection is listed as being 5V, it is in fact 3.3V, so it can be directly connected to the ground, TX, and RX pins (physical pins 6, 8, 10) on the GPIO.

Install and configure Raspbian

Get yourself a copy of Raspbian Buster Lite and burn it to a microSD card using a tool like Etcher. You can use the full version of Buster if you wish. Perform the usual steps of getting a wireless connection and then updating to the latest version using sudo apt update && sudo apt -y upgrade. From a command prompt, run sudo raspi-config and go to ‘Interfacing options’, then ‘Enable serial’. When asked if you would like the login shell to be accessible, respond ‘No’. To the next question, ‘Would you like the serial port hardware to be enabled?’, reply ‘Yes’. Now reboot your Raspberry Pi.

Test the printer

Make sure the printer is up and running. Double-check you’ve connected the header to the GPIO correctly and power up the printer. The LED on the printer should flash every few seconds. Load in the paper and make sure it’s feeding correctly. We can talk to the printer directly, but the Python ‘thermalprinter‘ library makes coding for it so much easier. To install the library:

sudo apt install python3-pip
pip3 install thermalprinter

Create a file called printer.py and enter in the code in the relevant listing. Run the code using:

python3 printer.py

If you got a nice welcoming message, your printer is all set to go.

Test the microphone

Once your microphone is connected to Raspberry Pi, check the settings by running:


This utility configures your various sound devices. Press F4 to enter ‘capture’ mode (microphones), then press F6 and select your device from the list. Make sure the microphone is not muted (M key) and the levels are high, but not in the red zone.

Back at the command line, run this command:

arecord -l

This shows a list of available recording devices, one of which will be your microphone. Make a note of the card number and subdevice number.

To make a test recording, enter:

arecord --device=hw:1,0 --format S16_LE --rate 44100 -c1 test.wav

If your card and subdevice numbers were not ‘0,1’, you’ll need to change the device parameter in the above command.

Say a few words, then use CTRL+C to stop recording. Check the playback with:

aplay test.wav

Choose your STT provider

STT means speech to text and refers to the code that can take an audio recording and return recognised speech as plain text. Many solutions are available and can be used in this project. For the greatest accuracy, we’re going to use Google Voice API. Rather than doing the complex processing locally, a compressed version of the sound file is uploaded to Google Cloud and the text returned. However, this does mean Google gets a copy of everything ‘heard’ by the project. If this isn’t for you, take a look at Jasper, an open-source alternative that supports local processing.

Create your Google project

To use the Google Cloud API, you’ll need a Google account. Log in to the API Console at console.developers.google.com. We need to create a project here. Next to ‘Google APIs’, click the drop-down menu, then ‘New Project’. Give it a name. You’ll be prompted to enable APIs for the project. Click the link, then search for ‘speech’. Click on ‘Cloud Speech-to-Text API’, then ‘Enable’. At this point you may be prompted for billing information. Don’t worry, you can have up to 60 minutes of audio transcribed for free each month.

Get your credentials

Once the Speech API is enabled, the screen will refresh and you’ll be prompted to create credentials. This is the info our code needs to be granted access to the speech-to-text API. Click on ‘Create Credentials’ and on the next screen select ‘Cloud Speech-to-text API’. You’re asked if you’re planning to use the Compute Engine; select ‘no’. Now create a ‘service account’. Give it a different name from the one used earlier, change the role to ‘Project Owner’, leave the type of file as ‘JSON’, and click ‘Continue’. A file will be downloaded to your computer; transfer this to your Raspberry Pi.

Test Google recognition

When you’re happy with the recording levels, record a short piece of speech and save it as test.wav. We’ll send this to Google and check our access to the API is working. Install the Google Speech-To-Text Python library:

sudo apt install python3-pyaudio
pip3 install google-cloud-speech

Now set an environment variable that the libraries will use to locate your credentials JSON:


(Don’t forget to replace [FILE_NAME] with the actual name of the JSON file).

Using a text editor, create a file called speech_to_text.py and enter the code from the relevant listing. Then run it:

python3 speech_to_text.py

If everything is working correctly, you’ll get a text transcript back within a few seconds.

Live transcription

Amazingly, Google’s speech-to-text service can also support streaming recognition, so rather than capture-then-process, the audio can be sent as a stream, and a HTTP stream of the recognised text comes back. When there is a pause in the speech, the results are finalised, so then we can send the results to the printer. If all the code you’ve entered so far is running correctly, all you need to do is download the stenographer.py script and start it using:

python3 stenographer.py

You are limited on how long you can record for, but this could be coupled with a ‘push to talk’ button so you can make notes using only your voice!

Banned word game

Back to Demolition Man. We need to make an alarm sound, so install a speaker (a passive one that connects to the 3.5mm jack is ideal; we used a Pimoroni Speaker pHAT). Download the banned.py code and edit it in your favourite text editor. At the top is a list of words. You can change this to anything you like (but don’t offend anyone!). In our list, the system is listening for a few mild naughty words. In the event anyone mentions one, a buzzer will sound and a fine will be printed.

Make up your list and start the game by running:

python3 banned.py

Now try one of your banned words.

Package it up

Whatever you decide to use this project for, why not finish it up with a 3D-printed case so you package up the printer and Raspberry Pi with the recording and playback devices and create a portable unit? Ideal for pranking friends or taking notes on the move!

See if you can invent any other games using voice recognition, or investigate the graphics capability of the printer. Add a Raspberry Pi Camera Module for retro black and white photos. Combine it with facial recognition to print out an ID badge just using someone’s face. Over to you.

The MagPi magazine issue 84

This project was created by PJ Evans for The MagPi magazine issue 84, available now online, from your local newsagents, or as a free download from The MagPi magazine website.

The post Build Demolition Man’s verbal morality ticketing machine appeared first on Raspberry Pi.

Raspberry Pi internet kill switch

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/internet-kill-switch/

Control the internet in your home with this handy Raspberry Pi Zero W internet kill switch.

Internet Kill Switch!

It’s every teenager’s worst nightmare… no WIFI! I built a standalone wireless Internet Kill Switch that lets me turn the Internet off whenever I want. A Raspberry Pi Zero W monitors the switch and sends an alert via SSH over WIFI to my firewall where another script watches for the alert and turns the external interface off or on.

Internet in my home wasn’t really a thing until I was in my late teens, and even then, there wasn’t that much online fun to be had. Not like there is now, with social media and online gaming and the YouTubes.

If I’d had access to the internet of today in my teens, I’m pretty sure I’d have never been off the thing. And that’s where a button like this would have been a godsend for my mother.

Shared by Nick Donaldson on his YouTube account, the Internet Kill Switch is a Raspberry Pi Zero W–powered emergency button that turns off all internet access in the house — perfect for keeping online activities to a reasonable level. Nick explains:

It’s every teenager’s worst nightmare… no WiFi! I built a standalone wireless Internet Kill Switch that lets me turn the internet off whenever I want. A Raspberry Pi Zero W monitors the switch and sends an alert via SSH over WiFi to my firewall, where another script watches for the alert and turns the external interface off or on. I have challenged the boys to hack it…

The Raspberry Pi Zero W sits snug within the button casing and is powered by a battery. And so that the battery can be continuously recharged, the device sits on a wireless charging pad. Hence, the button is juiced up and ready to go at any time.

I can pick it up, walk around at any time, threaten the teenagers, and shut down the internet whenever I want, hahaha!

While internet service providers are starting to roll out smartphone apps that offer similar functionality, we like the physicality of this button.

Great job, Nick! Please don’t turn off our internet.

The post Raspberry Pi internet kill switch appeared first on Raspberry Pi.

Take a virtual reality tour of the Raspberry Pi Store

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/take-a-virtual-reality-tour-of-the-raspberry-pi-store/

Some months back, we received an email from Rob Chinery, explaining that he’d created a virtual reality (VR) tour of the Raspberry Pi Store, Cambridge.

When I heard about the new Raspberry Pi store in Cambridge, I was immediately impressed by the design and aesthetic of the store. I thought it would be a great project to add to my portfolio, so I put together a quick virtual experience based around the store.

Here’s a video for those without VR headsets:

Raspberry Pi Store VR Tour With Narration

A narrated VR tour of the Raspberry Pi Store in Cambridge, U.K.

Cool, right?

Based in New York, Rob hadn’t visited the store at the time and created the walk-through using images and video content that he’d found online.

I had to rely on a few press images from the opening to make the model (which did make things a bit difficult). One of the reasons I decided to build the app is to allow us Pi fans on other continents to virtually experience the store.

Since our initial communications in April, Rob has now managed to visit the store in the flesh, as he explained on Reddit.

Rob has built the tour specifically for mobile VR platforms, and it is available for free on Oculus Go and Gear VR. You can also view it via Testflight on Android and iOS using a cardboard viewer. You can try the Raspberry Pi Store VR tour here. And, if you’re in need of a mobile VR experience for your architectural projects, Rob’s your guy!

In the words of Liz, colour us impressed.

The post Take a virtual reality tour of the Raspberry Pi Store appeared first on Raspberry Pi.

Raspberry Pi Zero white noise night light

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-zero-white-noise-night-light/

Many members of the Raspberry Pi team have small children. As such, many members of the Raspberry Pi team are constantly tired and walking around like zombies — loving, productive zombies humming Baby Shark while scrubbing food stains off their clothing.

Whenever a Raspberry Pi project appears on social media that aids parents do the simple things in life — such as getting sleep or finding time to eat, breathe, shower, etc. — it’s an instant hit around the office.

White noise night light for unrelenting children

This is why, while setting up my desk this morning, I heard an “Oooo, white noise nightlight!” cheer from behind me and turned to find Liz checking out this new project from Instructables maker Cary Ciavolella.

This is a project I made for my 1-year-old for Christmas. Honestly, though, it was a sanity present for me and my wife. It’s a white noise machine that can play multiple different sounds selected through a web interface, and also incorporates lights that change color based on the time (red lights mean be in bed, yellow mean you can play in your room, and green means it’s ok to come out). Since my son is too young to tell time, a color-based night light seemed like a really good idea.

As Cary has kindly provided all the code for the project, it’s a fairly easy build to replicate at home and looks like it’ll do the trick.

The device uses a Raspberry Pi Zero W, Blinkt, and Speaker pHAT from Pimoroni, and a handful of wires. Building it requires some basic soldering skills. If you’re unsure about your soldering skills, our handy video guide is all you need to get started.

How to solder your Raspberry Pi header pins

Learn the basics of how to solder components together, and the safety precautions you need to take.

The white noise files are selectable via a flask webserver hosted on the Raspberry Pi that parents can control via their smart device. Cary’s write-up for the project is so wonderfully detailed that any parent looking to build their own device can easily replace the white noise files with any MP3s of their choice.

Here’s the Instructables tutorial to help you get started on your own.

Remix your own

What’s so wonderful about this project is that it’s a great example of a build that is easily hackable to fit your own requirements. If you don’t have a child, it’s still a great notification device for your day-to-day routine, or a nice tool to remind a relative to take medication based on a colour system. There’s so much you can do using Cary’s build as the bare bones, which is why we think it’s awesome, and you should too.

The post Raspberry Pi Zero white noise night light appeared first on Raspberry Pi.


Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/its-so-hot-over-here-were-melting-send-help/

[Today’s temperatures are set to reach a whopping 38ºC/101ºF degrees in the UK, and none of us know what to do with ourselves. This doesn’t happen here and we have nothing prepared: we live in a society devoid of air conditioning, and we’re are unable to comprehend weather conditions more friendly than a slight chill and drizzle.

I can’t handle it. I have desk fan, but it’s in a cupboard somewhere, covered in dust and sadness. My local corner shop is already out of ice pops and ice cube trays. And anyway, I believe the tarmac on the road outside my house has melted and will suck down anything that dares step or drive on it.

I think I’m melting too. I feel sloshy, and, while I’m not 100% sure this is scientifically possible, I believe I may be partly barbequed. If someone presented me at a restaurant, I would probably be described as medium rare.

So yes, it’s hot. Very hot. It only makes sense that we share a Raspberry Pi project that fits with this theme: here’s an article from the latest issue of The MagPi magazine, out today, that shows you how Ishmael Vargas built his own smart fan for his home in hot and humid Chicago.

It’s a very clever idea, and one we wish we’d thought up ourselves before today’s sudden heatwave/opening of the Hell Mouth.

Enjoy — Alex]

When you need to keep your home cool during the summer months, a smart window fan could be just the thing.

Summer days, and nights, can be uncomfortably hot and humid in the Chicago area. As the sun goes down, the outside temperature drops, but homes may remain hot. This is where a window fan comes in useful, blowing cooler air into the house. Last summer, Ishmael Vargas was using a small window fan upstairs and, after turning it on in the afternoon, he found he had to get up in the middle of the night to turn it off. “That is when I thought there must be a better way to control this fan,” he recalls, “and I started putting this project together.”

Viewable via VNC on a smartphone, the program window features temperature data and control buttons.

As he was already using a DHT22 temperature and humidity sensor for another project, he opted to use that, connected to a Raspberry Pi Zero running a Python program, to monitor the room temperature. This is then compared with the external temperature; if the latter is cooler, the window fan is turned on via a smart WiFi power plug (TP-Link HS100) — a much simpler method than wiring the fan up to a relay.

Weather report

To keep things simple, Ishmael opted to source the outdoor temperature from Weather.com (The Weather Channel) using the pywapi Python library, rather than wiring up an external sensor. “The temperature provided by Weather.com as compared to the temperature in my car could differ by one or two degrees. This is close enough for this project,” he explains. “In other parts of the world or rural areas where they do not have as many weather stations, an outdoor sensor might be required.”

A smart WiFi socket is used to turn the window fan on and off.

One issue he discovered was that in the early morning, the fan could end up blowing warm air into the house. “Depending on the size of the fan, the size of the room, and the house materials, the inside temperature might never be as cool as outside,” he says. “For example, if the temperature outside is 65 °F (18°C), the temperature inside might only drop to 67 °F (19.5°C) through the night. As the temperature outside starts to climb, you want to keep the fan off.” This resulted in him adding an ‘inhibit’ mode to turn the fan off at 6am.

Remote control

Rather than having the fan program run automatically on bootup, Ishmael opted to start and control it manually via an Android smartphone. The latter runs the VNC Viewer app, enabling remote access to Raspberry Pi’s desktop, on which there is a shortcut to start the fan application; this then displays a Pygame window with temperature information and control buttons.

The DHT22 sensor is connected to power, ground, and GPIO 4 pins on a Raspberry Pi Zero — a 10kΩ resistor is recommended.

“The fan application has two buttons to change the [desired temperature] set-point up or down,” reveals Ishmael. “Also, the button on the upper right is to close the application and return to the desktop.” His aim is to have more than one project running on his Raspberry Pi, and have a desktop shortcut for each application.

While the original project used a single fan, he has since modified it to add another. “I have been reading that two fans are required for best performance,” he says. “One to blow in and another to blow out.”

This certainly is a cool project, in more than one way. If you’d like to have a go at building a similar system, you can read Ishmael’s Hackster guide and check out his GitHub repo for the code.

You should read The MagPi magazine

The latest edition of The MagPi magazine is out today, packed full of Raspberry Pi goodness. If you’re new to The MagPi magazine, welcome! As with all publications produced by Raspberry Pi Press, today’s new issue is available as a free download on The MagPi website, as well as in physical form from your local newsagent, the Raspberry Pi Store in Cambridge, or the Raspberry Pi Press online store.

Subscribers to The MagPi magazine get discounts and free stuff, and anyone purchasing any of our publications with actual currency will help fund the production of the magazine as well as the charitable work of the Raspberry Pi Foundation.

The post IT’S SO HOT OVER HERE. WE’RE MELTING. SEND HELP. appeared first on Raspberry Pi.

Historical high-resolution graphics on Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/historical-high-resolution-graphics-on-raspberry-pi/

Raspberry Pi Trading engineer James Hughes recently pointed out a project to us that he’d found on the Raspberry Pi forum. Using a Raspberry Pi, forum member Rene Richarz has written a Tektronix 4010, 4013, 4014, 4015, and ARDS terminal emulator. The project sounded cool, but Helen and I didn’t 100% get it, so we asked James to write an introduction for us. You can find that below, followed by the project itself. James’s intro is amazing, because, despite this heat messing with my concentration, I understand the project now! That James – what a treasure. And here he is:

Those of a certain age will remember the vector graphics display of arcade games like Battlezone and Asteroids, and the subsequent colour displays of Star Wars and Tempest. Even earlier than these games came the less sophisticated Tektronic storage tube terminals used by the pioneers of computer graphics, combined with the PDP-11s and Vax’s that were the staple of computer graphics labs of the era.

Unlike the raster displays that everyone uses now, these terminals used a steerable electron beam (the ‘write gun’) to draw lines directly on the phosphor of the monitor, which were kept illuminated by a secondary ‘flood gun’. These devices had very high resolution, up to 1024×1024 pixels, but the big problem was that you could not erase just a bit of the display — you had to erase the whole image!

Rene Richarz’s project emulates these fascinating old displays, even down to the speed of drawing: because the display needed to be charged, the electron gun could only travel at a limited speed of 1500–4000 vector inches/second!

Once memory prices started dropping, the cost of raster displays also dropped significantly, meaning these early computer graphics vector displays were consigned to the annals of history. But their memory lives on, not only in the project we see here but in many of the algorithms and techniques developed in those early years that are still used today.

PiDP-11 with tek4010 Tektronix 4014 emulator

This video shows the blinking PiDP-11 (https://obsolescence.wixsite.com/obsolescence) running the historical 2.11 BSD Unix (https://github.com/rricharz/pidp11-2.11bsd) with the Tektronix 4014 emulator tek4010 (https://github.com/rricharz/Tek4010). Late 1970s Blinkenlight action and storage tube display action.

As Rene explains on the GitHub repo, his project “makes an effort to emulate the storage tube display of the Tektronix 4010, including the bright drawing spot. It can be used to log into a historical Unix system such as 2.11 BSD on the PiDP-11 or a real historical system. It can also be used to display historical plot data.”

You can see more information on the project, and join in the community discussion, on our forum, and find all the relevant code and instructions for creating your own on GitHub. And if you’d like a primer on how the bistable storage CRTs that Rene is emulating work, you could do worse than take a look at how Tektronix explained it to their customers in the July 1972 issue of Tekscope magazine.

We’ll close with this underappreciated reflection on the virtues of vector displays:

Yes raster is faster, but raster is vaster, and vector just seems more correcter.
Reproduced from old.carto.net; attributed to Dana Tomlin, 1990

The post Historical high-resolution graphics on Raspberry Pi appeared first on Raspberry Pi.