Tag Archives: raspberry pi 3

Raspberry Pi mineral oil tank with added pizzazz

via Raspberry Pi

This isn’t the first mineral oil bath we’ve seen for the Raspberry Pi, but it’s definitely the first we’ve seen with added fish tank decorations.

Using the see-through casing of an old Apple PowerMac G4, Reddit user u/mjh2901 decided to build a mineral oil tank for their Raspberry Pi, and it looks fabulous. Renamed Apple Pi, this use of mineral oil is a technique used by some to manage the heat produced by tech. Oil is able to transfer heat up to five times more efficiently than air, with some mineral oil projects using a separate radiator to dissipate the heat back into the air.

So, how did they do it?

“Started with a PowerMac G4 case I previously used as a fish tank, then a candy dish. I had cut a piece of acrylic and glued it into the bottom.”

They then placed a Raspberry Pi 3 attached to a 2-line 16 character LCD into the tank, along with various decorations, and began to fill with store-bought mineral oil. Once full, the project was complete, the Raspberry Pi forever submerged.

You can find more photos here. But, one question still remains…

…who would use an old fish tank as a candy bowl?! 🤢

The post Raspberry Pi mineral oil tank with added pizzazz appeared first on Raspberry Pi.

Record the last seven seconds of everything you see

via Raspberry Pi

Have you ever witnessed something marvellous but, by the time you get your camera out to record it, the moment has passed? ‘s Film in the Past hat-mounted camera is here to save the day!

Record the past

As 18-year-old student Johan explains, “Imagine you are walking in the street and you see a meteorite in the sky – obviously you don’t have time to take your phone to film it.” While I haven’t seen many meteorites in the sky, I have found myself wishing I’d had a camera to hand more than once in my life – usually when a friend trips over or says something ridiculous. “Fortunately after the passage of the meteorite, you just have to press a button on the hat and the camera will record the last 7 seconds”, Johan continues. “Then you can download the video from an application on your phone.”

Johan’s project, Film in the Past, consists of a Raspberry Pi 3 with USB camera attached, mounted to the peak of a baseball cap.

The camera is always on, and, at the press of a button, will save the last seven seconds of footage to the Raspberry Pi. You can then access the saved footage from an application on your smartphone. It’s a bit like the video capture function on the Xbox One or, as I like to call it, the option to record hilarious glitches during gameplay. But, unlike the Xbox One, it’s a lot easier to get the footage off the Raspberry Pi and onto your phone.

Fancy building your own? The full Python code for the project can be downloaded via GitHub, and more information can be found on Instructables and Johan’s website.

The post Record the last seven seconds of everything you see appeared first on Raspberry Pi.

Raspberry Pi underwater camera drone | The MagPi 80

via Raspberry Pi

Never let it be said that some makers won’t jump in at the deep end for their ambitious experiments with the Raspberry Pi. When Ievgenii Tkachenko fancied a challenge, he sought to go where few had gone before by creating an underwater drone, successfully producing a working prototype that he’s now hard at work refining.

Inspired by watching inventors on the Discovery Channel, Ievgenii has learned much from his endeavour. “For me it was a significant engineering challenge,” he says, and while he has ended up submerging himself within a process of trial-and-error, the results so far have been impressive.

Pi dive

The project began with a loose plan in Ievgenii’s head. “I knew what I should have in the project as a minimum: motions, lights, camera, and a gyroscope inside the device and smartphone control outside,” he explains. “Pretty simple, but I didn’t have a clue what equipment I would be able to use for the drone, and I was limited by finances.”

Bearing that in mind, one of his first moves was to choose a Raspberry Pi 3B, which he says was perfect for controlling the motors, diodes, and gyroscope while sending video streams from a camera and receiving commands from a control device.

The Raspberry Pi 3 sits in the housing and connects to a LiPo battery that also powers the LEDs and motors

“I was really surprised that this small board has a fully functional UNIX-based OS and that software like the Node.js server can be easily installed,” he tells us. “It has control input and output pins and there are a lot of libraries. With an Ethernet port and wireless LAN and a camera, it just felt plug-and-play. I couldn’t find a better solution.”

The LEDs are attached to radiators to prevent overheating, and a pulse driver is used for flashlight control

Working with a friend, Ievgenii sought to create suitable housing for the components, which included a twin twisted-pair wire suitable for transferring data underwater, an electric motor, an electronic speed control, an LED together with a pulse driver, and a battery. Four motors were attached to the outside of the housing, and efforts were made to ensure it was waterproof. Tests in a bath and out on a lake were conducted.

Streaming video

With a WiFi router on the shore connected to the Raspberry Pi via RJ45 connectors and an Ethernet cable, Ievgenii developed an Android application to connect to the Raspberry Pi by address and port (“as an Android developer, I’m used to working with the platform”). This also allowed movement to be controlled via the touchscreen, although he says a gamepad for Android can also be used. When it’s up and running, the Pi streams a video from the camera to the app — “live video streaming is not simple, and I spent a lot of time on the solution” — but the wired connection means the drone can only currently travel as far as the cable length allows.

The camera was placed in this transparent waterproof case attached to the front of the waterproof housing

In that sense, it’s not perfect. “It’s also hard to handle the drone, and it needs to be enhanced with an additional controls board and a few more electromotors for smooth movement,” Ievgenii admits. But as well as wanting to base the project on fast and reliable C++ code and make use of a USB 4K camera, he can see the future potential and he feels it will swim rather than sink.

“Similar drones are used for boat inspections, and they can also be used by rescue squads or for scientific purposes,” he points out. “They can be used to discover a vast marine world without training and risks too. In fact, now that I understand the Raspberry Pi, I know I can create almost anything, from a radio electronic toy car to a smart home.”

The MagPi magazine

This article was lovingly borrowed from the latest issue of The MagPi magazine. Pick up your copy of issue 80 from your local stockist, online, or by downloading the free PDF.

Subscribers to The MagPi also get a rather delightful subscription gift!

The post Raspberry Pi underwater camera drone | The MagPi 80 appeared first on Raspberry Pi.

Raspberry Pi vs a Raspberry Pi–powered escape room

via Raspberry Pi

A few Mondays ago, the Raspberry Pi North America team visited a very special, Raspberry Pi–powered Escape Room in San Francisco. Run by Palace Games, the Edison Escape Room is an immersive experience full of lights, sensors, and plenty of surprises. This is the team’s story of how they entered, explored, and ultimately escaped this room.

At World Maker Faire this year, our very own social media star Alex Bate met Jordan Bunker, one of the Production Artists at Palace Games. Emails were sent, dates arranges, and boom, the Raspberry Pi North America team had to face the Edison Escape Room!

Escape rooms

In case you’re not familiar, an escape room is a physical adventure game in which players solve a series of puzzles and riddles using clues, logic, and strategy to complete the game’s objectives. Many escape room designers use physical computing to control the many sensors and triggers involved in the player experience.

Palace Games Edison Escape Room

The team vs Edison

Upon entering the Edison Escape Room, my team and I quickly realized that we were within a complex system built like a giant computer! So even though it was our first-ever time in an escape room, that would not be a disadvantage for us.

Palace Games Edison Escape Room

Our goal was to accomplish a variety of tasks, including solving many puzzles, looking for hidden clues when anything could be a clue, completing circuits, moving with the floor, and getting a bit of a workout.

The true test, however, was how well we communicated and worked with each other — which we did an awesome job at: at times we split up the work to effectively figure out the many different puzzles and clues; there was a lot “try it this way”, “maybe it means this”, and “what if it’s supposed to go that way” being yelled across the room. Everyone had their Edison thinking hat on that day, and we were so ecstatic when we completed the last challenge and finally escaped!

Palace Games Edison Escape Room

The inner workings

After escaping the room, we got the chance to explore behind the scenes. We found a local network of many Raspberry Pis that are coordinated by a central Raspberry Pi server. The Python Banyan framework is the connective tissue between the Raspberry Pis and their attached components.

Palace Games Edison Escape Room

The framework facilitates the communication between the Pis and the central server via Ethernet. The Raspberry Pis are used to read various types of sensors and to drive actuators that control lights, open doors, or play back media. And Raspberry Pis also drive the control panels that employees use to enter settings and keep tabs on the game.

“Raspberry Pi keeps us going. It’s the heart and soul of our rooms.”  – Elizabeth Sonder, Design Engineer & Production Manager

We highly recommend heading over to Palace Games and exploring one of their many escape rooms. It’s a great team-building exercise and definitely allows you to learn a lot about the people you work with. Thank you to the Palace Games team for hosting us, and we hope to return and escape one of their rooms again soon!

The post Raspberry Pi vs a Raspberry Pi–powered escape room appeared first on Raspberry Pi.

Three-factor authentication is the new two-factor authentication

via Raspberry Pi

Two-factor authentication continues to provide our online selves with more security for our email and online banking. Meanwhile, in the physical world, protecting our valuables is now all about three-factor authentication.

A GIF of a thumbprint being scanned for authentication - three-factor authentication

Not sure what I mean? Here’s a video from Switched On Network that demonstrates how to use a Raspberry Pi to build a three-factor door lock comprised of an RFID keyring, 6-digit passcode, and one-time access code sent to your mobile phone.

Note that this is a fairly long video, so feel free to skip it for now and read my rather snazzy tl;dr. You can come back to the video later, with a cup of tea and 20 minutes to spare. It’ll be worth it, I promise.

Build a Raspberry Pi Smart Door Lock Security System with Three Factor Authentication!

https://amzn.to/2A98EaZ (UK) / https://amzn.to/2LDlxyc (US) – Get a free audiobook with a 30-day trial of Audible from Amazon! Build the ultimate door lock system, effectively turning your office or bedroom into a high-security vault!

The tl;dr of three-factor door locks by Alex Bate

To build Switched On Network’s three-factor door lock, you need to source a Raspberry Pi 3, a USB RFID reader and fob, a touchscreen, a electronic door strike, and a relay switch. You also need a few other extras, such as a power supply and a glue gun.

A screenshot from the three-factor authentication video of a glue gun

Once you’ve installed the appropriate drivers (if necessary) for your screen, and rotated the display by 90 degrees, you can skip ahead a few steps by installing the Python script from Switched On Network’s GitHub repo! Cheers!

A screenshot from the three-factor authentication video of the screen attached to the Pi in portrait mode

Then for the physical build: you need to attach the door strike, leads, and whatnot to the Pi — and all that together to the door and door frame. Again, I won’t go into the details, since that’s where the video excels.

A screenshot from the video of the components of the three-factor authentication door lock

The end result is a superior door lock that requires you to remember both your keys and your phone in order to open it. And while we’d never suggest using this tech to secure your house from the outside, it’s a perfect setup for inside doors to offices or basement lairs.

A GIF of Dexter from Dexter's Laboratory

Everyone should have a lair.

Now go watch the video!

The post Three-factor authentication is the new two-factor authentication appeared first on Raspberry Pi.

I feel the earth move under my feet (in Michigan)

via Raspberry Pi

The University of Michigan is home to the largest stadium in the USA (the second-largest in the world!). So what better place to test for spectator-induced seismic activity than The Big House?

The Big House stadium in Michigan

The Michigan Shake

University of Michigan geology professor Ben van der Pluijm decided to make waves by measuring the seismic activity produced during games at the university’s 107601 person-capacity stadium. Because earthquakes are (thankfully) very rare in the Midwest, and therefore very rarely experienced by van der Pluijm’s introductory geology class, he hoped this approach would make the movement of the Earth more accessible to his students.

“The bottom line was, I wanted something to show people that the Earth just shakes from all kinds of interactions,” explained van der Pluijm in his interview with The Michigan Daily. “All kinds of activity makes the Earth shake.”

The Big House stadium in Michigan

To measure the seismic activity, van der Pluijm used a Raspberry Pi, placing it on a flat concrete surface within the stadium.

Van der Pluijm installed a small machine called a Raspberry Pi computer in the stadium. He said his only requirements were that it needed to be able to plug into the internet and set up on a concrete floor. “Then it sits there and does its thing,” he said. “In fact, it probably does its thing right now.”

He then sent freshman student Sahil Tolia to some games to record the moments of spectator movement and celebration, so that these could be compared with the seismic activity that the Pi registers.

We’re not sure whether Professor van der Pluijm plans on releasing his findings to the outside world, or whether he’ll keep them a close secret with his introductory students, but we hope for the former!

Build your own Raspberry Pi seismic activity reader

We’re not sure what other technology van der Pluijm uses in conjunction with the Raspberry Pi, but it’s fairly easy to create your own seismic activity reader using our board. You can purchase the Raspberry Shake, an add-on board for the Pi that has vertical and horizontal geophones, MEMs accelerometers, and omnidirectional differential pressure transducers. Or you can fashion something at home, for example by taking hints from this project by Carlo Cristini, which uses household items to register movement.

The post I feel the earth move under my feet (in Michigan) appeared first on Raspberry Pi.